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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.6/1.6, allocations: 171.2 MB / 184.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.851e-05, allocations: 4 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 38.77 MB / 267.6 MB, free: 9.309 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09916/0.3007, allocations: 66.98 MB / 334.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.3009, allocations: 63.97 kB / 334.6 MB, free: 6.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01204/0.313, allocations: 3.172 MB / 337.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.171e-06/0.313, allocations: 0 / 337.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3131, allocations: 4 kB / 337.8 MB, free: 2.977 MB / 282.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.000714/0.3138, allocations: 457.9 kB / 338.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3138, allocations: 8.031 kB / 338.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.3139, allocations: 19.81 kB / 338.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.3142, allocations: 218.7 kB / 338.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3143, allocations: 16 kB / 338.5 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.3143, allocations: 19.95 kB / 338.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.3147, allocations: 165.5 kB / 338.7 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3147, allocations: 0 / 338.7 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.3148, allocations: 12 kB / 338.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.291e-06/0.3148, allocations: 4 kB / 338.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.3151, allocations: 119.9 kB / 338.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.3167, allocations: 0.7508 MB / 339.6 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.317, allocations: 142.5 kB / 339.7 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.3172, allocations: 92.73 kB / 339.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3173, allocations: 4 kB / 339.8 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3173, allocations: 30.56 kB / 339.8 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.441e-06/0.3173, allocations: 0 / 339.8 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003372/0.3177, allocations: 125.8 kB / 340 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3177, allocations: 51.41 kB / 340 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3179, allocations: 141.4 kB / 340.2 MB, free: 436 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.318, allocations: 33.7 kB / 340.2 MB, free: 396 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3181, allocations: 198.5 kB / 340.4 MB, free: 196 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.3182, allocations: 47.36 kB / 340.4 MB, free: 148 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-06/0.3182, allocations: 3.938 kB / 340.4 MB, free: 144 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3184, allocations: 322.8 kB / 340.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3185, allocations: 40 kB / 340.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3186, allocations: 57.72 kB / 340.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.3188, allocations: 53.06 kB / 340.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-06/0.3188, allocations: 4 kB / 340.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003313/0.3191, allocations: 147.5 kB / 341 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3191, allocations: 4 kB / 341 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.045e-06/0.3192, allocations: 0 / 341 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3192, allocations: 4 kB / 341 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.3195, allocations: 39.97 kB / 341.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3195, allocations: 7.953 kB / 341.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.3197, allocations: 27.86 kB / 341.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3197, allocations: 4 kB / 341.1 MB, free: 15.43 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 () * 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.0001051/0.3198, allocations: 112.9 kB / 341.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.3199, allocations: 11.91 kB / 341.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.3199, allocations: 12.75 kB / 341.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.111e-06/0.3199, allocations: 4 kB / 341.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.728e-06/0.3199, allocations: 4 kB / 341.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.32, allocations: 7.938 kB / 341.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.3204, allocations: 265.4 kB / 341.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.75e-06/0.3204, allocations: 3.984 kB / 341.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.3207, allocations: 43.92 kB / 341.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.913e-06/0.3207, allocations: 0 / 341.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3207, allocations: 0 / 341.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.198e-06/0.3207, allocations: 4 kB / 341.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/0.3208, allocations: 0 / 341.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.3212, allocations: 279.4 kB / 341.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.3213, allocations: 92.92 kB / 342 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3214, allocations: 0 / 342 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.3216, allocations: 19.92 kB / 342 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.3216, allocations: 11.98 kB / 342 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3217, allocations: 0 / 342 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3218, allocations: 111.8 kB / 342.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.3218, allocations: 4 kB / 342.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.3222, allocations: 47.84 kB / 342.1 MB, free: 14.32 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 () * 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.0001496/0.3223, allocations: 111.1 kB / 342.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.3226, allocations: 100 kB / 342.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.129e-06/0.3226, allocations: 0 / 342.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.3227, allocations: 51.94 kB / 342.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3231, allocations: 28.05 kB / 342.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009761/0.3241, allocations: 432.3 kB / 342.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3245, allocations: 0.7321 MB / 343.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.3245, allocations: 15.44 kB / 343.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.451e-06/0.3246, allocations: 0 / 343.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of Templates: time 0.004295/0.3289, allocations: 1.956 MB / 345.6 MB, free: 10.85 MB / 298.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