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.837/1.837, allocations: 194.8 MB / 211.6 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 8 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08249/0.08287, allocations: 44.51 MB / 308.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002621/0.08554, allocations: 1.695 MB / 310 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.08666, allocations: 0.5467 MB / 310.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.0868, allocations: 3.938 kB / 310.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.664e-05/0.08688, allocations: 27.77 kB / 310.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.08707, allocations: 59.86 kB / 310.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.08729, allocations: 51.94 kB / 310.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.08757, allocations: 155.5 kB / 310.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.08777, allocations: 62.08 kB / 310.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.0879, allocations: 67.78 kB / 311 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.08806, allocations: 79.67 kB / 311.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.08811, allocations: 12 kB / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.08816, allocations: 12 kB / 311.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.08822, allocations: 31.84 kB / 311.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.08829, allocations: 61.64 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.08854, allocations: 171.8 kB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.662e-06/0.08856, allocations: 7.938 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.135e-06/0.08857, allocations: 0 / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.397e-06/0.08859, allocations: 0 / 311.4 MB, free: 13.98 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.0007671/0.08936, allocations: 462.8 kB / 311.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.08942, allocations: 12.03 kB / 311.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.0895, allocations: 23.72 kB / 311.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.08981, allocations: 226.6 kB / 312.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.08985, allocations: 12 kB / 312.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.08991, allocations: 16 kB / 312.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.09037, allocations: 181.5 kB / 312.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.0904, allocations: 0 / 312.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.09045, allocations: 12 kB / 312.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.89e-06/0.09047, allocations: 4 kB / 312.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.09091, allocations: 143.9 kB / 312.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.09247, allocations: 0.7585 MB / 313.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.09303, allocations: 178.5 kB / 313.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.09307, allocations: 4 kB / 313.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.09311, allocations: 34.56 kB / 313.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.651e-06/0.09312, allocations: 4 kB / 313.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000613/0.09375, allocations: 193.7 kB / 313.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.09382, allocations: 59.34 kB / 313.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.094, allocations: 149.6 kB / 313.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.09405, allocations: 33.7 kB / 313.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.0942, allocations: 202.5 kB / 314.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.09427, allocations: 47.36 kB / 314.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.09429, allocations: 4 kB / 314.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.09446, allocations: 318.8 kB / 314.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.09466, allocations: 55.97 kB / 314.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.09487, allocations: 81.62 kB / 314.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.09508, allocations: 62.02 kB / 314.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-06/0.09509, allocations: 0 / 314.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004881/0.09559, allocations: 181.4 kB / 314.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.09562, allocations: 4 kB / 314.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.09564, allocations: 4 kB / 314.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.09567, allocations: 0 / 314.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.09595, allocations: 43.97 kB / 314.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.275e-06/0.09597, allocations: 4 kB / 314.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.09611, allocations: 23.86 kB / 314.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.09615, allocations: 4 kB / 314.9 MB, free: 10.26 MB / 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 () * 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.0001444/0.0963, allocations: 125.8 kB / 315 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.09637, allocations: 15.86 kB / 315 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.09642, allocations: 16.84 kB / 315 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.09644, allocations: 0 / 315 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.553e-06/0.09645, allocations: 0 / 315 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.078e-06/0.09647, allocations: 3.984 kB / 315 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.09688, allocations: 261.5 kB / 315.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.0969, allocations: 4 kB / 315.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.09719, allocations: 39.92 kB / 315.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.718e-06/0.09721, allocations: 0 / 315.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.09724, allocations: 11.95 kB / 315.3 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.166e-06/0.09725, allocations: 4 kB / 315.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.09727, allocations: 3.984 kB / 315.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.09792, allocations: 311.7 kB / 315.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.09802, allocations: 85.02 kB / 315.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.09806, allocations: 8 kB / 315.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.09826, allocations: 19.98 kB / 315.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.09833, allocations: 7.984 kB / 315.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.09836, allocations: 8 kB / 315.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.09849, allocations: 115.8 kB / 315.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.0985, allocations: 3.938 kB / 315.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004161/0.09893, allocations: 47.84 kB / 315.9 MB, free: 9.098 MB / 266.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.0001359/0.09908, allocations: 103.2 kB / 316 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.09951, allocations: 141 kB / 316.2 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.024e-06/0.09953, allocations: 0 / 316.2 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.09972, allocations: 63.98 kB / 316.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1001, allocations: 27.14 kB / 316.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1014, allocations: 0.6595 MB / 316.9 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1018, allocations: 0.7359 MB / 317.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.1019, allocations: 15.44 kB / 317.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of SimCode: time 1.392e-06/0.1019, allocations: 0 / 317.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of Templates: time 0.004579/0.1065, allocations: 1.942 MB / 319.6 MB, free: 5.355 MB / 266.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