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 1.71/1.71, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 12 kB / 263.9 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07526/0.07564, allocations: 44.5 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4021, allocations: 73.28 MB / 381.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4023, allocations: 80.94 kB / 381.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.4163, allocations: 3.963 MB / 385.8 MB, free: 18.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.13e-06/0.4163, allocations: 5.094 kB / 385.8 MB, free: 18.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.4163, allocations: 4.625 kB / 385.8 MB, free: 18.24 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006958/0.417, allocations: 0.5096 MB / 386.3 MB, free: 17.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4171, allocations: 12.91 kB / 386.3 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/0.4172, allocations: 36.75 kB / 386.3 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.4175, allocations: 250.7 kB / 386.6 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.4175, allocations: 17.25 kB / 386.6 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.4176, allocations: 27.16 kB / 386.6 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.418, allocations: 213.1 kB / 386.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.418, allocations: 5.594 kB / 386.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.4181, allocations: 8.938 kB / 386.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.415e-06/0.4181, allocations: 6.531 kB / 386.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.4185, allocations: 167.8 kB / 387 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.4201, allocations: 0.9114 MB / 387.9 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.4205, allocations: 158.6 kB / 388.1 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.4205, allocations: 3.344 kB / 388.1 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4206, allocations: 36.56 kB / 388.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.429e-06/0.4206, allocations: 0 / 388.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001392/0.422, allocations: 446.1 kB / 388.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.422, allocations: 57.2 kB / 388.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.4223, allocations: 198.6 kB / 388.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4223, allocations: 33.06 kB / 388.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.4224, allocations: 233.1 kB / 389.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.4224, allocations: 63.92 kB / 389.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.4225, allocations: 7.5 kB / 389.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.4225, allocations: 319.9 kB / 389.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4227, allocations: 50.23 kB / 389.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4228, allocations: 111 kB / 389.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.423, allocations: 70.19 kB / 389.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.458e-06/0.423, allocations: 0 / 389.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000769/0.4238, allocations: 288.5 kB / 390 MB, free: 15.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4238, allocations: 4.531 kB / 390 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-06/0.4238, allocations: 2.938 kB / 390 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005064/0.4243, allocations: 97.33 kB / 390.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.4246, allocations: 50 kB / 390.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.427, allocations: 1.781 MB / 391.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.4272, allocations: 22.77 kB / 391.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.4273, allocations: 7.594 kB / 391.9 MB, free: 14.55 MB / 314.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.0001586/0.4274, allocations: 131.7 kB / 392.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.4275, allocations: 19.5 kB / 392.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.4276, allocations: 35.83 kB / 392.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.4276, allocations: 0 / 392.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4276, allocations: 0.875 kB / 392.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-06/0.4276, allocations: 0 / 392.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.428, allocations: 300 kB / 392.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-06/0.428, allocations: 0 / 392.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.4282, allocations: 27.62 kB / 392.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/0.4287, allocations: 98.41 kB / 392.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4288, allocations: 3.812 kB / 392.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.4312, allocations: 1.765 MB / 394.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.329e-06/0.4312, allocations: 3.875 kB / 394.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/0.4321, allocations: 387 kB / 394.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.4321, allocations: 103.5 kB / 394.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.4322, allocations: 3.75 kB / 394.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.4324, allocations: 18.81 kB / 394.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.4325, allocations: 10.64 kB / 394.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.4325, allocations: 3.969 kB / 394.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.4327, allocations: 162.4 kB / 395 MB, free: 12.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.4327, allocations: 0 / 395 MB, free: 12.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005671/0.4333, allocations: 73.06 kB / 395 MB, free: 12.44 MB / 314.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.0001211/0.4334, allocations: 116.8 kB / 395.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.4339, allocations: 270.8 kB / 395.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.661e-06/0.4339, allocations: 0 / 395.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.4342, allocations: 190.2 kB / 395.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.4345, allocations: 38.42 kB / 395.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.4363, allocations: 0.8201 MB / 396.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.4365, allocations: 0.7494 MB / 397.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.4366, allocations: 19.12 kB / 397.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.57e-06/0.4366, allocations: 0 / 397.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of Templates: time 0.005636/0.4423, allocations: 3.475 MB / 400.7 MB, free: 10.75 MB / 314.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