Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 2.136/2.136, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004871, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/0.5173, allocations: 72.21 MB / 381.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.5177, allocations: 72.5 kB / 381.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.5309, allocations: 3.111 MB / 384.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5309, allocations: 0 / 384.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.531, allocations: 4.469 kB / 384.4 MB, free: 14.46 MB / 314.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.0009141/0.5319, allocations: 474.7 kB / 384.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5319, allocations: 10.25 kB / 384.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.421e-05/0.532, allocations: 18.47 kB / 384.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.5323, allocations: 217.5 kB / 385.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.5324, allocations: 20.78 kB / 385.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.5324, allocations: 17.56 kB / 385.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.533, allocations: 177.8 kB / 385.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5331, allocations: 0 / 385.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.5331, allocations: 9.594 kB / 385.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.5331, allocations: 4.188 kB / 385.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.5337, allocations: 151.1 kB / 385.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.5356, allocations: 0.7676 MB / 386.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.5364, allocations: 174.4 kB / 386.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.5364, allocations: 2.75 kB / 386.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.5364, allocations: 37.48 kB / 386.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.5365, allocations: 0 / 386.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008026/0.5373, allocations: 203.2 kB / 386.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.5373, allocations: 52.94 kB / 386.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.5375, allocations: 153.1 kB / 386.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.5376, allocations: 30.08 kB / 386.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.5377, allocations: 199.4 kB / 387 MB, free: 12.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.5377, allocations: 54.06 kB / 387.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.5378, allocations: 3.062 kB / 387.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.5378, allocations: 318.9 kB / 387.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.5381, allocations: 54.34 kB / 387.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.5383, allocations: 75.66 kB / 387.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.5386, allocations: 62.23 kB / 387.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5386, allocations: 0 / 387.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006022/0.5392, allocations: 178.9 kB / 387.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.5392, allocations: 10.09 kB / 387.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.5392, allocations: 0 / 387.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.5393, allocations: 1.469 kB / 387.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.5397, allocations: 47.8 kB / 387.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.5397, allocations: 3.375 kB / 387.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.5399, allocations: 16 kB / 387.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.54, allocations: 6.312 kB / 387.8 MB, free: 12.44 MB / 314.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.0001658/0.5402, allocations: 128.9 kB / 388 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.5402, allocations: 14.3 kB / 388 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.5403, allocations: 18.38 kB / 388 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.5403, allocations: 2.344 kB / 388 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.5403, allocations: 0.8125 kB / 388 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5403, allocations: 2.297 kB / 388 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.5407, allocations: 261.2 kB / 388.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5407, allocations: 0 / 388.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.5411, allocations: 39.69 kB / 388.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.5411, allocations: 5.188 kB / 388.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.5412, allocations: 9.484 kB / 388.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5412, allocations: 1.344 kB / 388.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5412, allocations: 0 / 388.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/0.542, allocations: 312.2 kB / 388.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.5421, allocations: 95.91 kB / 388.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.5422, allocations: 4.625 kB / 388.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.5424, allocations: 25.81 kB / 388.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.5425, allocations: 6.109 kB / 388.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.5425, allocations: 7.688 kB / 388.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.5427, allocations: 121.6 kB / 388.9 MB, free: 11.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5427, allocations: 0 / 388.9 MB, free: 11.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.5431, allocations: 47.75 kB / 388.9 MB, free: 11.75 MB / 314.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.0001528/0.5433, allocations: 103 kB / 389 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.5438, allocations: 139.9 kB / 389.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5438, allocations: 1.281 kB / 389.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.544, allocations: 64.91 kB / 389.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.5445, allocations: 22.03 kB / 389.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.546, allocations: 0.656 MB / 389.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.5462, allocations: 0.7264 MB / 390.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-05/0.5463, allocations: 19.09 kB / 390.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5463, allocations: 0 / 390.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of Templates: time 0.005701/0.5521, allocations: 1.953 MB / 392.6 MB, free: 10.39 MB / 314.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