Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.042/2.042, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 51.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4404, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004014/0.4444, allocations: 2.306 MB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.4457, allocations: 0.6309 MB / 435.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.4459, allocations: 7.938 kB / 435.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.446, allocations: 39.64 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.4462, allocations: 67.36 kB / 435.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.4465, allocations: 79.83 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.4468, allocations: 258.8 kB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.447, allocations: 76.58 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.4472, allocations: 111.6 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.4474, allocations: 103.5 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.4474, allocations: 20 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.4475, allocations: 24 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.4475, allocations: 55.72 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.4477, allocations: 99.58 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.448, allocations: 262.6 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.448, allocations: 0 / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.448, allocations: 0 / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.448, allocations: 0 / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008322/0.4489, allocations: 469.5 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4489, allocations: 12.03 kB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.4492, allocations: 52.72 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.4495, allocations: 182.2 kB / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.4495, allocations: 16.75 kB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.4496, allocations: 28.33 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.45, allocations: 217.3 kB / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4501, allocations: 4 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.4501, allocations: 12 kB / 437.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4501, allocations: 4 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.4504, allocations: 151 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.4516, allocations: 0.6581 MB / 438.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.4521, allocations: 189 kB / 438.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.4523, allocations: 93.67 kB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.4523, allocations: 0 / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.4524, allocations: 46.48 kB / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.4524, allocations: 0 / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001699/0.4541, allocations: 0.7273 MB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.4541, allocations: 81.11 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.4543, allocations: 163.3 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.4543, allocations: 29.7 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4544, allocations: 148.4 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.4545, allocations: 99.16 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.4546, allocations: 49.64 kB / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4548, allocations: 330.8 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.4549, allocations: 67.97 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.4551, allocations: 109.3 kB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.4555, allocations: 184.2 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4555, allocations: 0 / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004761/0.456, allocations: 260.3 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.456, allocations: 4 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.456, allocations: 4 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.456, allocations: 0 / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.4563, allocations: 59.91 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.4563, allocations: 4 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.4564, allocations: 15.88 kB / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.4564, allocations: 12 kB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.4566, allocations: 141.9 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.4567, allocations: 27.8 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.4567, allocations: 25.81 kB / 441 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4567, allocations: 4 kB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4567, allocations: 0 / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4568, allocations: 3.984 kB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008521/0.4576, allocations: 496 kB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4576, allocations: 4 kB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.4579, allocations: 67.98 kB / 441.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4579, allocations: 0 / 441.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.4579, allocations: 12 kB / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.4579, allocations: 4 kB / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4579, allocations: 0 / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.4588, allocations: 493 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.4588, allocations: 19.86 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.4589, allocations: 8 kB / 442.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4591, allocations: 12.03 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.4591, allocations: 23.91 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.4591, allocations: 8 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.4592, allocations: 127.2 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4592, allocations: 3.938 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.4596, allocations: 48 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.4597, allocations: 103.2 kB / 442.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.4602, allocations: 175.9 kB / 442.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4602, allocations: 0 / 442.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.4604, allocations: 87.84 kB / 442.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.4609, allocations: 35.97 kB / 442.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4622, allocations: 0.6964 MB / 443.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.4624, allocations: 137.8 kB / 443.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.76e-05/0.4625, allocations: 21.94 kB / 443.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.4625, allocations: 19.44 kB / 443.6 MB, free: 11 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4625, allocations: 7.938 kB / 443.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Templates: time 0.006656/0.4692, allocations: 2.301 MB / 445.9 MB, free: 8.723 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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: 5.645118254004046]