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.001362/0.001362, allocations: 88.64 kB / 20.96 MB, free: 3.449 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.001455/0.001455, allocations: 145.5 kB / 24.25 MB, free: 160 kB / 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.471/1.471, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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 2.254e-06/2.254e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.619e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.005501/0.005537, allocations: 1.623 MB / 268.9 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004514/0.005989, allocations: 67.72 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.006078, allocations: 0 / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.006207, allocations: 3.938 kB / 269 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.006318, allocations: 27.78 kB / 269 MB, free: 5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.006488, allocations: 19.92 kB / 269 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.006719, allocations: 71.64 kB / 269.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.006863, allocations: 15.95 kB / 269.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.006992, allocations: 39.95 kB / 269.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.007094, allocations: 15.92 kB / 269.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.007124, allocations: 4 kB / 269.2 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.007145, allocations: 4 kB / 269.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.007183, allocations: 19.91 kB / 269.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.00724, allocations: 12 kB / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.00748, allocations: 75.7 kB / 269.3 MB, free: 4.727 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007484, allocations: 0 / 269.3 MB, free: 4.727 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007485, allocations: 4 kB / 269.3 MB, free: 4.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.007491, allocations: 0 / 269.3 MB, free: 4.723 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.0007144/0.008205, allocations: 290.2 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.008251, allocations: 8.922 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.008335, allocations: 16.89 kB / 269.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.008649, allocations: 117.8 kB / 269.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.008664, allocations: 384 / 269.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.008717, allocations: 12.33 kB / 269.7 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.008961, allocations: 74.11 kB / 269.8 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.008978, allocations: 4.188 kB / 269.8 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.008998, allocations: 8.375 kB / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.009004, allocations: 384 / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.009172, allocations: 39.91 kB / 269.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01023, allocations: 295.7 kB / 270.1 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.01045, allocations: 62.44 kB / 270.2 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.701e-05/0.01052, allocations: 20.84 kB / 270.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.01054, allocations: 0 / 270.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.01059, allocations: 34.56 kB / 270.3 MB, free: 3.637 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.01059, allocations: 0 / 270.3 MB, free: 3.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.001192/0.01178, allocations: 375.3 kB / 270.6 MB, free: 3.215 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.01185, allocations: 51.41 kB / 270.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.01202, allocations: 109.8 kB / 270.8 MB, free: 3.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.01205, allocations: 25.7 kB / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.01218, allocations: 107.9 kB / 270.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.01225, allocations: 35.69 kB / 270.9 MB, free: 2.859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.01233, allocations: 21.72 kB / 271 MB, free: 2.832 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.01261, allocations: 326.8 kB / 271.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.01268, allocations: 16 kB / 271.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.01282, allocations: 60.64 kB / 271.4 MB, free: 2.414 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.01308, allocations: 89.08 kB / 271.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01308, allocations: 0 / 271.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003569/0.01344, allocations: 113.5 kB / 271.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.01346, allocations: 8 kB / 271.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.01347, allocations: 3.984 kB / 271.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.0135, allocations: 4.094 kB / 271.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.01368, allocations: 27.94 kB / 271.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.01369, allocations: 4 kB / 271.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.01377, allocations: 3.984 kB / 271.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.01379, allocations: 4 kB / 271.6 MB, free: 2.137 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 0.0001714/0.01396, allocations: 125.7 kB / 271.7 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.01403, allocations: 8 kB / 271.7 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.01408, allocations: 8.438 kB / 271.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01408, allocations: 0 / 271.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01409, allocations: 0 / 271.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01409, allocations: 0 / 271.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.01501, allocations: 362.2 kB / 272.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01501, allocations: 0 / 272.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.01521, allocations: 23.92 kB / 272.1 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.01522, allocations: 4 kB / 272.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01523, allocations: 0 / 272.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.01524, allocations: 5.172 kB / 272.1 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.01525, allocations: 3.938 kB / 272.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.01573, allocations: 232 kB / 272.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.01576, allocations: 7.984 kB / 272.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.0158, allocations: 11.98 kB / 272.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.01595, allocations: 0 / 272.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.01599, allocations: 11.88 kB / 272.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.01601, allocations: 11.94 kB / 272.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.01611, allocations: 87.27 kB / 272.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01611, allocations: 0 / 272.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005268/0.01663, allocations: 16 kB / 272.5 MB, free: 1.141 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 0.000186/0.01682, allocations: 98.83 kB / 272.6 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.01708, allocations: 71.88 kB / 272.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.01709, allocations: 0 / 272.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.03e-05/0.01718, allocations: 23.94 kB / 272.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.01775, allocations: 18.95 kB / 272.7 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.01873, allocations: 293.7 kB / 273 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.01889, allocations: 87.58 kB / 273.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.727e-05/0.01896, allocations: 8.484 kB / 273.1 MB, free: 500 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.01901, allocations: 12.5 kB / 273.1 MB, free: 488 kB / 250.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01901, allocations: 0 / 273.1 MB, free: 488 kB / 250.7 MB Notification: Performance of Templates: time 0.004897/0.02391, allocations: 0.6255 MB / 273.7 MB, free: 15.86 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.082084456924349]