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.OpAmps.LCOscillator.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.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 12 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0802/0.08058, allocations: 44.5 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00324/0.08387, allocations: 2.156 MB / 310.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.08539, allocations: 0.644 MB / 311.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.08568, allocations: 7.938 kB / 311.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.938e-05/0.08579, allocations: 35.75 kB / 311.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.08613, allocations: 103.7 kB / 311.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.08637, allocations: 51.92 kB / 311.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.08678, allocations: 219.4 kB / 311.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.08704, allocations: 77.7 kB / 311.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.08729, allocations: 103.6 kB / 311.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.08751, allocations: 115.5 kB / 311.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.08757, allocations: 12 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.787e-05/0.08764, allocations: 16 kB / 311.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.08771, allocations: 51.75 kB / 311.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.957e-05/0.08781, allocations: 73.58 kB / 312 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.08814, allocations: 219.6 kB / 312.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.591e-06/0.08816, allocations: 0 / 312.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.488e-06/0.08817, allocations: 0 / 312.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.08819, allocations: 4 kB / 312.2 MB, free: 13.12 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009056/0.08911, allocations: 0.5184 MB / 312.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.08916, allocations: 8.031 kB / 312.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.08927, allocations: 35.62 kB / 312.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.08966, allocations: 246.6 kB / 313 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.0897, allocations: 12.56 kB / 313 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.08978, allocations: 27.94 kB / 313.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.09028, allocations: 212.9 kB / 313.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.09031, allocations: 0 / 313.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.09036, allocations: 15.98 kB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.09039, allocations: 8 kB / 313.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.0908, allocations: 158.2 kB / 313.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.09279, allocations: 0.9135 MB / 314.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.09327, allocations: 150.6 kB / 314.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.09332, allocations: 4 kB / 314.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.09337, allocations: 34.56 kB / 314.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.973e-06/0.09338, allocations: 0 / 314.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001578/0.09497, allocations: 452.4 kB / 315 MB, free: 10.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.09505, allocations: 59.34 kB / 315.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.09539, allocations: 228.2 kB / 315.3 MB, free: 9.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.09544, allocations: 25.7 kB / 315.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.09562, allocations: 230.3 kB / 315.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.09571, allocations: 63.09 kB / 315.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.09574, allocations: 4 kB / 315.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.09593, allocations: 330.8 kB / 315.9 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.09608, allocations: 48.45 kB / 316 MB, free: 9.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.09628, allocations: 107.1 kB / 316.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.09646, allocations: 71.92 kB / 316.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-06/0.09648, allocations: 0 / 316.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000878/0.09737, allocations: 292.5 kB / 316.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.09741, allocations: 5.25 kB / 316.4 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.947e-06/0.09743, allocations: 3.938 kB / 316.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.09798, allocations: 92.81 kB / 316.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.09824, allocations: 51.92 kB / 316.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.1015, allocations: 1.769 MB / 318.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1017, allocations: 27.77 kB / 318.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.1018, allocations: 12 kB / 318.4 MB, free: 6.539 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.102, allocations: 137.8 kB / 318.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.102, allocations: 23.72 kB / 318.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.1021, allocations: 21.88 kB / 318.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.24e-06/0.1021, allocations: 4 kB / 318.6 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1021, allocations: 0 / 318.6 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.115e-06/0.1022, allocations: 3.984 kB / 318.6 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.1026, allocations: 301.3 kB / 318.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-06/0.1027, allocations: 0 / 318.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.1029, allocations: 35.98 kB / 318.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/0.1034, allocations: 88.78 kB / 319 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.1034, allocations: 8 kB / 319 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.1065, allocations: 1.758 MB / 320.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.672e-06/0.1065, allocations: 0 / 320.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009353/0.1075, allocations: 388 kB / 321.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1076, allocations: 104.8 kB / 321.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.1077, allocations: 0 / 321.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1079, allocations: 19.98 kB / 321.2 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.108, allocations: 16.03 kB / 321.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.108, allocations: 8 kB / 321.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002195/0.1082, allocations: 159.5 kB / 321.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.1083, allocations: 0 / 321.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006326/0.1089, allocations: 71.84 kB / 321.5 MB, free: 3.184 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.1091, allocations: 107.2 kB / 321.6 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006556/0.1098, allocations: 270.5 kB / 321.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.169e-06/0.1098, allocations: 0 / 321.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.1101, allocations: 190.6 kB / 322.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1105, allocations: 36.55 kB / 322.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.1127, allocations: 0.8146 MB / 322.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.1132, allocations: 0.7557 MB / 323.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.1133, allocations: 19.44 kB / 323.7 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of SimCode: time 1.789e-06/0.1133, allocations: 3.938 kB / 323.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of Templates: time 0.007389/0.1207, allocations: 3.477 MB / 327.2 MB, free: 13.42 MB / 282.7 MB "" Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:A,C,L,R,R1,R2,VAmp,c.C,der(c.v),c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,f,gamma,ground.p.i,ground.p.v,l.L,der(l.i),l.i,l.n.i,l.n.v,l.p.i,l.p.v,l.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.v,time,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v