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.0008194/0.0008194, allocations: 80.06 kB / 21.43 MB, free: 3.121 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.003913/0.003913, allocations: 148.6 kB / 24.69 MB, free: 9.41 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.8551/0.8551, allocations: 173.4 MB / 201.2 MB, free: 9.41 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.513e-06/1.513e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.431e-05, allocations: 13.59 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003063/0.003088, allocations: 1.601 MB / 321.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002659/0.003354, allocations: 71.78 kB / 321.3 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.003426, allocations: 3.938 kB / 321.3 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.003534, allocations: 11.86 kB / 321.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.872e-05/0.003593, allocations: 11.92 kB / 321.4 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.003735, allocations: 19.92 kB / 321.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.003869, allocations: 67.64 kB / 321.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.004, allocations: 23.92 kB / 321.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/0.004069, allocations: 43.91 kB / 321.5 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.004138, allocations: 23.91 kB / 321.5 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.004167, allocations: 4 kB / 321.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.004183, allocations: 4 kB / 321.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.004202, allocations: 8 kB / 321.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.004235, allocations: 23.91 kB / 321.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.004376, allocations: 63.78 kB / 321.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.004379, allocations: 0 / 321.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.004381, allocations: 0 / 321.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.004385, allocations: 0 / 321.6 MB, free: 3.848 MB / 282.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.0004607/0.004846, allocations: 297.4 kB / 321.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.004904, allocations: 8.922 kB / 321.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.004947, allocations: 8.891 kB / 322 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.005148, allocations: 121.7 kB / 322.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.005161, allocations: 384 / 322.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.005192, allocations: 12.33 kB / 322.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.005355, allocations: 70.17 kB / 322.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.00537, allocations: 192 / 322.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.005385, allocations: 12.31 kB / 322.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.00539, allocations: 384 / 322.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.005491, allocations: 43.89 kB / 322.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.006153, allocations: 311.5 kB / 322.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.006274, allocations: 58.5 kB / 322.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.006309, allocations: 12.86 kB / 322.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.006324, allocations: 4 kB / 322.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.006346, allocations: 34.5 kB / 322.6 MB, free: 2.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.006348, allocations: 0 / 322.6 MB, free: 2.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007548/0.007103, allocations: 367.6 kB / 323 MB, free: 2.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.007142, allocations: 55.41 kB / 323 MB, free: 2.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.007232, allocations: 117.9 kB / 323.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.007246, allocations: 25.7 kB / 323.2 MB, free: 2.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.007304, allocations: 100 kB / 323.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.007329, allocations: 31.7 kB / 323.3 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.007378, allocations: 33.7 kB / 323.3 MB, free: 1.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.00748, allocations: 314.8 kB / 323.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.007521, allocations: 23.98 kB / 323.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.007583, allocations: 57.14 kB / 323.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.007686, allocations: 85.09 kB / 323.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007688, allocations: 3.938 kB / 323.8 MB, free: 1.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001628/0.007851, allocations: 113.5 kB / 323.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.007867, allocations: 7.938 kB / 323.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.007873, allocations: 0 / 323.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.00789, allocations: 4 kB / 323.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.007972, allocations: 23.98 kB / 324 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.007978, allocations: 0 / 324 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.008019, allocations: 4 kB / 324 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.008031, allocations: 12.09 kB / 324 MB, free: 1.262 MB / 282.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 7.579e-05/0.008107, allocations: 125.7 kB / 324.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.008131, allocations: 4 kB / 324.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.008163, allocations: 8.438 kB / 324.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.008165, allocations: 144 / 324.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.008171, allocations: 4.094 kB / 324.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008176, allocations: 7.922 kB / 324.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.00861, allocations: 350.4 kB / 324.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.008614, allocations: 3.984 kB / 324.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.008696, allocations: 19.94 kB / 324.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.0087, allocations: 4 kB / 324.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.00871, allocations: 0 / 324.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.008714, allocations: 4 kB / 324.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.008717, allocations: 3.938 kB / 324.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.008935, allocations: 227.8 kB / 324.7 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.008947, allocations: 7.938 kB / 324.7 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.008963, allocations: 8 kB / 324.7 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.009031, allocations: 8.094 kB / 324.7 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.009053, allocations: 15.86 kB / 324.8 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.009057, allocations: 0 / 324.8 MB, free: 388 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.009098, allocations: 91.27 kB / 324.8 MB, free: 296 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009098, allocations: 0 / 324.8 MB, free: 296 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.009375, allocations: 16 kB / 324.9 MB, free: 280 kB / 282.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 9.555e-05/0.009471, allocations: 95.25 kB / 325 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.009609, allocations: 59.84 kB / 325 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.009611, allocations: 4.188 kB / 325 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.009648, allocations: 31.92 kB / 325 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.009979, allocations: 12 kB / 325.1 MB, free: 68 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.01055, allocations: 307.7 kB / 325.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.837e-05/0.01062, allocations: 79.33 kB / 325.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.01065, allocations: 12.5 kB / 325.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01065, allocations: 0 / 325.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of Templates: time 0.002352/0.013, allocations: 1.009 MB / 326.5 MB, free: 14.6 MB / 298.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.308934783563018]