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.001446/0.001446, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001733/0.001733, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 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 1.458/1.458, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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 1.774e-06/1.774e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.79e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004638/0.004666, allocations: 2.322 MB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.006068, allocations: 0.6154 MB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.006253, allocations: 7.938 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.006425, allocations: 43.53 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.006607, allocations: 63.36 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.006935, allocations: 87.81 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.007345, allocations: 270.6 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.007534, allocations: 73.69 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.007861, allocations: 147.7 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.008034, allocations: 79.7 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.008097, allocations: 20 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.901e-05/0.008176, allocations: 28 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.008233, allocations: 43.83 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.008353, allocations: 79.81 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.008773, allocations: 271 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.008776, allocations: 0 / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008777, allocations: 0 / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.008786, allocations: 4 kB / 276.4 MB, free: 13.68 MB / 266.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.0009299/0.009716, allocations: 461.6 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.009765, allocations: 8.031 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.0101, allocations: 68.73 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.01046, allocations: 181.4 kB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.01049, allocations: 16.88 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.01054, allocations: 24.33 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.01104, allocations: 218.7 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.01105, allocations: 192 / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.01108, allocations: 11.94 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.01109, allocations: 4 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.01146, allocations: 143.9 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01277, allocations: 0.6741 MB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.01324, allocations: 181 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.0135, allocations: 97.67 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.01353, allocations: 7.938 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.01357, allocations: 38.56 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.223e-06/0.01357, allocations: 0 / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001819/0.01539, allocations: 0.7225 MB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.01546, allocations: 85.11 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.01565, allocations: 171.2 kB / 279.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.01568, allocations: 29.7 kB / 279.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.01581, allocations: 148.4 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.01592, allocations: 103.3 kB / 279.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.01601, allocations: 45.7 kB / 279.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.01621, allocations: 326.8 kB / 280.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.01639, allocations: 71.89 kB / 280.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.01659, allocations: 109.3 kB / 280.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.01698, allocations: 187.5 kB / 280.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01699, allocations: 0 / 280.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005315/0.01752, allocations: 257.3 kB / 280.8 MB, free: 9.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01753, allocations: 5.562 kB / 280.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01754, allocations: 4.031 kB / 280.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.01756, allocations: 8 kB / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.01785, allocations: 59.91 kB / 280.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01786, allocations: 0 / 280.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.01798, allocations: 19.98 kB / 280.9 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.018, allocations: 12 kB / 280.9 MB, free: 8.949 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 0.0001474/0.01815, allocations: 133.8 kB / 281 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.01823, allocations: 27.86 kB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.376e-05/0.0183, allocations: 33.73 kB / 281.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.01831, allocations: 4 kB / 281.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01831, allocations: 4 kB / 281.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01832, allocations: 0 / 281.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009096/0.01923, allocations: 0.4925 MB / 281.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01923, allocations: 4 kB / 281.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.01952, allocations: 55.91 kB / 281.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.01953, allocations: 4 kB / 281.6 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.01954, allocations: 4 kB / 281.6 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.01955, allocations: 8.094 kB / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01955, allocations: 0 / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.02035, allocations: 497.6 kB / 282.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.02039, allocations: 27.89 kB / 282.2 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.02042, allocations: 4 kB / 282.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.02059, allocations: 8 kB / 282.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.02067, allocations: 19.97 kB / 282.2 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.02069, allocations: 11.92 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.0208, allocations: 131.2 kB / 282.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0208, allocations: 0 / 282.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.02117, allocations: 51.94 kB / 282.4 MB, free: 7.367 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 0.0001313/0.0213, allocations: 103.2 kB / 282.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.02175, allocations: 169.8 kB / 282.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02176, allocations: 0 / 282.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.02196, allocations: 100.6 kB / 282.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.02247, allocations: 36.12 kB / 282.8 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.0237, allocations: 0.5978 MB / 283.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.02387, allocations: 141.8 kB / 283.5 MB, free: 6.164 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.968e-05/0.02397, allocations: 21.92 kB / 283.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.02403, allocations: 24.5 kB / 283.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02404, allocations: 0 / 283.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of Templates: time 0.006055/0.03009, allocations: 2.004 MB / 285.6 MB, free: 4.152 MB / 266.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/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: 4.304935925058089]