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.714/1.714, allocations: 171.2 MB / 186.7 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007379/0.0007381, allocations: 12 kB / 233.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07267, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002476/0.07519, allocations: 1.687 MB / 273.6 MB, free: 10.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.07657, allocations: 0.5344 MB / 274.1 MB, free: 9.957 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.07676, allocations: 4 kB / 274.2 MB, free: 9.953 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.93e-05/0.07687, allocations: 23.83 kB / 274.2 MB, free: 9.93 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.07715, allocations: 63.78 kB / 274.2 MB, free: 9.867 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.07743, allocations: 51.89 kB / 274.3 MB, free: 9.816 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.07783, allocations: 155.6 kB / 274.4 MB, free: 9.664 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.0781, allocations: 58.08 kB / 274.5 MB, free: 9.602 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.0783, allocations: 75.77 kB / 274.6 MB, free: 9.527 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.07854, allocations: 83.61 kB / 274.7 MB, free: 9.445 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.07862, allocations: 8 kB / 274.7 MB, free: 9.438 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.0787, allocations: 12 kB / 274.7 MB, free: 9.426 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.07878, allocations: 31.91 kB / 274.7 MB, free: 9.395 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.225e-05/0.07889, allocations: 61.58 kB / 274.8 MB, free: 9.328 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.07924, allocations: 175.7 kB / 274.9 MB, free: 9.156 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.394e-06/0.07927, allocations: 4 kB / 274.9 MB, free: 9.152 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.07928, allocations: 0 / 274.9 MB, free: 9.152 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.468e-06/0.07931, allocations: 0 / 274.9 MB, free: 9.152 MB / 234.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.001159/0.08048, allocations: 470.7 kB / 275.4 MB, free: 8.645 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.08056, allocations: 12.03 kB / 275.4 MB, free: 8.633 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.08068, allocations: 19.81 kB / 275.4 MB, free: 8.613 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.08109, allocations: 214.7 kB / 275.6 MB, free: 8.363 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.08115, allocations: 15.95 kB / 275.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.08121, allocations: 20 kB / 275.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.0817, allocations: 177.5 kB / 275.8 MB, free: 8.148 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.08173, allocations: 0 / 275.8 MB, free: 8.148 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.08178, allocations: 12 kB / 275.9 MB, free: 8.137 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.304e-06/0.0818, allocations: 11.94 kB / 275.9 MB, free: 8.125 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.08225, allocations: 143.9 kB / 276 MB, free: 7.984 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.08391, allocations: 0.7624 MB / 276.8 MB, free: 7.152 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008094/0.08474, allocations: 170.5 kB / 276.9 MB, free: 6.977 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.08479, allocations: 4 kB / 276.9 MB, free: 6.973 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.08486, allocations: 34.5 kB / 277 MB, free: 6.93 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 3.959e-06/0.08488, allocations: 0 / 277 MB, free: 6.93 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009956/0.0859, allocations: 197.7 kB / 277.2 MB, free: 6.73 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.08597, allocations: 55.41 kB / 277.2 MB, free: 6.664 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.08617, allocations: 153.5 kB / 277.4 MB, free: 6.508 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.08622, allocations: 33.7 kB / 277.4 MB, free: 6.469 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.08637, allocations: 202.5 kB / 277.6 MB, free: 6.27 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.08643, allocations: 43.36 kB / 277.7 MB, free: 6.227 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.08646, allocations: 4 kB / 277.7 MB, free: 6.223 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.08663, allocations: 314.8 kB / 278 MB, free: 5.906 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.08682, allocations: 55.97 kB / 278 MB, free: 5.852 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.08703, allocations: 74.72 kB / 278.1 MB, free: 5.773 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.08723, allocations: 67.83 kB / 278.2 MB, free: 5.707 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.08725, allocations: 0 / 278.2 MB, free: 5.707 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000468/0.08773, allocations: 180.4 kB / 278.3 MB, free: 5.527 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.08776, allocations: 4 kB / 278.3 MB, free: 5.523 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.822e-06/0.08778, allocations: 4 kB / 278.3 MB, free: 5.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.08781, allocations: 3.953 kB / 278.3 MB, free: 5.516 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.0881, allocations: 47.91 kB / 278.4 MB, free: 5.469 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.924e-06/0.08812, allocations: 3.984 kB / 278.4 MB, free: 5.465 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.08827, allocations: 19.84 kB / 278.4 MB, free: 5.445 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.0883, allocations: 8 kB / 278.4 MB, free: 5.438 MB / 234.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.0001501/0.08846, allocations: 125.7 kB / 278.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.08853, allocations: 15.89 kB / 278.6 MB, free: 5.289 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.08859, allocations: 20.84 kB / 278.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-06/0.08861, allocations: 0 / 278.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.213e-06/0.08862, allocations: 3.953 kB / 278.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-06/0.08864, allocations: 3.984 kB / 278.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.08913, allocations: 265.4 kB / 278.8 MB, free: 4.953 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.08916, allocations: 4 kB / 278.9 MB, free: 4.949 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.08945, allocations: 43.97 kB / 278.9 MB, free: 4.906 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.775e-06/0.08947, allocations: 0 / 278.9 MB, free: 4.906 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.0895, allocations: 4 kB / 278.9 MB, free: 4.902 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.678e-06/0.08952, allocations: 4 kB / 278.9 MB, free: 4.898 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.129e-06/0.08953, allocations: 0 / 278.9 MB, free: 4.898 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.0902, allocations: 323.6 kB / 279.2 MB, free: 4.566 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/0.0903, allocations: 89.05 kB / 279.3 MB, free: 4.461 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.09034, allocations: 4 kB / 279.3 MB, free: 4.457 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.09054, allocations: 11.98 kB / 279.3 MB, free: 4.445 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.09061, allocations: 12 kB / 279.3 MB, free: 4.434 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.09063, allocations: 7.984 kB / 279.3 MB, free: 4.426 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.09077, allocations: 118.8 kB / 279.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.09078, allocations: 0 / 279.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003755/0.09116, allocations: 47.84 kB / 279.5 MB, free: 4.266 MB / 234.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.0001351/0.09131, allocations: 107.2 kB / 279.6 MB, free: 4.152 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004066/0.09173, allocations: 136 kB / 279.7 MB, free: 4.02 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.958e-06/0.09175, allocations: 0 / 279.7 MB, free: 4.02 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.09194, allocations: 67.91 kB / 279.8 MB, free: 3.953 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.09229, allocations: 27.31 kB / 279.8 MB, free: 3.93 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.09363, allocations: 0.6517 MB / 280.5 MB, free: 3.242 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.09408, allocations: 0.7321 MB / 281.2 MB, free: 2.484 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.09416, allocations: 19.38 kB / 281.2 MB, free: 2.469 MB / 234.7 MB Notification: Performance of SimCode: time 1.367e-06/0.09417, allocations: 0 / 281.2 MB, free: 2.469 MB / 234.7 MB Notification: Performance of Templates: time 0.004415/0.09859, allocations: 1.951 MB / 283.2 MB, free: 0.5156 MB / 234.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