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.0009923/0.0009923, allocations: 76.08 kB / 21.18 MB, free: 3.387 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.0009154/0.0009154, allocations: 141.1 kB / 24.54 MB, free: 32 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.004/1.004, allocations: 173.4 MB / 201.1 MB, free: 9.34 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 2.034e-06/2.034e-06, allocations: 0 / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.906e-05, allocations: 6.25 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002428/0.002457, allocations: 1.679 MB / 269.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.002695, allocations: 71.66 kB / 269.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.002754, allocations: 0 / 269.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.981e-05/0.002844, allocations: 11.92 kB / 269.7 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.002888, allocations: 19.8 kB / 269.8 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.003004, allocations: 19.97 kB / 269.8 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.003112, allocations: 67.66 kB / 269.8 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.003212, allocations: 15.98 kB / 269.9 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.003263, allocations: 35.95 kB / 269.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.003331, allocations: 19.92 kB / 269.9 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.00335, allocations: 4 kB / 269.9 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.003362, allocations: 7.938 kB / 269.9 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.003383, allocations: 15.92 kB / 269.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.003413, allocations: 19.98 kB / 270 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003544, allocations: 43.83 kB / 270 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003546, allocations: 0 / 270 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003547, allocations: 0 / 270 MB, free: 4.422 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.003551, allocations: 0 / 270 MB, free: 4.422 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.0004022/0.003954, allocations: 392.5 kB / 270.4 MB, free: 4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.003992, allocations: 8.922 kB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.004038, allocations: 16.89 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.004188, allocations: 120.6 kB / 270.5 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.004197, allocations: 8.312 kB / 270.5 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.004227, allocations: 16.33 kB / 270.5 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.004335, allocations: 62.17 kB / 270.6 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.004346, allocations: 192 / 270.6 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.004356, allocations: 384 / 270.6 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.004364, allocations: 384 / 270.6 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.004417, allocations: 31.91 kB / 270.6 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.004897, allocations: 354.8 kB / 271 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.004979, allocations: 58.98 kB / 271 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.005006, allocations: 11.69 kB / 271.1 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.005019, allocations: 4 kB / 271.1 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.005042, allocations: 37.39 kB / 271.1 MB, free: 3.184 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.005043, allocations: 0 / 271.1 MB, free: 3.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005163/0.00556, allocations: 360.1 kB / 271.4 MB, free: 2.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.00559, allocations: 55.41 kB / 271.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.005673, allocations: 174 kB / 271.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005684, allocations: 25.7 kB / 271.7 MB, free: 2.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.005739, allocations: 146.8 kB / 271.8 MB, free: 2.336 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.005756, allocations: 35.7 kB / 271.9 MB, free: 2.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.005792, allocations: 35.36 kB / 271.9 MB, free: 2.258 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.005907, allocations: 0.4922 MB / 272.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.00593, allocations: 11.98 kB / 272.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.005989, allocations: 66.11 kB / 272.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.081e-05/0.00607, allocations: 94.03 kB / 272.6 MB, free: 1.535 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006072, allocations: 0 / 272.6 MB, free: 1.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001166/0.006188, allocations: 105.5 kB / 272.7 MB, free: 1.426 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.006204, allocations: 8 kB / 272.7 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.00621, allocations: 0 / 272.7 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.006233, allocations: 4 kB / 272.7 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.006296, allocations: 19.98 kB / 272.7 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.006303, allocations: 4 kB / 272.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.006326, allocations: 4 kB / 272.7 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.006335, allocations: 8 kB / 272.7 MB, free: 1.379 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 8.461e-05/0.006419, allocations: 164.5 kB / 272.9 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.006441, allocations: 11.95 kB / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.006476, allocations: 20.45 kB / 272.9 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006478, allocations: 0 / 272.9 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.006483, allocations: 0 / 272.9 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.006487, allocations: 0 / 272.9 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.00681, allocations: 411.5 kB / 273.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.006814, allocations: 4 kB / 273.3 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.00686, allocations: 19.98 kB / 273.3 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006862, allocations: 0 / 273.3 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.006872, allocations: 4.156 kB / 273.3 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.006874, allocations: 5.172 kB / 273.3 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.006877, allocations: 7.938 kB / 273.4 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.007076, allocations: 282.3 kB / 273.6 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.007083, allocations: 4 kB / 273.6 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.007095, allocations: 0 / 273.6 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.5e-05/0.00713, allocations: 7.938 kB / 273.6 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.007152, allocations: 15.92 kB / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.007156, allocations: 4 kB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.093e-05/0.007197, allocations: 127.2 kB / 273.8 MB, free: 200 kB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007197, allocations: 4.031 kB / 273.8 MB, free: 196 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.007363, allocations: 16 kB / 273.8 MB, free: 180 kB / 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.078e-05/0.007434, allocations: 95.25 kB / 273.9 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.00755, allocations: 71.92 kB / 274 MB, free: 0 / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007552, allocations: 0 / 274 MB, free: 0 / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.007592, allocations: 31.62 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.007825, allocations: 15.69 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.008325, allocations: 308.6 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.161e-05/0.008367, allocations: 63.34 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.475e-05/0.008392, allocations: 8.484 kB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.00842, allocations: 12.5 kB / 274.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.00842, allocations: 0 / 274.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Templates: time 0.002305/0.01073, allocations: 0.6387 MB / 275 MB, free: 14.87 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.991127972956747]