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.00283/0.002838, allocations: 182.2 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.322/4.322, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.00182/0.00182, allocations: 80.98 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008307/0.0008308, allocations: 8 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5144, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004196/0.5187, allocations: 1.68 MB / 376.2 MB, free: 44.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.5207, allocations: 0.558 MB / 376.8 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.5212, allocations: 7.281 kB / 376.8 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.5213, allocations: 23.17 kB / 376.8 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.5217, allocations: 59.36 kB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.5221, allocations: 45.03 kB / 376.9 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.5226, allocations: 153.5 kB / 377 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.523, allocations: 59.95 kB / 377.1 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.5232, allocations: 69.31 kB / 377.2 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.5235, allocations: 86.17 kB / 377.3 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.5236, allocations: 15.62 kB / 377.3 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.5237, allocations: 11.22 kB / 377.3 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.5238, allocations: 28.34 kB / 377.3 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.758e-05/0.5239, allocations: 61.08 kB / 377.4 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.5243, allocations: 175.2 kB / 377.5 MB, free: 43.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5243, allocations: 0 / 377.5 MB, free: 43.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5243, allocations: 3.938 kB / 377.5 MB, free: 43.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.5244, allocations: 0 / 377.5 MB, free: 43.12 MB / 298.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.001516/0.5259, allocations: 474.3 kB / 378 MB, free: 42.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.452e-05/0.526, allocations: 9.219 kB / 378 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.5262, allocations: 18.03 kB / 378 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.5267, allocations: 216.8 kB / 378.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.5268, allocations: 15.77 kB / 378.3 MB, free: 42.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.5269, allocations: 19.38 kB / 378.3 MB, free: 42.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.5279, allocations: 177.1 kB / 378.5 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.528, allocations: 7.938 kB / 378.5 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.5281, allocations: 13.95 kB / 378.5 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.5281, allocations: 3.812 kB / 378.5 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.5292, allocations: 153 kB / 378.6 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.5322, allocations: 0.7591 MB / 379.4 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.5334, allocations: 169.6 kB / 379.6 MB, free: 41.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.5335, allocations: 1.062 kB / 379.6 MB, free: 41.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.5335, allocations: 32.75 kB / 379.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 4.85e-06/0.5336, allocations: 0 / 379.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001344/0.5349, allocations: 194.7 kB / 379.8 MB, free: 41.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.535, allocations: 61.47 kB / 379.8 MB, free: 41.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.5354, allocations: 152.4 kB / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.5354, allocations: 26.77 kB / 380 MB, free: 41.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.5356, allocations: 209 kB / 380.2 MB, free: 40.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/0.5357, allocations: 40.7 kB / 380.3 MB, free: 40.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.5358, allocations: 4.969 kB / 380.3 MB, free: 40.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5359, allocations: 325 kB / 380.6 MB, free: 40.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.5363, allocations: 54.27 kB / 380.6 MB, free: 40.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.5367, allocations: 72.47 kB / 380.7 MB, free: 40.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.5372, allocations: 65.23 kB / 380.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.5372, allocations: 0 / 380.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001028/0.5383, allocations: 180.9 kB / 380.9 MB, free: 40.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.5384, allocations: 5.375 kB / 380.9 MB, free: 40.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.5384, allocations: 0.9688 kB / 380.9 MB, free: 40.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/0.5384, allocations: 9.047 kB / 381 MB, free: 40.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.5391, allocations: 46 kB / 381 MB, free: 40.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.5391, allocations: 2.312 kB / 381 MB, free: 40.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.5395, allocations: 19.28 kB / 381 MB, free: 40.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.5396, allocations: 2.844 kB / 381 MB, free: 40.32 MB / 298.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.0002383/0.5398, allocations: 126.9 kB / 381.1 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.54, allocations: 10.59 kB / 381.2 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.789e-05/0.5401, allocations: 23.47 kB / 381.2 MB, free: 40.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5401, allocations: 1.312 kB / 381.2 MB, free: 40.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.5401, allocations: 3.953 kB / 381.2 MB, free: 40.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5402, allocations: 0 / 381.2 MB, free: 40.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.5409, allocations: 262.1 kB / 381.4 MB, free: 39.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5409, allocations: 1.344 kB / 381.4 MB, free: 39.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.5416, allocations: 41.94 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.5416, allocations: 1.125 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.5417, allocations: 1.375 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.5417, allocations: 7.938 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5417, allocations: 1.406 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.5429, allocations: 324 kB / 381.8 MB, free: 39.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.543, allocations: 92.05 kB / 381.9 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.5431, allocations: 1.156 kB / 381.9 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.5435, allocations: 18.97 kB / 381.9 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.5436, allocations: 8.266 kB / 381.9 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.5436, allocations: 6.5 kB / 381.9 MB, free: 39.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.5438, allocations: 115.4 kB / 382 MB, free: 39.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.475e-06/0.5438, allocations: 0 / 382 MB, free: 39.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007186/0.5446, allocations: 56.59 kB / 382.1 MB, free: 39.43 MB / 298.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.0001873/0.5448, allocations: 103.9 kB / 382.2 MB, free: 39.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008268/0.5456, allocations: 134.7 kB / 382.3 MB, free: 39.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.5456, allocations: 4.062 kB / 382.3 MB, free: 39.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.546, allocations: 63.31 kB / 382.4 MB, free: 39.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.5467, allocations: 22.73 kB / 382.4 MB, free: 39.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.5488, allocations: 0.6466 MB / 383.1 MB, free: 38.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.5492, allocations: 0.73 MB / 383.8 MB, free: 37.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.5494, allocations: 15.81 kB / 383.8 MB, free: 37.98 MB / 298.7 MB Notification: Performance of SimCode: time 1.402e-06/0.5494, allocations: 0 / 383.8 MB, free: 37.98 MB / 298.7 MB Notification: Performance of Templates: time 0.00932/0.5587, allocations: 1.964 MB / 385.8 MB, free: 36.99 MB / 298.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