Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 85.75 kB / 21.44 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 161.2 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.231e-05/4.491e-05, allocations: 2.281 kB / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004163/0.004208, allocations: 2.008 MB / 301 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.005455, allocations: 0.5463 MB / 301.5 MB, free: 6.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.005567, allocations: 8 kB / 301.5 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.005736, allocations: 35.64 kB / 301.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.005862, allocations: 51.48 kB / 301.6 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.006117, allocations: 55.92 kB / 301.7 MB, free: 5.996 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.006447, allocations: 238.8 kB / 301.9 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.00668, allocations: 57.77 kB / 301.9 MB, free: 5.707 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.006885, allocations: 131.8 kB / 302.1 MB, free: 5.578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.007064, allocations: 71.78 kB / 302.1 MB, free: 5.508 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.795e-05/0.007132, allocations: 28 kB / 302.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.903e-05/0.007181, allocations: 20 kB / 302.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.007239, allocations: 43.83 kB / 302.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.007348, allocations: 75.81 kB / 302.3 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.007774, allocations: 243.3 kB / 302.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.007782, allocations: 0 / 302.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.007784, allocations: 0 / 302.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.007792, allocations: 3.938 kB / 302.5 MB, free: 5.102 MB / 286.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.0009495/0.008741, allocations: 433.4 kB / 303 MB, free: 4.648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.008793, allocations: 11.98 kB / 303 MB, free: 4.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.008854, allocations: 24.78 kB / 303 MB, free: 4.613 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.009219, allocations: 165.4 kB / 303.2 MB, free: 4.426 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.009243, allocations: 12.38 kB / 303.2 MB, free: 4.414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.009288, allocations: 16.38 kB / 303.2 MB, free: 4.398 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.009758, allocations: 233.5 kB / 303.4 MB, free: 4.152 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.009774, allocations: 4.188 kB / 303.4 MB, free: 4.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.009805, allocations: 8.375 kB / 303.4 MB, free: 4.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.00982, allocations: 7.938 kB / 303.4 MB, free: 4.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.01019, allocations: 139.9 kB / 303.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.01157, allocations: 0.6302 MB / 304.2 MB, free: 3.316 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.01202, allocations: 146.6 kB / 304.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.01222, allocations: 88.77 kB / 304.4 MB, free: 3.074 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.01223, allocations: 0 / 304.4 MB, free: 3.074 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.01228, allocations: 46.55 kB / 304.5 MB, free: 3.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.01228, allocations: 0 / 304.5 MB, free: 3.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.00053/0.01281, allocations: 169.8 kB / 304.7 MB, free: 2.848 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.01287, allocations: 59.41 kB / 304.7 MB, free: 2.777 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.01306, allocations: 154 kB / 304.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.01309, allocations: 29.7 kB / 304.9 MB, free: 2.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.01324, allocations: 136.2 kB / 305 MB, free: 2.438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.0133, allocations: 47.59 kB / 305.1 MB, free: 2.391 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.01337, allocations: 29.72 kB / 305.1 MB, free: 2.355 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.01358, allocations: 330.8 kB / 305.4 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.01374, allocations: 59.84 kB / 305.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.01389, allocations: 69.69 kB / 305.5 MB, free: 1.891 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.01416, allocations: 120.2 kB / 305.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01416, allocations: 4 kB / 305.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003613/0.01453, allocations: 181.4 kB / 305.8 MB, free: 1.582 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01454, allocations: 4 kB / 305.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01455, allocations: 0 / 305.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.01457, allocations: 4 kB / 305.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.01481, allocations: 39.97 kB / 305.9 MB, free: 1.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01482, allocations: 0 / 305.9 MB, free: 1.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.01492, allocations: 19.83 kB / 305.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.01493, allocations: 4 kB / 305.9 MB, free: 1.512 MB / 286.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.0001224/0.01505, allocations: 133.8 kB / 306 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.01509, allocations: 15.95 kB / 306.1 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.01513, allocations: 16.72 kB / 306.1 MB, free: 1.344 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01513, allocations: 4 kB / 306.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.01514, allocations: 0 / 306.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01515, allocations: 0 / 306.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.01543, allocations: 189.1 kB / 306.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01543, allocations: 0 / 306.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.01564, allocations: 39.92 kB / 306.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01565, allocations: 0 / 306.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.01566, allocations: 7.984 kB / 306.3 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01566, allocations: 0 / 306.3 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01566, allocations: 4 kB / 306.3 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.01617, allocations: 295.9 kB / 306.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.0162, allocations: 11.91 kB / 306.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01622, allocations: 8 kB / 306.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.01637, allocations: 12.03 kB / 306.6 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.01641, allocations: 7.984 kB / 306.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01643, allocations: 8 kB / 306.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.934e-05/0.01652, allocations: 116.3 kB / 306.8 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01652, allocations: 0 / 306.8 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.01679, allocations: 51.83 kB / 306.8 MB, free: 0.5586 MB / 286.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.0001313/0.01692, allocations: 103.2 kB / 306.9 MB, free: 456 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.01726, allocations: 122.8 kB / 307 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01726, allocations: 0 / 307 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.0174, allocations: 60.03 kB / 307.1 MB, free: 276 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.01773, allocations: 31.8 kB / 307.1 MB, free: 244 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.01875, allocations: 449.9 kB / 307.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.01888, allocations: 112 kB / 307.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.593e-05/0.01894, allocations: 17.14 kB / 307.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.01899, allocations: 12.5 kB / 307.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.01899, allocations: 0 / 307.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Templates: time 0.00486/0.02385, allocations: 1.536 MB / 309.2 MB, free: 14.07 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time [Calling sys.exit(0), Time elapsed: 4.8687941916286945]