Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") 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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001146, allocations: 196.4 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 229.5 MB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007874/0.0007873, allocations: 93.25 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003519, allocations: 4 kB / 360.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002302/0.2613, allocations: 2.29 MB / 414.4 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.2622, allocations: 0.8234 MB / 415.2 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2624, allocations: 7.938 kB / 415.2 MB, free: 22.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.2625, allocations: 31.77 kB / 415.2 MB, free: 22.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.2626, allocations: 79.38 kB / 415.3 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.2629, allocations: 75.08 kB / 415.4 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.2631, allocations: 326.5 kB / 415.7 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.2633, allocations: 98.25 kB / 415.8 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.2635, allocations: 111.6 kB / 415.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2637, allocations: 119.4 kB / 416 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.2637, allocations: 16 kB / 416 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.815e-05/0.2638, allocations: 16 kB / 416 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.2638, allocations: 59.64 kB / 416.1 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.2639, allocations: 149 kB / 416.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.2641, allocations: 296.3 kB / 416.5 MB, free: 21.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2642, allocations: 4 kB / 416.5 MB, free: 21.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2642, allocations: 0 / 416.5 MB, free: 21.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.2642, allocations: 0 / 416.5 MB, free: 21.39 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007897/0.265, allocations: 0.5536 MB / 417.1 MB, free: 20.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.265, allocations: 8.031 kB / 417.1 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.2651, allocations: 28.66 kB / 417.1 MB, free: 20.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.2653, allocations: 255.8 kB / 417.4 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2654, allocations: 20.94 kB / 417.4 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.2654, allocations: 24.38 kB / 417.4 MB, free: 20.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.2658, allocations: 280 kB / 417.7 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2659, allocations: 0 / 417.7 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.2659, allocations: 16 kB / 417.7 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2659, allocations: 8 kB / 417.7 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.2663, allocations: 210.1 kB / 417.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2676, allocations: 1.015 MB / 418.9 MB, free: 18.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.268, allocations: 202.4 kB / 419.1 MB, free: 18.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.2683, allocations: 169.1 kB / 419.3 MB, free: 18.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2684, allocations: 0 / 419.3 MB, free: 18.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2684, allocations: 42.41 kB / 419.3 MB, free: 18.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.02e-07/0.2684, allocations: 4 kB / 419.3 MB, free: 18.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00152/0.2699, allocations: 0.5939 MB / 419.9 MB, free: 17.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.27, allocations: 55.41 kB / 420 MB, free: 17.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.2702, allocations: 225 kB / 420.2 MB, free: 17.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2702, allocations: 33.7 kB / 420.2 MB, free: 17.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.2703, allocations: 171.8 kB / 420.4 MB, free: 17.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.2703, allocations: 67.09 kB / 420.5 MB, free: 17.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.2703, allocations: 4 kB / 420.5 MB, free: 17.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.2704, allocations: 342.8 kB / 420.8 MB, free: 16.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2706, allocations: 67.97 kB / 420.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2708, allocations: 130.8 kB / 421 MB, free: 16.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.2711, allocations: 205.3 kB / 421.2 MB, free: 16.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2711, allocations: 0 / 421.2 MB, free: 16.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006844/0.2718, allocations: 372.2 kB / 421.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2718, allocations: 4.625 kB / 421.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.2718, allocations: 4 kB / 421.6 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.2722, allocations: 80.86 kB / 421.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.2723, allocations: 55.91 kB / 421.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.2744, allocations: 1.853 MB / 423.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.2746, allocations: 31.77 kB / 423.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.2747, allocations: 8.125 kB / 423.6 MB, free: 13.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.2748, allocations: 146.4 kB / 423.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.2748, allocations: 27.75 kB / 423.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.2749, allocations: 26.17 kB / 423.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2749, allocations: 0 / 423.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2749, allocations: 0 / 423.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2749, allocations: 4 kB / 423.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.2758, allocations: 0.6706 MB / 424.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2758, allocations: 3.938 kB / 424.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.276, allocations: 39.91 kB / 424.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.2762, allocations: 84.73 kB / 424.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2762, allocations: 4 kB / 424.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.2779, allocations: 1.76 MB / 426.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2779, allocations: 0 / 426.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007647/0.2787, allocations: 471.8 kB / 426.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.2788, allocations: 104.8 kB / 426.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.2788, allocations: 8.125 kB / 426.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.279, allocations: 28.05 kB / 427 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.279, allocations: 7.984 kB / 427 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.279, allocations: 4 kB / 427 MB, free: 10.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.2792, allocations: 168.5 kB / 427.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2792, allocations: 0 / 427.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.2795, allocations: 75.84 kB / 427.2 MB, free: 10 MB / 298.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.2797, allocations: 111.2 kB / 427.3 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007511/0.2804, allocations: 378.5 kB / 427.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2805, allocations: 320 / 427.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.2807, allocations: 210.6 kB / 427.9 MB, free: 9.277 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.2811, allocations: 36.59 kB / 427.9 MB, free: 9.238 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.2831, allocations: 1.067 MB / 429 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.2833, allocations: 0.7521 MB / 429.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.349e-05/0.2833, allocations: 21.95 kB / 429.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.2834, allocations: 15.44 kB / 429.8 MB, free: 7.328 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2834, allocations: 0 / 429.8 MB, free: 7.328 MB / 298.7 MB Notification: Performance of Templates: time 0.005039/0.2884, allocations: 2.677 MB / 432.5 MB, free: 4.664 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches