Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.0009178/0.0009178, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0008688/0.0008688, allocations: 148.6 kB / 24.9 MB, free: 8.727 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 1.001/1.001, allocations: 173.4 MB / 201.5 MB, free: 8.75 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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 268.4 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.405e-05, allocations: 14.05 kB / 268.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002033/0.002057, allocations: 1.674 MB / 270.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000217/0.002274, allocations: 71.72 kB / 270.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.002333, allocations: 8 kB / 270.2 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.002429, allocations: 3.938 kB / 270.2 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.786e-05/0.002477, allocations: 23.78 kB / 270.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.971e-05/0.002577, allocations: 11.98 kB / 270.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.392e-05/0.00267, allocations: 67.66 kB / 270.3 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.002762, allocations: 15.98 kB / 270.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.002814, allocations: 31.97 kB / 270.4 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.349e-05/0.002877, allocations: 23.91 kB / 270.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.002895, allocations: 4 kB / 270.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.002905, allocations: 8 kB / 270.4 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.002925, allocations: 11.98 kB / 270.4 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.002949, allocations: 27.86 kB / 270.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003053, allocations: 43.83 kB / 270.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003055, allocations: 0 / 270.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003056, allocations: 0 / 270.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.003059, allocations: 0 / 270.5 MB, free: 4.012 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002916/0.003351, allocations: 272.8 kB / 270.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.00338, allocations: 8.922 kB / 270.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.003408, allocations: 8.938 kB / 270.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.003517, allocations: 121.7 kB / 270.9 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.003527, allocations: 8.312 kB / 270.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.003548, allocations: 12.31 kB / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.544e-05/0.003623, allocations: 54.23 kB / 271 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.003631, allocations: 192 / 271 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.003638, allocations: 384 / 271 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.003643, allocations: 4.375 kB / 271 MB, free: 3.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.003677, allocations: 23.92 kB / 271 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.004042, allocations: 251.2 kB / 271.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.177e-05/0.004104, allocations: 38.55 kB / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.004125, allocations: 24.84 kB / 271.3 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.004133, allocations: 3.938 kB / 271.3 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.004154, allocations: 30.56 kB / 271.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.004156, allocations: 0 / 271.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005207/0.004676, allocations: 335.1 kB / 271.6 MB, free: 2.684 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.004707, allocations: 51.41 kB / 271.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.00477, allocations: 119.6 kB / 271.8 MB, free: 2.492 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.004778, allocations: 29.7 kB / 271.8 MB, free: 2.457 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.004814, allocations: 96.06 kB / 271.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.004832, allocations: 31.69 kB / 272 MB, free: 2.328 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.004862, allocations: 29.7 kB / 272 MB, free: 2.293 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.004933, allocations: 322.8 kB / 272.3 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.004948, allocations: 11.94 kB / 272.3 MB, free: 1.957 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.408e-05/0.004982, allocations: 52.64 kB / 272.4 MB, free: 1.891 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.507e-05/0.005037, allocations: 69.06 kB / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005038, allocations: 0 / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.006e-05/0.005118, allocations: 89.41 kB / 272.5 MB, free: 1.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.005132, allocations: 10.97 kB / 272.5 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005136, allocations: 0 / 272.5 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.005147, allocations: 4 kB / 272.5 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.005205, allocations: 23.98 kB / 272.6 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.005208, allocations: 0 / 272.6 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.005231, allocations: 8 kB / 272.6 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005235, allocations: 4.406 kB / 272.6 MB, free: 1.664 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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 5.688e-05/0.005292, allocations: 125.7 kB / 272.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.005308, allocations: 7.938 kB / 272.7 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.005333, allocations: 12.44 kB / 272.7 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005334, allocations: 0 / 272.7 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005336, allocations: 0 / 272.7 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005338, allocations: 0 / 272.7 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.005602, allocations: 282.8 kB / 273 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.005605, allocations: 8.328 kB / 273 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.00565, allocations: 16 kB / 273 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.005652, allocations: 0 / 273 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.00566, allocations: 11.98 kB / 273 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.005661, allocations: 0 / 273 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.005664, allocations: 4 kB / 273 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.005785, allocations: 199.7 kB / 273.2 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.005794, allocations: 7.953 kB / 273.2 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.005805, allocations: 7.984 kB / 273.2 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.005838, allocations: 3.938 kB / 273.3 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.005851, allocations: 15.97 kB / 273.3 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.005855, allocations: 4 kB / 273.3 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.74e-05/0.005872, allocations: 16.83 kB / 273.3 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005872, allocations: 4 kB / 273.3 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.006007, allocations: 16 kB / 273.3 MB, free: 0.8477 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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 7.527e-05/0.006082, allocations: 80.36 kB / 273.4 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.736e-05/0.00616, allocations: 56.69 kB / 273.4 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.006162, allocations: 192 / 273.4 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.00618, allocations: 24.8 kB / 273.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.006348, allocations: 15.98 kB / 273.5 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.00669, allocations: 273.3 kB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.006724, allocations: 63.34 kB / 273.8 MB, free: 276 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.586e-05/0.00675, allocations: 8.484 kB / 273.8 MB, free: 268 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.006793, allocations: 59.38 kB / 273.9 MB, free: 208 kB / 250.7 MB Notification: Performance of SimCode: time 6.62e-07/0.006793, allocations: 0 / 273.9 MB, free: 208 kB / 250.7 MB Notification: Performance of Templates: time 0.002168/0.008961, allocations: 0.6877 MB / 274.6 MB, free: 15.52 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.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.522390223108232]