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.0008786/0.0008786, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008384/0.0008384, allocations: 141.2 kB / 24.89 MB, free: 9.203 MB / 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.9319/0.9319, allocations: 173.3 MB / 201.5 MB, free: 9.219 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 1.352e-06/1.352e-06, allocations: 0 / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.739e-05, allocations: 2.312 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002504/0.002522, allocations: 2.674 MB / 271.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008027/0.003324, allocations: 0.6698 MB / 271.9 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.003438, allocations: 11.94 kB / 271.9 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.003569, allocations: 51.5 kB / 271.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.0037, allocations: 87.19 kB / 272 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.003887, allocations: 99.73 kB / 272.1 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.004126, allocations: 350.3 kB / 272.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.00426, allocations: 83.98 kB / 272.5 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.004452, allocations: 191.6 kB / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.004566, allocations: 111.7 kB / 272.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.004601, allocations: 24 kB / 272.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.832e-05/0.00463, allocations: 28 kB / 272.9 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.00467, allocations: 59.77 kB / 272.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.004738, allocations: 103.8 kB / 273 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.004926, allocations: 211.2 kB / 273.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004928, allocations: 0 / 273.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004928, allocations: 0 / 273.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.004931, allocations: 0 / 273.2 MB, free: 1.398 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.0005682/0.0055, allocations: 0.496 MB / 273.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.628e-05/0.005526, allocations: 8.031 kB / 273.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.005577, allocations: 44.89 kB / 273.8 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.005751, allocations: 177.4 kB / 274 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.005767, allocations: 20.88 kB / 274 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.005797, allocations: 24.38 kB / 274 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.006033, allocations: 297 kB / 274.3 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006042, allocations: 4.188 kB / 274.3 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.006057, allocations: 8.375 kB / 274.3 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.006065, allocations: 11.94 kB / 274.3 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.006145, allocations: 63.47 kB / 274.4 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.006879, allocations: 0.7009 MB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.007059, allocations: 126.4 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.007202, allocations: 92.78 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.007216, allocations: 4 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.007236, allocations: 42.5 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.007237, allocations: 4 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004866/0.007724, allocations: 265.1 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.007747, allocations: 59.39 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.007852, allocations: 210 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.007867, allocations: 29.7 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.007928, allocations: 176 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.00796, allocations: 71.44 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.008005, allocations: 45.64 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.008078, allocations: 334.7 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.008106, allocations: 19.98 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.008161, allocations: 82.83 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.008263, allocations: 133.7 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.008266, allocations: 4 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000211/0.008478, allocations: 182.4 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.008489, allocations: 15.94 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.008493, allocations: 0 / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.00869, allocations: 80.75 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.008803, allocations: 47.97 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008707/0.009674, allocations: 1.469 MB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.009744, allocations: 27.83 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.009752, allocations: 4 kB / 278.6 MB, free: 11.72 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 7.057e-05/0.009822, allocations: 125.7 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.009847, allocations: 15.98 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.009871, allocations: 25.8 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.009873, allocations: 8.031 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-06/0.009874, allocations: 0 / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.009877, allocations: 0 / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.01023, allocations: 367.2 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01024, allocations: 4.109 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.01031, allocations: 35.98 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.01045, allocations: 64.75 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.01046, allocations: 8 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006799/0.01114, allocations: 1.438 MB / 280.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.01114, allocations: 0 / 280.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.01137, allocations: 278.1 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.01139, allocations: 27.73 kB / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.0114, allocations: 4 kB / 281 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.01148, allocations: 16.11 kB / 281 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.0115, allocations: 15.97 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.0115, allocations: 8 kB / 281 MB, free: 9.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.279e-05/0.01154, allocations: 58.17 kB / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01154, allocations: 4.031 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.01177, allocations: 71.89 kB / 281.1 MB, free: 9.027 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.446e-05/0.01184, allocations: 88.34 kB / 281.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.01213, allocations: 266.1 kB / 281.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.01214, allocations: 8 kB / 281.5 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01225, allocations: 179.3 kB / 281.7 MB, free: 8.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.01242, allocations: 35.92 kB / 281.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009354/0.01335, allocations: 0.6263 MB / 282.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.01339, allocations: 88.25 kB / 282.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.01344, allocations: 17.95 kB / 282.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.779e-05/0.01353, allocations: 83.36 kB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01353, allocations: 0 / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of Templates: time 0.004402/0.01793, allocations: 2.911 MB / 285.4 MB, free: 4.688 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.653691182844341]