Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.726/1.726, allocations: 171.3 MB / 179.2 MB, free: 8.184 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.464e-05, allocations: 4 kB / 222.5 MB, free: 8.801 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07047/0.07052, allocations: 38.78 MB / 261.3 MB, free: 1.941 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2757/0.3463, allocations: 66.32 MB / 327.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.3466, allocations: 70.02 kB / 327.7 MB, free: 5.812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01214/0.3587, allocations: 3.129 MB / 330.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.53e-06/0.3588, allocations: 4 kB / 330.8 MB, free: 3.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3588, allocations: 0 / 330.8 MB, free: 3.168 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.0007237/0.3596, allocations: 460.5 kB / 331.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3596, allocations: 15.97 kB / 331.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.3597, allocations: 19.81 kB / 331.3 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.36, allocations: 214.3 kB / 331.5 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3601, allocations: 8 kB / 331.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.3601, allocations: 11.95 kB / 331.5 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002854/0.3604, allocations: 109.5 kB / 331.6 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.3608, allocations: 137.5 kB / 331.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3608, allocations: 0 / 331.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3608, allocations: 0 / 331.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.234e-06/0.3608, allocations: 4 kB / 331.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.3623, allocations: 0.7177 MB / 332.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.3627, allocations: 129.3 kB / 332.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.3629, allocations: 76.05 kB / 332.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3629, allocations: 4 kB / 332.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3629, allocations: 42.05 kB / 332.7 MB, free: 1.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 5.726e-06/0.363, allocations: 3.984 kB / 332.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003133/0.3633, allocations: 109.5 kB / 332.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3633, allocations: 55.41 kB / 332.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3635, allocations: 127.1 kB / 333 MB, free: 1.086 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.3635, allocations: 33.64 kB / 333 MB, free: 1.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3637, allocations: 204.7 kB / 333.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.3638, allocations: 47.05 kB / 333.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-06/0.3638, allocations: 0 / 333.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.364, allocations: 321.9 kB / 333.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.3641, allocations: 42.38 kB / 333.6 MB, free: 480 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3642, allocations: 58.14 kB / 333.7 MB, free: 436 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3643, allocations: 41.61 kB / 333.7 MB, free: 412 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3643, allocations: 0 / 333.7 MB, free: 412 kB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003074/0.3646, allocations: 135.6 kB / 333.9 MB, free: 300 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3647, allocations: 7.938 kB / 333.9 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.527e-06/0.3647, allocations: 4.031 kB / 333.9 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3647, allocations: 4 kB / 333.9 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.365, allocations: 43.53 kB / 333.9 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.3651, allocations: 7.953 kB / 333.9 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.3652, allocations: 11.84 kB / 334 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3652, allocations: 4 kB / 334 MB, free: 220 kB / 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 () * 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.0001049/0.3654, allocations: 104.9 kB / 334.1 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.3654, allocations: 15.91 kB / 334.1 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.3655, allocations: 19.3 kB / 334.1 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3655, allocations: 0 / 334.1 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.667e-06/0.3655, allocations: 0.875 kB / 334.1 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.446e-06/0.3655, allocations: 3.953 kB / 334.1 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.3659, allocations: 229.2 kB / 334.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-06/0.3659, allocations: 0 / 334.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.3662, allocations: 42.66 kB / 334.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3663, allocations: 0 / 334.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3663, allocations: 4 kB / 334.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.669e-06/0.3663, allocations: 4 kB / 334.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.583e-06/0.3663, allocations: 4 kB / 334.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.3667, allocations: 258.1 kB / 334.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.3668, allocations: 85.02 kB / 334.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.3669, allocations: 0 / 334.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3671, allocations: 16.03 kB / 334.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.3672, allocations: 11.92 kB / 334.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3672, allocations: 7.938 kB / 334.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.867e-05/0.3673, allocations: 102.3 kB / 334.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.081e-06/0.3673, allocations: 0 / 334.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003943/0.3677, allocations: 55.69 kB / 334.9 MB, free: 15.29 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 () * 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.0001696/0.3679, allocations: 107 kB / 335 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.3682, allocations: 97.12 kB / 335.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.6e-06/0.3682, allocations: 0 / 335.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3683, allocations: 50.75 kB / 335.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3686, allocations: 19.48 kB / 335.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3697, allocations: 416.9 kB / 335.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3702, allocations: 0.7357 MB / 336.3 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.3703, allocations: 15.44 kB / 336.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of SimCode: time 1.74e-06/0.3703, allocations: 0 / 336.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of Templates: time 0.004517/0.3748, allocations: 1.894 MB / 338.2 MB, free: 12 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.useHeatPort,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.useHeatPort,Ro.v,time