Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 113 kB / 19.04 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 201.9 kB / 22.22 MB, free: 52 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 225.6 MB / 250.8 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.91 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3004, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003778/0.3042, allocations: 2.17 MB / 423 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3054, allocations: 0.5493 MB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3055, allocations: 4 kB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.3056, allocations: 27.72 kB / 423.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3057, allocations: 51.48 kB / 423.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3059, allocations: 63.92 kB / 423.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.3063, allocations: 231 kB / 424 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.3066, allocations: 57.66 kB / 424 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3067, allocations: 83.72 kB / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3069, allocations: 99.59 kB / 424.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.3069, allocations: 20 kB / 424.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.733e-05/0.307, allocations: 20 kB / 424.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.307, allocations: 51.83 kB / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3071, allocations: 103.5 kB / 424.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.3074, allocations: 232.3 kB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3074, allocations: 0 / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3074, allocations: 4 kB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.3074, allocations: 4 kB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008663/0.3083, allocations: 498.6 kB / 425.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3083, allocations: 12.03 kB / 425.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.3084, allocations: 20.8 kB / 425.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.3088, allocations: 216.1 kB / 425.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3088, allocations: 12.38 kB / 425.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.3088, allocations: 24.31 kB / 425.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.3092, allocations: 181.8 kB / 425.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3092, allocations: 3.984 kB / 425.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.3093, allocations: 12 kB / 425.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3093, allocations: 4 kB / 425.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.3096, allocations: 139.9 kB / 425.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.311, allocations: 0.7547 MB / 426.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.3114, allocations: 158.4 kB / 426.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.3116, allocations: 81.08 kB / 426.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3116, allocations: 4 kB / 426.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.3117, allocations: 42.56 kB / 426.8 MB, free: 9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3117, allocations: 0 / 426.8 MB, free: 9 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005562/0.3122, allocations: 177.6 kB / 426.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3123, allocations: 59.28 kB / 427 MB, free: 8.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3124, allocations: 149.8 kB / 427.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3124, allocations: 25.7 kB / 427.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3125, allocations: 140.3 kB / 427.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.3126, allocations: 55.53 kB / 427.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.3126, allocations: 29.7 kB / 427.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3128, allocations: 322.8 kB / 427.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.3129, allocations: 51.97 kB / 427.7 MB, free: 7.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3131, allocations: 69.69 kB / 427.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.3133, allocations: 121.7 kB / 427.9 MB, free: 7.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3133, allocations: 0 / 427.9 MB, free: 7.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003375/0.3136, allocations: 181.4 kB / 428.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3137, allocations: 4 kB / 428.1 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3137, allocations: 0 / 428.1 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3137, allocations: 7.938 kB / 428.1 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3139, allocations: 51.94 kB / 428.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3139, allocations: 0 / 428.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.314, allocations: 11.89 kB / 428.2 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.314, allocations: 4 kB / 428.2 MB, free: 7.496 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.3141, allocations: 129.8 kB / 428.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.3142, allocations: 11.95 kB / 428.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.3142, allocations: 20.77 kB / 428.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3142, allocations: 7.938 kB / 428.4 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3142, allocations: 4 kB / 428.4 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3142, allocations: 0 / 428.4 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3145, allocations: 269.5 kB / 428.6 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3145, allocations: 0 / 428.6 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.3148, allocations: 39.91 kB / 428.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3148, allocations: 4 kB / 428.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.3148, allocations: 7.938 kB / 428.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3148, allocations: 0 / 428.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3148, allocations: 0 / 428.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.3154, allocations: 299.4 kB / 429 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.3154, allocations: 93.03 kB / 429.1 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.3155, allocations: 11.88 kB / 429.1 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3156, allocations: 15.98 kB / 429.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.3157, allocations: 7.938 kB / 429.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3157, allocations: 12 kB / 429.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.3158, allocations: 118.2 kB / 429.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3158, allocations: 0 / 429.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.3161, allocations: 47.89 kB / 429.3 MB, free: 6.324 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001243/0.3162, allocations: 95.78 kB / 429.4 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.3165, allocations: 127.2 kB / 429.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3165, allocations: 4.062 kB / 429.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.3167, allocations: 59.91 kB / 429.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.317, allocations: 27.97 kB / 429.6 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3182, allocations: 0.5323 MB / 430.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.3188, allocations: 0.7239 MB / 430.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.3189, allocations: 9.422 kB / 430.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.3189, allocations: 19.44 kB / 430.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3189, allocations: 0 / 430.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of Templates: time 0.005129/0.324, allocations: 1.693 MB / 432.5 MB, free: 2.996 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time [Calling sys.exit(0), Time elapsed: 5.475776290521026]