Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001482/0.001485, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 96.41 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 12 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.453, allocations: 76.4 MB / 450.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.4534, allocations: 67.97 kB / 451 MB, free: 4.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01347/0.4669, allocations: 3.111 MB / 454.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4669, allocations: 0 / 454.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.467, allocations: 4 kB / 454.1 MB, free: 1.18 MB / 330.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.0009078/0.4679, allocations: 474.6 kB / 454.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4679, allocations: 12.03 kB / 454.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.468, allocations: 15.81 kB / 454.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.4683, allocations: 218.7 kB / 454.8 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.4684, allocations: 15.95 kB / 454.8 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.4684, allocations: 16 kB / 454.8 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.469, allocations: 185.5 kB / 455 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4691, allocations: 3.938 kB / 455 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.4691, allocations: 8 kB / 455 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.4691, allocations: 4 kB / 455 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/0.4697, allocations: 143.9 kB / 455.2 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.4715, allocations: 0.7721 MB / 456 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.4723, allocations: 170.6 kB / 456.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.4723, allocations: 3.938 kB / 456.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.4724, allocations: 34.56 kB / 456.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 4.819e-06/0.4724, allocations: 3.984 kB / 456.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007936/0.4732, allocations: 197.8 kB / 456.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.4732, allocations: 55.41 kB / 456.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.4734, allocations: 137.7 kB / 456.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.4735, allocations: 29.7 kB / 456.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.4736, allocations: 198.5 kB / 456.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.4737, allocations: 51.3 kB / 456.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.4737, allocations: 4 kB / 456.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4738, allocations: 318.8 kB / 457.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.474, allocations: 59.91 kB / 457.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.4743, allocations: 76.03 kB / 457.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.4746, allocations: 69.55 kB / 457.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4746, allocations: 0 / 457.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005792/0.4752, allocations: 176.7 kB / 457.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.4752, allocations: 4 kB / 457.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4752, allocations: 3.938 kB / 457.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4753, allocations: 4 kB / 457.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.4757, allocations: 47.95 kB / 457.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4757, allocations: 4 kB / 457.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.4759, allocations: 17.84 kB / 457.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4759, allocations: 4 kB / 457.6 MB, free: 13.47 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.4761, allocations: 129.8 kB / 457.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.4762, allocations: 15.89 kB / 457.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.4763, allocations: 16.84 kB / 457.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.4763, allocations: 4 kB / 457.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4763, allocations: 3.953 kB / 457.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4763, allocations: 0 / 457.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.4768, allocations: 269.4 kB / 458 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4768, allocations: 0 / 458 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.4772, allocations: 39.97 kB / 458.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4772, allocations: 0 / 458.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.4773, allocations: 4 kB / 458.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.4773, allocations: 4 kB / 458.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4773, allocations: 4 kB / 458.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.4781, allocations: 313.4 kB / 458.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.4782, allocations: 96.98 kB / 458.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.4782, allocations: 0 / 458.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4785, allocations: 19.98 kB / 458.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.4786, allocations: 4 kB / 458.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.4786, allocations: 7.984 kB / 458.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.4787, allocations: 111.8 kB / 458.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4787, allocations: 0 / 458.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004168/0.4792, allocations: 59.7 kB / 458.7 MB, free: 12.3 MB / 346.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 () * 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 (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.000166/0.4794, allocations: 103.2 kB / 458.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005194/0.4799, allocations: 131.9 kB / 458.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4799, allocations: 0 / 458.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.4801, allocations: 67.97 kB / 459 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.4805, allocations: 31.91 kB / 459 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.4821, allocations: 0.6484 MB / 459.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4825, allocations: 0.732 MB / 460.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/0.4826, allocations: 15.44 kB / 460.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4826, allocations: 0 / 460.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of Templates: time 0.005455/0.4881, allocations: 1.968 MB / 462.4 MB, free: 8.562 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/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_cpp_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,der(C1.v),C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C2.C,der(C2.v),C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,G.G,G.G_actual,G.LossPower,G.T,G.T_heatPort,G.T_ref,G.alpha,G.i,G.n.i,G.n.v,G.p.i,G.p.v,G.v,Gnd.p.i,Gnd.p.v,L.L,der(L.i),L.i,L.n.i,L.n.v,L.p.i,L.p.v,L.v,Nr.Ga,Nr.Gb,Nr.Ve,Nr.i,Nr.n.i,Nr.n.v,Nr.p.i,Nr.p.v,Nr.v,Ro.LossPower,Ro.R,Ro.R_actual,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,Ro.i,Ro.n.i,Ro.n.v,Ro.p.i,Ro.p.v,Ro.v,time