Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.0009752/0.0009752, 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.0009826/0.0009826, allocations: 142.1 kB / 24.89 MB, free: 8.777 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.9584/0.9584, allocations: 173.4 MB / 201.5 MB, free: 8.758 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.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.186e-05, allocations: 9.906 kB / 268.5 MB, free: 6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00239/0.002402, allocations: 2.449 MB / 271 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.00317, allocations: 0.5919 MB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.003258, allocations: 7.938 kB / 271.6 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.003369, allocations: 31.66 kB / 271.6 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.938e-05/0.003469, allocations: 79.28 kB / 271.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.003651, allocations: 55.92 kB / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.003857, allocations: 262.7 kB / 272 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.00399, allocations: 71.61 kB / 272 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.004138, allocations: 155.6 kB / 272.2 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.004248, allocations: 79.78 kB / 272.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.004275, allocations: 20 kB / 272.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.004295, allocations: 20 kB / 272.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.004327, allocations: 47.83 kB / 272.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.004384, allocations: 83.77 kB / 272.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004558, allocations: 167.4 kB / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00456, allocations: 0 / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004561, allocations: 0 / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004564, allocations: 0 / 272.6 MB, free: 1.875 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004248/0.004989, allocations: 440.2 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.005021, allocations: 12.03 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.005068, allocations: 36.91 kB / 273.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.005239, allocations: 162.1 kB / 273.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005252, allocations: 12.88 kB / 273.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.00528, allocations: 24.38 kB / 273.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.005459, allocations: 179.4 kB / 273.4 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.00547, allocations: 4.141 kB / 273.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.005483, allocations: 11.94 kB / 273.5 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.005489, allocations: 7.938 kB / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.464e-05/0.005564, allocations: 59.97 kB / 273.5 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.006073, allocations: 0.5372 MB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.006236, allocations: 121.2 kB / 274.2 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.022e-05/0.006306, allocations: 53.7 kB / 274.2 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.00632, allocations: 7.938 kB / 274.2 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.006344, allocations: 46.55 kB / 274.3 MB, free: 52 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.006346, allocations: 0 / 274.3 MB, free: 52 kB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006898/0.007036, allocations: 0.5172 MB / 274.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.007068, allocations: 85.05 kB / 274.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.007144, allocations: 162.6 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.007157, allocations: 33.7 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.007207, allocations: 132.4 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.007251, allocations: 103.1 kB / 275.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.007296, allocations: 45.69 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.007378, allocations: 338.8 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.007407, allocations: 19.98 kB / 275.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.007457, allocations: 68.25 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.919e-05/0.007556, allocations: 120.4 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007558, allocations: 0 / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001347/0.007692, allocations: 144.4 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.007703, allocations: 4 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007708, allocations: 3.984 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.00772, allocations: 4 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.007875, allocations: 71.83 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.007879, allocations: 4 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.007922, allocations: 12.09 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.007931, allocations: 8 kB / 276.1 MB, free: 14.06 MB / 266.7 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 6.266e-05/0.007994, allocations: 121.8 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.008031, allocations: 19.98 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.00807, allocations: 29.8 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.008074, allocations: 7.938 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.008076, allocations: 0 / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.008079, allocations: 0 / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.008425, allocations: 368.9 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008427, allocations: 0 / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.008573, allocations: 71.05 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.008575, allocations: 0 / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.008586, allocations: 11.94 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.008587, allocations: 3.938 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.008589, allocations: 4 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.008807, allocations: 361.2 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.008822, allocations: 15.84 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.008839, allocations: 12.03 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.008914, allocations: 11.98 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.008948, allocations: 19.97 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.008955, allocations: 4 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.679e-05/0.008982, allocations: 45.81 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008982, allocations: 0 / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.009153, allocations: 44 kB / 277.3 MB, free: 12.86 MB / 266.7 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 6.725e-05/0.009221, allocations: 92.3 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.009352, allocations: 112.6 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.009356, allocations: 4 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.00941, allocations: 64.7 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.00964, allocations: 31.98 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.0103, allocations: 0.5205 MB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.01034, allocations: 79.98 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.0104, allocations: 25.94 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.01049, allocations: 87.3 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01049, allocations: 0 / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Templates: time 0.003651/0.01414, allocations: 2.207 MB / 280.5 MB, free: 9.613 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.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.5809815428219736]