Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 178 kB / 17.36 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 102.2 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003035, allocations: 12 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3124, allocations: 47.56 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00288/0.3154, allocations: 2.285 MB / 378.9 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3165, allocations: 0.6787 MB / 379.6 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.3166, allocations: 4.625 kB / 379.6 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.3168, allocations: 36.88 kB / 379.6 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.3169, allocations: 72.27 kB / 379.7 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.3171, allocations: 78.67 kB / 379.8 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.3175, allocations: 330.2 kB / 380.1 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.3177, allocations: 91.09 kB / 380.2 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.3179, allocations: 117.3 kB / 380.3 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.318, allocations: 118.5 kB / 380.4 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.3181, allocations: 14.25 kB / 380.4 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.411e-05/0.3182, allocations: 15.75 kB / 380.4 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.3182, allocations: 54.38 kB / 380.5 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3183, allocations: 149 kB / 380.6 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.3186, allocations: 303.6 kB / 380.9 MB, free: 42.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3186, allocations: 4 kB / 380.9 MB, free: 42.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3186, allocations: 0 / 380.9 MB, free: 42.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3186, allocations: 1.031 kB / 380.9 MB, free: 42.29 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.0009024/0.3195, allocations: 0.541 MB / 381.5 MB, free: 41.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.3196, allocations: 10.16 kB / 381.5 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.3197, allocations: 31.47 kB / 381.5 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.32, allocations: 263.8 kB / 381.8 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.3201, allocations: 18.69 kB / 381.8 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.3201, allocations: 25.12 kB / 381.8 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.3206, allocations: 245.8 kB / 382.1 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3206, allocations: 0 / 382.1 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.3207, allocations: 15.56 kB / 382.1 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.3207, allocations: 6.031 kB / 382.1 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.3212, allocations: 223.5 kB / 382.3 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.3226, allocations: 0.9393 MB / 383.2 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.323, allocations: 206.9 kB / 383.4 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.3234, allocations: 158.6 kB / 383.6 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.3234, allocations: 2.344 kB / 383.6 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3234, allocations: 32.91 kB / 383.6 MB, free: 40.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.3234, allocations: 0 / 383.6 MB, free: 40.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001511/0.325, allocations: 0.6292 MB / 384.3 MB, free: 39.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.325, allocations: 53.78 kB / 384.3 MB, free: 39.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.3252, allocations: 224 kB / 384.5 MB, free: 39.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3252, allocations: 31.89 kB / 384.6 MB, free: 39.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.3253, allocations: 173.1 kB / 384.7 MB, free: 39.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.3254, allocations: 70.69 kB / 384.8 MB, free: 39.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.3254, allocations: 5.125 kB / 384.8 MB, free: 39.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.3255, allocations: 327.6 kB / 385.1 MB, free: 39.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3256, allocations: 69.7 kB / 385.2 MB, free: 39.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.3258, allocations: 122.5 kB / 385.3 MB, free: 38.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.3261, allocations: 194.7 kB / 385.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3261, allocations: 1.188 kB / 385.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006771/0.3268, allocations: 365.3 kB / 385.9 MB, free: 38.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/0.3268, allocations: 133.2 kB / 386 MB, free: 38.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.3268, allocations: 5.422 kB / 386 MB, free: 38.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.3273, allocations: 137.8 kB / 386.1 MB, free: 38.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3275, allocations: 56.47 kB / 386.2 MB, free: 38.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.3292, allocations: 1.808 MB / 388 MB, free: 36.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.3294, allocations: 31.77 kB / 388 MB, free: 36.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3294, allocations: 15.94 kB / 388 MB, free: 36.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.3294, allocations: 4 kB / 388 MB, free: 36.58 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002832/0.3297, allocations: 209.8 kB / 388.2 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.3297, allocations: 4.25 kB / 388.2 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-05/0.3298, allocations: 40.83 kB / 388.3 MB, free: 36.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.33, allocations: 43.92 kB / 388.3 MB, free: 36.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007987/0.3308, allocations: 1.538 MB / 389.9 MB, free: 34.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3309, allocations: 15.88 kB / 389.9 MB, free: 34.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3309, allocations: 12 kB / 389.9 MB, free: 34.59 MB / 298.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 (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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.331, allocations: 209.1 kB / 390.1 MB, free: 34.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.3311, allocations: 35.7 kB / 390.1 MB, free: 34.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.3311, allocations: 29.86 kB / 390.2 MB, free: 34.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3311, allocations: 0 / 390.2 MB, free: 34.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3312, allocations: 0 / 390.2 MB, free: 34.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3312, allocations: 4 kB / 390.2 MB, free: 34.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007864/0.332, allocations: 0.6395 MB / 390.8 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.332, allocations: 0 / 390.8 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.3321, allocations: 43.86 kB / 390.8 MB, free: 33.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001917/0.3323, allocations: 72.8 kB / 390.9 MB, free: 33.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3323, allocations: 4 kB / 390.9 MB, free: 33.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.3336, allocations: 1.733 MB / 392.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3336, allocations: 0 / 392.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.3342, allocations: 452.5 kB / 393.1 MB, free: 31.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.3343, allocations: 96.94 kB / 393.2 MB, free: 31.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.3343, allocations: 4 kB / 393.2 MB, free: 31.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.3345, allocations: 19.98 kB / 393.2 MB, free: 31.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.3345, allocations: 16.05 kB / 393.2 MB, free: 31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3345, allocations: 4 kB / 393.2 MB, free: 31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.3347, allocations: 173.5 kB / 393.4 MB, free: 30.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.3347, allocations: 0 / 393.4 MB, free: 30.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005172/0.3352, allocations: 127.6 kB / 393.5 MB, free: 30.71 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001197/0.3353, allocations: 119.1 kB / 393.6 MB, free: 30.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007717/0.3361, allocations: 0.5735 MB / 394.2 MB, free: 29.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3361, allocations: 3.938 kB / 394.2 MB, free: 29.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.3363, allocations: 219.2 kB / 394.4 MB, free: 29.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.3367, allocations: 46.41 kB / 394.5 MB, free: 29.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3382, allocations: 0.9648 MB / 395.4 MB, free: 28.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3384, allocations: 0.7522 MB / 396.2 MB, free: 27.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.3385, allocations: 21.95 kB / 396.2 MB, free: 27.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.3385, allocations: 19.44 kB / 396.2 MB, free: 27.89 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3385, allocations: 0 / 396.2 MB, free: 27.89 MB / 298.7 MB Notification: Performance of Templates: time 0.005502/0.344, allocations: 3.04 MB / 399.3 MB, free: 24.86 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches