Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.111/2.111, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1244, allocations: 44.5 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4677/0.5921, allocations: 73.26 MB / 382.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.5925, allocations: 83.56 kB / 382.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.6099, allocations: 3.97 MB / 386.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.61, allocations: 1.406 kB / 386.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.61, allocations: 4.219 kB / 386.3 MB, free: 14.33 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.001033/0.611, allocations: 0.5099 MB / 386.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6111, allocations: 8.688 kB / 386.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.6113, allocations: 34.28 kB / 386.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.6117, allocations: 256.6 kB / 387.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.6117, allocations: 21.44 kB / 387.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.6118, allocations: 22.66 kB / 387.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.6124, allocations: 217.1 kB / 387.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6124, allocations: 0 / 387.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.6125, allocations: 9.938 kB / 387.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.6125, allocations: 5.75 kB / 387.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.613, allocations: 171.2 kB / 387.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.6154, allocations: 0.9097 MB / 388.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.6159, allocations: 158.6 kB / 388.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.616, allocations: 1.25 kB / 388.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.616, allocations: 34.94 kB / 388.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.395e-06/0.616, allocations: 1.312 kB / 388.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.002265/0.6183, allocations: 449.7 kB / 389.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.6184, allocations: 53.95 kB / 389.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.6187, allocations: 224.5 kB / 389.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.6188, allocations: 30.67 kB / 389.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.6189, allocations: 229.8 kB / 389.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.619, allocations: 61.34 kB / 389.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.619, allocations: 8.344 kB / 389.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.6191, allocations: 322.8 kB / 390 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.6193, allocations: 55.8 kB / 390 MB, free: 12.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.6195, allocations: 105.3 kB / 390.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.6197, allocations: 63.16 kB / 390.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.6197, allocations: 4 kB / 390.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001145/0.6209, allocations: 295.7 kB / 390.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.6209, allocations: 9.438 kB / 390.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.621, allocations: 3.688 kB / 390.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008198/0.6218, allocations: 94.48 kB / 390.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.6222, allocations: 43.28 kB / 390.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/0.6257, allocations: 1.78 MB / 392.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.6261, allocations: 20.48 kB / 392.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.6261, allocations: 7.688 kB / 392.5 MB, free: 10.62 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.0002024/0.6264, allocations: 145.7 kB / 392.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.6264, allocations: 19.5 kB / 392.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.6265, allocations: 30.28 kB / 392.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6265, allocations: 0 / 392.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6265, allocations: 0 / 392.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.6266, allocations: 5.359 kB / 392.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.627, allocations: 290.1 kB / 392.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.627, allocations: 0 / 392.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.6274, allocations: 32.08 kB / 393 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007455/0.6281, allocations: 94 kB / 393.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.6282, allocations: 11.88 kB / 393.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/0.6315, allocations: 1.762 MB / 394.8 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.6316, allocations: 0 / 394.8 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.6327, allocations: 391 kB / 395.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.6329, allocations: 100.2 kB / 395.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.6329, allocations: 10.66 kB / 395.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.6332, allocations: 11.22 kB / 395.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.6333, allocations: 14.7 kB / 395.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.6333, allocations: 11.75 kB / 395.4 MB, free: 8.594 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.6336, allocations: 158.7 kB / 395.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6336, allocations: 0 / 395.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006193/0.6342, allocations: 74.16 kB / 395.6 MB, free: 8.508 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.000177/0.6344, allocations: 106.4 kB / 395.7 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006946/0.6351, allocations: 272.2 kB / 396 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6351, allocations: 0 / 396 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.6355, allocations: 186.5 kB / 396.1 MB, free: 8.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.636, allocations: 33.88 kB / 396.2 MB, free: 8.172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.6387, allocations: 0.8196 MB / 397 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.639, allocations: 0.76 MB / 397.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-05/0.6391, allocations: 19.03 kB / 397.8 MB, free: 7.004 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6391, allocations: 0 / 397.8 MB, free: 7.004 MB / 314.7 MB Notification: Performance of Templates: time 0.008018/0.6471, allocations: 3.483 MB / 401.3 MB, free: 6.82 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