Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4411, allocations: 50.55 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003642/0.4448, allocations: 2.144 MB / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.4459, allocations: 0.5728 MB / 412 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.4461, allocations: 7.938 kB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.4462, allocations: 23.72 kB / 412 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.4464, allocations: 59.48 kB / 412.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.4466, allocations: 55.92 kB / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.4469, allocations: 231 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.4471, allocations: 81.64 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4472, allocations: 87.66 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.4474, allocations: 95.61 kB / 412.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.4474, allocations: 20 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.858e-05/0.4475, allocations: 28 kB / 412.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.4476, allocations: 51.81 kB / 412.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.4477, allocations: 99.59 kB / 412.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.448, allocations: 228.3 kB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.448, allocations: 8 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.448, allocations: 0 / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.448, allocations: 0 / 413 MB, free: 13.81 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.0008352/0.4488, allocations: 498.8 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4489, allocations: 12.02 kB / 413.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.449, allocations: 24.66 kB / 413.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.4493, allocations: 212.1 kB / 413.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.4493, allocations: 20.31 kB / 413.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.4494, allocations: 16.38 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.4498, allocations: 189.8 kB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4498, allocations: 0 / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.4498, allocations: 8 kB / 414 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.4498, allocations: 4 kB / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.4501, allocations: 139.9 kB / 414.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.4514, allocations: 0.7351 MB / 414.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.4518, allocations: 166.5 kB / 415 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.452, allocations: 104.8 kB / 415.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.452, allocations: 0 / 415.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.4521, allocations: 30.56 kB / 415.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.81e-07/0.4521, allocations: 0 / 415.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000469/0.4525, allocations: 193.4 kB / 415.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.4526, allocations: 55.34 kB / 415.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.4527, allocations: 153.1 kB / 415.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.4528, allocations: 29.7 kB / 415.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.4528, allocations: 140.1 kB / 415.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.4529, allocations: 39.36 kB / 415.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.453, allocations: 37.7 kB / 415.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4531, allocations: 318.8 kB / 416.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4532, allocations: 59.91 kB / 416.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.4534, allocations: 71.92 kB / 416.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.4536, allocations: 124.3 kB / 416.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4536, allocations: 7.938 kB / 416.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003106/0.4539, allocations: 181.4 kB / 416.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.454, allocations: 4 kB / 416.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.454, allocations: 0 / 416.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.454, allocations: 7.938 kB / 416.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.4542, allocations: 39.97 kB / 416.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4542, allocations: 3.938 kB / 416.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.4543, allocations: 19.84 kB / 416.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4544, allocations: 4 kB / 416.6 MB, free: 9.977 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.000108/0.4545, allocations: 129.8 kB / 416.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.4545, allocations: 11.91 kB / 416.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.4546, allocations: 24.77 kB / 416.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4546, allocations: 0 / 416.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4546, allocations: 0 / 416.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4546, allocations: 0 / 416.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.4549, allocations: 269.4 kB / 417 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4549, allocations: 0 / 417 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.4551, allocations: 43.91 kB / 417.1 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4551, allocations: 4 kB / 417.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4552, allocations: 7.938 kB / 417.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4552, allocations: 0 / 417.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4552, allocations: 0 / 417.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.4557, allocations: 291.4 kB / 417.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.4557, allocations: 92.95 kB / 417.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.4558, allocations: 3.938 kB / 417.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.4559, allocations: 19.98 kB / 417.5 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.456, allocations: 4 kB / 417.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.456, allocations: 8 kB / 417.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.099e-05/0.4561, allocations: 115.2 kB / 417.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4561, allocations: 0 / 417.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.4563, allocations: 47.84 kB / 417.7 MB, free: 8.828 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.0001658/0.4565, allocations: 107.2 kB / 417.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.4568, allocations: 130.8 kB / 417.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4568, allocations: 0 / 417.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.457, allocations: 67.91 kB / 418 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.4573, allocations: 20.03 kB / 418 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4584, allocations: 0.5256 MB / 418.5 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.4587, allocations: 0.724 MB / 419.2 MB, free: 7.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.4588, allocations: 13.36 kB / 419.2 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.4588, allocations: 15.44 kB / 419.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4588, allocations: 0 / 419.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of Templates: time 0.004966/0.4638, allocations: 1.648 MB / 420.9 MB, free: 5.543 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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