Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 171.2 MB / 187.3 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08561, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.4299, allocations: 67.05 MB / 339.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.4302, allocations: 71.78 kB / 339.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.4437, allocations: 3.178 MB / 342.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4437, allocations: 0 / 342.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.4438, allocations: 6.406 kB / 342.9 MB, free: 4.16 MB / 266.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.0009837/0.4447, allocations: 473.4 kB / 343.3 MB, free: 3.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.4448, allocations: 8.031 kB / 343.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.4449, allocations: 23.72 kB / 343.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.4452, allocations: 216.5 kB / 343.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.4453, allocations: 18.7 kB / 343.6 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.4453, allocations: 15.44 kB / 343.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.4459, allocations: 179 kB / 343.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4459, allocations: 3.984 kB / 343.8 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.446, allocations: 15.56 kB / 343.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.446, allocations: 4 kB / 343.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.4465, allocations: 145.4 kB / 343.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.4485, allocations: 0.757 MB / 344.7 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.4492, allocations: 174.3 kB / 344.9 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.4492, allocations: 4 kB / 344.9 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4493, allocations: 34.56 kB / 344.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.915e-06/0.4493, allocations: 0 / 344.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007704/0.4501, allocations: 200.5 kB / 345.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.4501, allocations: 59.41 kB / 345.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.4503, allocations: 152.4 kB / 345.3 MB, free: 1.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.4504, allocations: 25.7 kB / 345.3 MB, free: 1.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.4505, allocations: 201.3 kB / 345.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.4506, allocations: 49.3 kB / 345.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.4506, allocations: 2.625 kB / 345.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4507, allocations: 318.1 kB / 345.9 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.451, allocations: 61.53 kB / 345.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.4512, allocations: 74.09 kB / 346 MB, free: 1.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.4515, allocations: 60.45 kB / 346.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4515, allocations: 0 / 346.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005629/0.4521, allocations: 176.6 kB / 346.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4522, allocations: 11.92 kB / 346.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4522, allocations: 0 / 346.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.4522, allocations: 7.953 kB / 346.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.4526, allocations: 39.55 kB / 346.3 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.4526, allocations: 4 kB / 346.3 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.4528, allocations: 28.67 kB / 346.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.4529, allocations: 3.5 kB / 346.3 MB, free: 0.918 MB / 266.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.0001696/0.453, allocations: 126 kB / 346.5 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.4531, allocations: 15.81 kB / 346.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.4532, allocations: 15.95 kB / 346.5 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4532, allocations: 4 kB / 346.5 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4532, allocations: 3.953 kB / 346.5 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4532, allocations: 4 kB / 346.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.4537, allocations: 264.5 kB / 346.8 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4537, allocations: 4 kB / 346.8 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.4541, allocations: 39.92 kB / 346.8 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4541, allocations: 0 / 346.8 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.4541, allocations: 7.047 kB / 346.8 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4542, allocations: 4 kB / 346.8 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4542, allocations: 0 / 346.8 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007906/0.455, allocations: 310.6 kB / 347.1 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.4551, allocations: 92.14 kB / 347.2 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.4551, allocations: 4 kB / 347.2 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.4554, allocations: 19.47 kB / 347.2 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.4555, allocations: 7.984 kB / 347.2 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4555, allocations: 4 kB / 347.2 MB, free: 36 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.4557, allocations: 125.5 kB / 347.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4557, allocations: 0 / 347.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004081/0.4561, allocations: 46.72 kB / 347.4 MB, free: 15.89 MB / 282.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.000182/0.4563, allocations: 114.5 kB / 347.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.4568, allocations: 130 kB / 347.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4568, allocations: 0 / 347.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.4571, allocations: 66.84 kB / 347.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.4575, allocations: 30.16 kB / 347.7 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.4592, allocations: 0.6655 MB / 348.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.4597, allocations: 0.7282 MB / 349.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.4598, allocations: 15.44 kB / 349.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4598, allocations: 0 / 349.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of Templates: time 0.00563/0.4654, allocations: 1.958 MB / 351.1 MB, free: 12.21 MB / 282.7 MB "" 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