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.001201/0.001201, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001249/0.001249, allocations: 198 kB / 18.07 MB, free: 5.434 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.649/1.649, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.001353/0.001353, allocations: 47.92 kB / 280 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 46.63 MB / 326.6 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003964/0.1301, allocations: 2.189 MB / 328.8 MB, free: 2.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1312, allocations: 0.5659 MB / 329.3 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1313, allocations: 4 kB / 329.4 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.1315, allocations: 19.78 kB / 329.4 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.857e-05/0.1316, allocations: 47.61 kB / 329.4 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1318, allocations: 47.89 kB / 329.5 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.132, allocations: 223 kB / 329.7 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.1323, allocations: 70.08 kB / 329.8 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1324, allocations: 75.72 kB / 329.8 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1326, allocations: 95.61 kB / 329.9 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.1326, allocations: 16 kB / 329.9 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.1326, allocations: 12 kB / 329.9 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.063e-05/0.1327, allocations: 47.81 kB / 330 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1328, allocations: 95.53 kB / 330.1 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.1331, allocations: 219.5 kB / 330.3 MB, free: 1.176 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1331, allocations: 0 / 330.3 MB, free: 1.176 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1331, allocations: 4 kB / 330.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1331, allocations: 0 / 330.3 MB, free: 1.172 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.0008736/0.134, allocations: 494.8 kB / 330.8 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.134, allocations: 16.02 kB / 330.8 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.1341, allocations: 20.66 kB / 330.8 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1344, allocations: 220.1 kB / 331 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.1344, allocations: 12.38 kB / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1345, allocations: 16.38 kB / 331.1 MB, free: 332 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.1348, allocations: 185.8 kB / 331.2 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1348, allocations: 0 / 331.2 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.1349, allocations: 12 kB / 331.3 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1349, allocations: 4 kB / 331.3 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.1352, allocations: 135.9 kB / 331.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.1364, allocations: 0.7507 MB / 332.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.1368, allocations: 158.5 kB / 332.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.137, allocations: 97.06 kB / 332.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.137, allocations: 3.938 kB / 332.4 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1371, allocations: 38.56 kB / 332.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.1371, allocations: 0 / 332.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004693/0.1376, allocations: 189.4 kB / 332.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.1376, allocations: 59.34 kB / 332.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1378, allocations: 141.8 kB / 332.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1378, allocations: 33.7 kB / 332.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.1379, allocations: 136.1 kB / 333 MB, free: 14.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.138, allocations: 47.3 kB / 333 MB, free: 14.22 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.138, allocations: 37.7 kB / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1382, allocations: 322.8 kB / 333.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.1383, allocations: 51.97 kB / 333.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1385, allocations: 73.64 kB / 333.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.1387, allocations: 129 kB / 333.6 MB, free: 13.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.1387, allocations: 8 kB / 333.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003126/0.1391, allocations: 177.4 kB / 333.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1391, allocations: 4 kB / 333.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1391, allocations: 0 / 333.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1391, allocations: 7.938 kB / 333.8 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.1394, allocations: 39.92 kB / 333.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1394, allocations: 3.984 kB / 333.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.84e-05/0.1395, allocations: 15.91 kB / 333.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1395, allocations: 8.031 kB / 333.9 MB, free: 13.33 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.0001079/0.1396, allocations: 121.8 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.1397, allocations: 11.91 kB / 334 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.1397, allocations: 24.77 kB / 334 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1397, allocations: 0 / 334 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1397, allocations: 0 / 334 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1397, allocations: 0 / 334 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.14, allocations: 269.4 kB / 334.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.14, allocations: 0 / 334.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.1403, allocations: 47.91 kB / 334.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1403, allocations: 0 / 334.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1403, allocations: 7.875 kB / 334.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1403, allocations: 0 / 334.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1403, allocations: 0 / 334.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.1408, allocations: 295.9 kB / 334.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.1408, allocations: 92.92 kB / 334.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1409, allocations: 11.97 kB / 334.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.141, allocations: 12 kB / 334.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.1411, allocations: 7.984 kB / 334.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.1411, allocations: 0 / 334.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.378e-05/0.1412, allocations: 119.2 kB / 334.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1412, allocations: 0 / 334.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1415, allocations: 47.84 kB / 334.9 MB, free: 12.19 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.0001335/0.1416, allocations: 107.2 kB / 335 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.1419, allocations: 132 kB / 335.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1419, allocations: 0 / 335.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.1421, allocations: 63.91 kB / 335.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.1425, allocations: 24.05 kB / 335.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1435, allocations: 0.5781 MB / 335.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1438, allocations: 0.732 MB / 336.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.1439, allocations: 17.34 kB / 336.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.144, allocations: 15.44 kB / 336.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.144, allocations: 0 / 336.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of Templates: time 0.004299/0.1483, allocations: 1.512 MB / 338.1 MB, free: 8.957 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