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.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 114.3 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.1 MB / 224.1 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 47.92 kB / 280.1 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 46.64 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00373/0.1139, allocations: 2.178 MB / 329 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.115, allocations: 0.5658 MB / 329.5 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1151, allocations: 4 kB / 329.5 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1153, allocations: 27.78 kB / 329.6 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.1154, allocations: 47.61 kB / 329.6 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1156, allocations: 47.95 kB / 329.6 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.1159, allocations: 227 kB / 329.9 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1161, allocations: 77.64 kB / 329.9 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1163, allocations: 79.78 kB / 330 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1164, allocations: 107.5 kB / 330.1 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.1165, allocations: 20 kB / 330.1 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.1165, allocations: 20 kB / 330.2 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.1166, allocations: 43.84 kB / 330.2 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.1167, allocations: 107.5 kB / 330.3 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.117, allocations: 235.5 kB / 330.5 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.117, allocations: 0 / 330.5 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.117, allocations: 0 / 330.5 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.117, allocations: 0 / 330.5 MB, free: 0.9883 MB / 270.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.0008256/0.1178, allocations: 494.8 kB / 331 MB, free: 468 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1179, allocations: 11.97 kB / 331 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.118, allocations: 28.66 kB / 331.1 MB, free: 428 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1182, allocations: 212.1 kB / 331.3 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.1183, allocations: 16.38 kB / 331.3 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.1183, allocations: 16.38 kB / 331.3 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.1187, allocations: 185.9 kB / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1187, allocations: 0 / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1188, allocations: 8 kB / 331.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1188, allocations: 4 kB / 331.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.1191, allocations: 143.8 kB / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.1203, allocations: 0.7507 MB / 332.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.1207, allocations: 154.6 kB / 332.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.1209, allocations: 96.77 kB / 332.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1209, allocations: 7.984 kB / 332.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.121, allocations: 38.73 kB / 332.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.121, allocations: 0 / 332.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004876/0.1215, allocations: 185.5 kB / 332.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1215, allocations: 59.33 kB / 332.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1217, allocations: 149.8 kB / 333.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1217, allocations: 29.7 kB / 333.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.1218, allocations: 132.2 kB / 333.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.1218, allocations: 51.28 kB / 333.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.1219, allocations: 33.7 kB / 333.3 MB, free: 14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.122, allocations: 322.8 kB / 333.6 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1222, allocations: 47.98 kB / 333.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1223, allocations: 81.61 kB / 333.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.1225, allocations: 120.7 kB / 333.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1225, allocations: 0 / 333.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003135/0.1229, allocations: 177.4 kB / 334 MB, free: 13.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1229, allocations: 4 kB / 334 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1229, allocations: 8.016 kB / 334.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1229, allocations: 3.938 kB / 334.1 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.1231, allocations: 39.98 kB / 334.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1231, allocations: 0 / 334.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1232, allocations: 15.89 kB / 334.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1233, allocations: 4 kB / 334.1 MB, free: 13.16 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.0001313/0.1234, allocations: 129.8 kB / 334.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.1234, allocations: 11.91 kB / 334.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.1235, allocations: 20.78 kB / 334.3 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1235, allocations: 7.984 kB / 334.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1235, allocations: 3.938 kB / 334.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1235, allocations: 0 / 334.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.124, allocations: 269.4 kB / 334.6 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.124, allocations: 3.938 kB / 334.6 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.1242, allocations: 31.98 kB / 334.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1242, allocations: 0 / 334.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.1242, allocations: 23.86 kB / 334.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1242, allocations: 0 / 334.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1242, allocations: 4 kB / 334.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.1247, allocations: 291.9 kB / 334.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.1248, allocations: 88.92 kB / 335 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.1248, allocations: 3.938 kB / 335 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.125, allocations: 20.03 kB / 335 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.125, allocations: 7.984 kB / 335 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.125, allocations: 4 kB / 335 MB, free: 12.17 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.1251, allocations: 116 kB / 335.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1251, allocations: 0 / 335.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1254, allocations: 47.84 kB / 335.2 MB, free: 12.01 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.000129/0.1255, allocations: 103.2 kB / 335.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.1258, allocations: 136 kB / 335.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.1259, allocations: 4 kB / 335.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.126, allocations: 63.91 kB / 335.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.1264, allocations: 23.97 kB / 335.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1275, allocations: 0.5844 MB / 336.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.1279, allocations: 0.7201 MB / 336.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.128, allocations: 21.41 kB / 336.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.1281, allocations: 15.44 kB / 336.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1281, allocations: 0 / 336.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of Templates: time 0.004265/0.1324, allocations: 1.588 MB / 338.4 MB, free: 8.695 MB / 286.1 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_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