Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 79.34 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 154.1 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0.7969 kB / 319 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.498e-05, allocations: 3.125 kB / 319 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003054/0.003079, allocations: 2.512 MB / 321.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.004154, allocations: 0.6388 MB / 322.1 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.004283, allocations: 4.656 kB / 322.1 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.00442, allocations: 50.81 kB / 322.2 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.004585, allocations: 92.05 kB / 322.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.004832, allocations: 100.6 kB / 322.4 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.005172, allocations: 351.4 kB / 322.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.005368, allocations: 76.09 kB / 322.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.00564, allocations: 195.9 kB / 323 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.005803, allocations: 105.7 kB / 323.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.005864, allocations: 24.84 kB / 323.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.005921, allocations: 30.72 kB / 323.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.00598, allocations: 59.2 kB / 323.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.006098, allocations: 102.3 kB / 323.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.00648, allocations: 327.5 kB / 323.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.006484, allocations: 4.609 kB / 323.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006485, allocations: 0 / 323.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.006491, allocations: 0 / 323.6 MB, free: 0.6836 MB / 286.1 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.0009387/0.00743, allocations: 0.5146 MB / 324.1 MB, free: 300 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.007468, allocations: 10.77 kB / 324.1 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.007534, allocations: 31.92 kB / 324.2 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.007882, allocations: 207.7 kB / 324.4 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.007898, allocations: 18.5 kB / 324.4 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.007945, allocations: 24.88 kB / 324.4 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.008577, allocations: 355 kB / 324.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.00859, allocations: 192 / 324.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.008623, allocations: 11.12 kB / 324.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.008635, allocations: 13.44 kB / 324.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.009122, allocations: 210.1 kB / 325 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.01078, allocations: 0.8575 MB / 325.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.01132, allocations: 181.5 kB / 326 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.01178, allocations: 151.4 kB / 326.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.0118, allocations: 2.75 kB / 326.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.01192, allocations: 37.86 kB / 326.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.572e-06/0.01192, allocations: 0 / 326.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0019/0.01382, allocations: 486 kB / 326.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.01387, allocations: 54.3 kB / 326.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.01416, allocations: 222.4 kB / 327 MB, free: 14.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.01419, allocations: 31.47 kB / 327 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.01435, allocations: 178.2 kB / 327.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.01443, allocations: 59.92 kB / 327.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.94e-05/0.01451, allocations: 53.92 kB / 327.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.01473, allocations: 333.4 kB / 327.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.01493, allocations: 69.81 kB / 327.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.01517, allocations: 136.5 kB / 327.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.01559, allocations: 197.3 kB / 328 MB, free: 13.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01559, allocations: 1.062 kB / 328 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009204/0.01651, allocations: 356.8 kB / 328.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01653, allocations: 6.125 kB / 328.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.01654, allocations: 6.328 kB / 328.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.01695, allocations: 76.45 kB / 328.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.01715, allocations: 58.14 kB / 328.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.02037, allocations: 1.871 MB / 330.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.02059, allocations: 29.72 kB / 330.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.02061, allocations: 7.734 kB / 330.4 MB, free: 12.13 MB / 302.1 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.0001877/0.0208, allocations: 144.5 kB / 330.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.02086, allocations: 26.78 kB / 330.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.02092, allocations: 24.58 kB / 330.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.02092, allocations: 2 kB / 330.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.02092, allocations: 0 / 330.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.02093, allocations: 2.609 kB / 330.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.02216, allocations: 0.5605 MB / 331.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02216, allocations: 1.438 kB / 331.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.02233, allocations: 28.97 kB / 331.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003027/0.02264, allocations: 79.34 kB / 331.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.02265, allocations: 1.969 kB / 331.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002744/0.0254, allocations: 1.797 MB / 333.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.0254, allocations: 3.938 kB / 333.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.02653, allocations: 451.5 kB / 333.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.0266, allocations: 15.5 kB / 333.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.02663, allocations: 9 kB / 333.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.02685, allocations: 21.45 kB / 333.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.02691, allocations: 18.95 kB / 333.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.02693, allocations: 5.25 kB / 333.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.02713, allocations: 154.5 kB / 333.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02713, allocations: 0 / 333.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.02769, allocations: 82.03 kB / 333.8 MB, free: 9.711 MB / 302.1 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.0002021/0.02789, allocations: 96.55 kB / 333.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.029, allocations: 364.6 kB / 334.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.02901, allocations: 0 / 334.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.02939, allocations: 208.2 kB / 334.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.02979, allocations: 29.7 kB / 334.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.03258, allocations: 0.807 MB / 335.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.03274, allocations: 145.2 kB / 335.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.583e-05/0.03284, allocations: 18.98 kB / 335.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.03289, allocations: 17.88 kB / 335.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of SimCode: time 1.252e-06/0.03289, allocations: 0 / 335.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of Templates: time 0.007684/0.04057, allocations: 2.688 MB / 338.2 MB, free: 7.418 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3487315364181995]