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.002624/0.002624, allocations: 176.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.127/3.127, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001005/0.001005, allocations: 97.41 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000519/0.0005191, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4757, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.6874, allocations: 76.42 MB / 452.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000402/0.6879, allocations: 67.97 kB / 452.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.7014, allocations: 3.118 MB / 455.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.7015, allocations: 0 / 455.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.722e-05/0.7015, allocations: 4 kB / 455.3 MB, free: 1.035 MB / 330.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.001193/0.7027, allocations: 474.8 kB / 455.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.7028, allocations: 8.031 kB / 455.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.7029, allocations: 20.75 kB / 455.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.7032, allocations: 220 kB / 456 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.7033, allocations: 12.38 kB / 456.1 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.7034, allocations: 16.38 kB / 456.1 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.704, allocations: 186.1 kB / 456.2 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.704, allocations: 192 / 456.2 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.7041, allocations: 11.94 kB / 456.3 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.7041, allocations: 4 kB / 456.3 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.7046, allocations: 151.8 kB / 456.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.7066, allocations: 0.7681 MB / 457.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.7072, allocations: 174.6 kB / 457.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.7076, allocations: 96.81 kB / 457.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.7076, allocations: 8.234 kB / 457.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.7077, allocations: 36.83 kB / 457.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 4.769e-06/0.7077, allocations: 3.938 kB / 457.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008657/0.7086, allocations: 196.7 kB / 457.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.7087, allocations: 59.39 kB / 457.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.709, allocations: 153.9 kB / 457.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.709, allocations: 29.7 kB / 457.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.7092, allocations: 132.2 kB / 458.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.7093, allocations: 55.2 kB / 458.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.7093, allocations: 0 / 458.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.7095, allocations: 326.8 kB / 458.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.7098, allocations: 55.97 kB / 458.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.71, allocations: 75.34 kB / 458.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.7104, allocations: 132.6 kB / 458.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7104, allocations: 4 kB / 458.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005927/0.711, allocations: 181.4 kB / 458.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.7111, allocations: 8 kB / 458.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.7111, allocations: 0 / 458.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/0.7112, allocations: 0 / 458.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.7116, allocations: 47.91 kB / 458.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.7116, allocations: 0 / 458.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.7118, allocations: 23.88 kB / 458.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.7118, allocations: 4 kB / 458.9 MB, free: 13.18 MB / 346.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.0002778/0.7121, allocations: 133.8 kB / 459.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.7122, allocations: 7.906 kB / 459.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.49e-05/0.7123, allocations: 16.84 kB / 459.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.7124, allocations: 7.875 kB / 459.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.7124, allocations: 0 / 459.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.7124, allocations: 4 kB / 459.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.7132, allocations: 265.5 kB / 459.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7133, allocations: 4 kB / 459.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.7137, allocations: 35.97 kB / 459.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.7137, allocations: 4 kB / 459.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.7137, allocations: 4 kB / 459.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.7138, allocations: 3.938 kB / 459.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.7138, allocations: 3.938 kB / 459.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/0.7147, allocations: 311.3 kB / 459.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7148, allocations: 92.94 kB / 459.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.7149, allocations: 0 / 459.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.7152, allocations: 27.92 kB / 459.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.7153, allocations: 7.984 kB / 459.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.7153, allocations: 0 / 459.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.7155, allocations: 111.3 kB / 460 MB, free: 12.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7155, allocations: 0 / 460 MB, free: 12.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000557/0.7161, allocations: 51.84 kB / 460 MB, free: 12.02 MB / 346.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.0002618/0.7164, allocations: 107.2 kB / 460.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005968/0.717, allocations: 132 kB / 460.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.717, allocations: 0 / 460.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.7173, allocations: 67.91 kB / 460.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.718, allocations: 24.05 kB / 460.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.72, allocations: 0.6677 MB / 461 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.7205, allocations: 0.7243 MB / 461.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.7206, allocations: 15.44 kB / 461.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7206, allocations: 0 / 461.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of Templates: time 0.006058/0.7267, allocations: 2.004 MB / 463.7 MB, free: 8.227 MB / 346.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.v,C2.v,L.i,time