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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001886/0.001886, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007845/0.0007845, allocations: 86.7 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.753e-05, allocations: 7.984 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/0.4396, allocations: 75.87 MB / 438.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4399, allocations: 64.53 kB / 439 MB, free: 3.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008516/0.4484, allocations: 3.08 MB / 442.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4485, allocations: 0 / 442.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.4485, allocations: 4 kB / 442.1 MB, free: 1.152 MB / 314.7 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.0006301/0.4491, allocations: 466.4 kB / 442.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4492, allocations: 8.031 kB / 442.6 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.4493, allocations: 19.72 kB / 442.6 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.4495, allocations: 217.3 kB / 442.8 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.4496, allocations: 11.95 kB / 442.8 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.4496, allocations: 11.91 kB / 442.8 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002164/0.4498, allocations: 107 kB / 442.9 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.4501, allocations: 135.2 kB / 443 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4501, allocations: 4 kB / 443.1 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.4501, allocations: 0 / 443.1 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.4501, allocations: 4 kB / 443.1 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.4513, allocations: 0.7105 MB / 443.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.4515, allocations: 128.9 kB / 443.9 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4517, allocations: 84.91 kB / 444 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.4517, allocations: 7.984 kB / 444 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4517, allocations: 38.06 kB / 444 MB, free: 15.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.4518, allocations: 0 / 444 MB, free: 15.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002356/0.452, allocations: 113.4 kB / 444.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.452, allocations: 51.41 kB / 444.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4522, allocations: 135 kB / 444.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.4522, allocations: 29.64 kB / 444.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.4523, allocations: 142.5 kB / 444.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.4523, allocations: 45.7 kB / 444.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.4523, allocations: 0 / 444.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4524, allocations: 326.2 kB / 444.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.4525, allocations: 36.94 kB / 444.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-05/0.4526, allocations: 56.58 kB / 444.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.112e-05/0.4527, allocations: 42.61 kB / 445 MB, free: 14.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4527, allocations: 0 / 445 MB, free: 14.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002004/0.4529, allocations: 142.4 kB / 445.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4529, allocations: 6.812 kB / 445.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4529, allocations: 0 / 445.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.453, allocations: 4 kB / 445.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.4532, allocations: 51.42 kB / 445.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4532, allocations: 4 kB / 445.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.974e-05/0.4533, allocations: 11.84 kB / 445.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.4533, allocations: 4 kB / 445.2 MB, free: 14.25 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.4534, allocations: 113 kB / 445.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.4534, allocations: 7.906 kB / 445.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.4535, allocations: 19.67 kB / 445.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4535, allocations: 0 / 445.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.4535, allocations: 3.953 kB / 445.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4535, allocations: 0 / 445.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.4538, allocations: 231 kB / 445.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4538, allocations: 3.938 kB / 445.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.454, allocations: 39.98 kB / 445.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.454, allocations: 3.984 kB / 445.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.454, allocations: 0 / 445.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.454, allocations: 4 kB / 445.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.454, allocations: 0 / 445.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.4543, allocations: 260 kB / 445.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.4544, allocations: 91.86 kB / 446 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4544, allocations: 0 / 446 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.4546, allocations: 24.03 kB / 446 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.4546, allocations: 7.984 kB / 446 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.4546, allocations: 0 / 446 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.719e-05/0.4547, allocations: 112 kB / 446.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4547, allocations: 0 / 446.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.455, allocations: 43.84 kB / 446.1 MB, free: 13.33 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.4551, allocations: 103.2 kB / 446.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.4553, allocations: 94.19 kB / 446.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4553, allocations: 0 / 446.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.4554, allocations: 53.06 kB / 446.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.4557, allocations: 19.05 kB / 446.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/0.4565, allocations: 396.8 kB / 446.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.4568, allocations: 0.724 MB / 447.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.77e-05/0.4569, allocations: 17.2 kB / 447.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.4569, allocations: 11.44 kB / 447.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of SimCode: time 2.124e-06/0.4569, allocations: 0 / 447.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of Templates: time 0.003669/0.4606, allocations: 1.289 MB / 448.8 MB, free: 10.66 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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