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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 184.9 kB / 16.39 MB, free: 5.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 240.3 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00084/0.00084, allocations: 91.97 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 4 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2632, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.3714, allocations: 77.92 MB / 479.4 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.3717, allocations: 67.97 kB / 479.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00903/0.3807, allocations: 3.272 MB / 482.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3808, allocations: 0 / 482.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.3808, allocations: 4 kB / 482.8 MB, free: 15.23 MB / 362.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.0007035/0.3815, allocations: 470.7 kB / 483.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3816, allocations: 8.031 kB / 483.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.3817, allocations: 19.81 kB / 483.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.3819, allocations: 218.7 kB / 483.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.382, allocations: 16 kB / 483.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.382, allocations: 16 kB / 483.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.3824, allocations: 185.5 kB / 483.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3824, allocations: 4 kB / 483.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3824, allocations: 7.953 kB / 483.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3824, allocations: 4 kB / 483.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.3827, allocations: 151.9 kB / 483.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.384, allocations: 0.7546 MB / 484.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3844, allocations: 174.5 kB / 484.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3844, allocations: 4 kB / 484.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3844, allocations: 30.56 kB / 484.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3844, allocations: 0 / 484.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004627/0.3849, allocations: 202.6 kB / 485 MB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.385, allocations: 55.41 kB / 485 MB, free: 12.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3851, allocations: 137.5 kB / 485.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3851, allocations: 25.7 kB / 485.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.3852, allocations: 136.1 kB / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.3853, allocations: 55.28 kB / 485.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.3853, allocations: 0 / 485.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3854, allocations: 326.8 kB / 485.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3855, allocations: 55.97 kB / 485.8 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3857, allocations: 76.56 kB / 485.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3858, allocations: 62.95 kB / 485.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3858, allocations: 0 / 485.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003158/0.3861, allocations: 185.4 kB / 486.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3862, allocations: 4 kB / 486.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3862, allocations: 0 / 486.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3862, allocations: 7.938 kB / 486.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.3864, allocations: 35.98 kB / 486.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3865, allocations: 15.95 kB / 486.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3866, allocations: 15.84 kB / 486.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3866, allocations: 7.938 kB / 486.2 MB, free: 11.59 MB / 362.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.0001201/0.3867, allocations: 129.8 kB / 486.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.3868, allocations: 15.81 kB / 486.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.3868, allocations: 16.83 kB / 486.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3868, allocations: 4 kB / 486.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3868, allocations: 4 kB / 486.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3868, allocations: 0 / 486.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.3871, allocations: 265.5 kB / 486.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3871, allocations: 0 / 486.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.3873, allocations: 43.91 kB / 486.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3874, allocations: 0 / 486.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3874, allocations: 8 kB / 486.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3874, allocations: 4 kB / 486.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3874, allocations: 0 / 486.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.3879, allocations: 314.4 kB / 487 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.3879, allocations: 88.95 kB / 487 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.388, allocations: 4.031 kB / 487 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3881, allocations: 20 kB / 487.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.3882, allocations: 7.984 kB / 487.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.3882, allocations: 4 kB / 487.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.324e-05/0.3883, allocations: 117.9 kB / 487.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.841e-06/0.3883, allocations: 0 / 487.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.3886, allocations: 51.78 kB / 487.2 MB, free: 10.42 MB / 362.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.0001761/0.3888, allocations: 107.2 kB / 487.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.3891, allocations: 131.9 kB / 487.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3891, allocations: 0 / 487.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.3892, allocations: 71.97 kB / 487.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3895, allocations: 23.94 kB / 487.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009742/0.3905, allocations: 0.6265 MB / 488.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3908, allocations: 0.7321 MB / 488.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.3909, allocations: 9.422 kB / 488.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.3909, allocations: 15.44 kB / 489 MB, free: 8.645 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3909, allocations: 0 / 489 MB, free: 8.645 MB / 362.7 MB Notification: Performance of Templates: time 0.003896/0.3948, allocations: 1.452 MB / 490.4 MB, free: 7.207 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (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) 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","../files/Modelica_4.0.0_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_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