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.001434/0.001434, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001318/0.001318, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9948/0.9948, allocations: 173.4 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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 2.314e-06/2.314e-06, allocations: 0 / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.627e-05, allocations: 5.969 kB / 268 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003319/0.003345, allocations: 2.701 MB / 270.7 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.004454, allocations: 0.6505 MB / 271.4 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.004612, allocations: 11.94 kB / 271.4 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.004763, allocations: 47.52 kB / 271.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.004919, allocations: 91.19 kB / 271.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.005166, allocations: 103.7 kB / 271.6 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.005453, allocations: 350.3 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.005628, allocations: 74.05 kB / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.005855, allocations: 191.6 kB / 272.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006209/0.006476, allocations: 107.7 kB / 272.4 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.006521, allocations: 24 kB / 272.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.395e-05/0.006555, allocations: 28 kB / 272.4 MB, free: 2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.006596, allocations: 63.75 kB / 272.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.471e-05/0.006671, allocations: 107.8 kB / 272.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.006884, allocations: 211.2 kB / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.006887, allocations: 0 / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006887, allocations: 0 / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.006892, allocations: 0 / 272.8 MB, free: 1.625 MB / 250.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.0006819/0.007574, allocations: 0.6129 MB / 273.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.00761, allocations: 12.03 kB / 273.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.007689, allocations: 48.75 kB / 273.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.007921, allocations: 216.1 kB / 273.7 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.007937, allocations: 16.88 kB / 273.7 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.007972, allocations: 24.38 kB / 273.7 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.008299, allocations: 322.7 kB / 274 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.008308, allocations: 192 / 274 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.008327, allocations: 12.38 kB / 274 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.008337, allocations: 7.938 kB / 274 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.008487, allocations: 98.94 kB / 274.1 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009194/0.009406, allocations: 0.9328 MB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.009663, allocations: 143 kB / 275.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.009851, allocations: 115.5 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.00987, allocations: 7.984 kB / 275.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.009897, allocations: 53.25 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.009899, allocations: 0 / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006186/0.01052, allocations: 312.2 kB / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.01054, allocations: 55.41 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.0107, allocations: 269.3 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.01071, allocations: 33.7 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.0108, allocations: 222.9 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.01084, allocations: 67.42 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.01089, allocations: 51.36 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01101, allocations: 0.504 MB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.01106, allocations: 31.97 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.799e-05/0.01115, allocations: 125.4 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.01129, allocations: 152.4 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01129, allocations: 0 / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003829/0.01167, allocations: 256.8 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01169, allocations: 8 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01169, allocations: 0 / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.01195, allocations: 79.84 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01206, allocations: 51.92 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.01324, allocations: 2.161 MB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.01332, allocations: 27.84 kB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.01333, allocations: 8.031 kB / 279.8 MB, free: 10.18 MB / 266.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 9.214e-05/0.01343, allocations: 176.5 kB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.01346, allocations: 27.8 kB / 280 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.01348, allocations: 25.8 kB / 280 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.01348, allocations: 0 / 280 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.01349, allocations: 4 kB / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01349, allocations: 0 / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.01394, allocations: 0.5124 MB / 280.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01394, allocations: 0 / 280.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/0.01403, allocations: 31.98 kB / 280.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/0.01419, allocations: 83.69 kB / 280.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.0142, allocations: 4 kB / 280.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009258/0.01512, allocations: 2.121 MB / 282.7 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01513, allocations: 4 kB / 282.7 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.01543, allocations: 371.2 kB / 283.1 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.01545, allocations: 23.77 kB / 283.1 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.01546, allocations: 3.938 kB / 283.1 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.01554, allocations: 24.05 kB / 283.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.01557, allocations: 11.98 kB / 283.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.01557, allocations: 4 kB / 283.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.295e-05/0.01566, allocations: 188.5 kB / 283.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01566, allocations: 0 / 283.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.01591, allocations: 79.84 kB / 283.4 MB, free: 6.301 MB / 266.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 7.874e-05/0.01598, allocations: 95.25 kB / 283.5 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.01636, allocations: 346.8 kB / 283.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01637, allocations: 0 / 283.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.01649, allocations: 241.7 kB / 284.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01672, allocations: 40.11 kB / 284.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.01781, allocations: 0.6629 MB / 284.8 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.01785, allocations: 84.31 kB / 284.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.0179, allocations: 17.95 kB / 284.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.01794, allocations: 20.5 kB / 284.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01794, allocations: 3.938 kB / 284.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of Templates: time 0.004383/0.02232, allocations: 2.852 MB / 287.8 MB, free: 1.895 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8600298073142767]