Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.899/1.899, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003534, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.07986, allocations: 44.51 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.4097, allocations: 72.21 MB / 380.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4099, allocations: 68.22 kB / 380.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01108/0.421, allocations: 3.11 MB / 383.8 MB, free: 18.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.33e-06/0.4211, allocations: 1.203 kB / 383.8 MB, free: 18.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.4211, allocations: 3.562 kB / 383.8 MB, free: 18.29 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.0006115/0.4217, allocations: 471.7 kB / 384.3 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4218, allocations: 9.625 kB / 384.3 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.4219, allocations: 18.81 kB / 384.3 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.4221, allocations: 216.2 kB / 384.5 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.4221, allocations: 13.81 kB / 384.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.4222, allocations: 24.17 kB / 384.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.4226, allocations: 182.4 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4227, allocations: 0 / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.4227, allocations: 6.25 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.4227, allocations: 4.125 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.4231, allocations: 146.9 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.4245, allocations: 0.7731 MB / 385.7 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.425, allocations: 177 kB / 385.9 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.425, allocations: 1.344 kB / 385.9 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4251, allocations: 31.78 kB / 385.9 MB, free: 17.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.848e-06/0.4251, allocations: 1.281 kB / 385.9 MB, free: 17.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000578/0.4257, allocations: 201.2 kB / 386.1 MB, free: 17.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.4257, allocations: 53 kB / 386.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4259, allocations: 143.4 kB / 386.3 MB, free: 16.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.4259, allocations: 30.89 kB / 386.3 MB, free: 16.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.426, allocations: 204.8 kB / 386.5 MB, free: 16.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.426, allocations: 48.25 kB / 386.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.426, allocations: 1.75 kB / 386.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.4261, allocations: 322 kB / 386.9 MB, free: 16.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4263, allocations: 55.16 kB / 386.9 MB, free: 16.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.4265, allocations: 75.7 kB / 387 MB, free: 16.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.4267, allocations: 61.23 kB / 387.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4267, allocations: 0.7188 kB / 387.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004303/0.4271, allocations: 180.5 kB / 387.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4271, allocations: 5.719 kB / 387.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.4272, allocations: 0 / 387.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.4272, allocations: 5.438 kB / 387.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.4275, allocations: 46.28 kB / 387.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4275, allocations: 1.531 kB / 387.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.4277, allocations: 16.06 kB / 387.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.4277, allocations: 8.062 kB / 387.3 MB, free: 16.27 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.0001098/0.4278, allocations: 123.6 kB / 387.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.4279, allocations: 16.17 kB / 387.5 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.4279, allocations: 22.28 kB / 387.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.469e-06/0.4279, allocations: 1.812 kB / 387.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.98e-06/0.428, allocations: 2.016 kB / 387.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.428, allocations: 0.5 kB / 387.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.4283, allocations: 260.5 kB / 387.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.606e-06/0.4283, allocations: 1.719 kB / 387.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.4286, allocations: 36.23 kB / 387.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.945e-06/0.4286, allocations: 3.984 kB / 387.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.4287, allocations: 12.69 kB / 387.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.73e-06/0.4287, allocations: 4 kB / 387.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.931e-06/0.4287, allocations: 0 / 387.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.4293, allocations: 317.6 kB / 388.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.4293, allocations: 90.86 kB / 388.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.4294, allocations: 5.469 kB / 388.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.4296, allocations: 20.8 kB / 388.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4296, allocations: 11.38 kB / 388.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4297, allocations: 6.844 kB / 388.2 MB, free: 15.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.768e-05/0.4298, allocations: 114.6 kB / 388.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.74e-07/0.4298, allocations: 0 / 388.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.4302, allocations: 51.69 kB / 388.4 MB, free: 15.59 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.0001203/0.4303, allocations: 111.5 kB / 388.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003896/0.4307, allocations: 131.1 kB / 388.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4307, allocations: 4.062 kB / 388.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.4309, allocations: 63.38 kB / 388.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.4312, allocations: 23.95 kB / 388.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.4324, allocations: 0.6587 MB / 389.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.4326, allocations: 0.7243 MB / 390.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.4326, allocations: 15.5 kB / 390.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4326, allocations: 3.938 kB / 390.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Templates: time 0.004059/0.4367, allocations: 1.963 MB / 392.1 MB, free: 14.22 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