Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.0008616/0.0008616, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008804/0.0008804, allocations: 157.1 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8268/0.8268, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.408e-05, allocations: 2.281 kB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00182/0.001844, allocations: 1.602 MB / 301.3 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.002044, allocations: 71.78 kB / 301.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.144e-05/0.002106, allocations: 0 / 301.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.085e-05/0.002196, allocations: 11.86 kB / 301.4 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.002239, allocations: 19.8 kB / 301.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.002349, allocations: 19.97 kB / 301.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.002451, allocations: 67.66 kB / 301.5 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.002556, allocations: 15.98 kB / 301.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.002603, allocations: 39.91 kB / 301.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.002657, allocations: 19.97 kB / 301.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.002679, allocations: 7.938 kB / 301.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.002688, allocations: 4 kB / 301.6 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.002707, allocations: 8 kB / 301.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.002734, allocations: 23.91 kB / 301.6 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.002842, allocations: 59.84 kB / 301.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002844, allocations: 0 / 301.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.002844, allocations: 0 / 301.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.002848, allocations: 0 / 301.6 MB, free: 4.953 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.0003458/0.003194, allocations: 302.1 kB / 301.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.003229, allocations: 15.92 kB / 302 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.003257, allocations: 8.875 kB / 302 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.003401, allocations: 125.7 kB / 302.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.003409, allocations: 384 / 302.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.00343, allocations: 8.375 kB / 302.1 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.003541, allocations: 70.17 kB / 302.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.003552, allocations: 4.188 kB / 302.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.003562, allocations: 4.375 kB / 302.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.003566, allocations: 384 / 302.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.003625, allocations: 43.91 kB / 302.2 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.004314, allocations: 311.5 kB / 302.5 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.004395, allocations: 58.5 kB / 302.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.004419, allocations: 12.86 kB / 302.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.004429, allocations: 11.92 kB / 302.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.004444, allocations: 34.56 kB / 302.6 MB, free: 3.844 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.004445, allocations: 0 / 302.6 MB, free: 3.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004771/0.004922, allocations: 371.9 kB / 303 MB, free: 3.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.004949, allocations: 55.41 kB / 303 MB, free: 3.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.00501, allocations: 117.9 kB / 303.2 MB, free: 3.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.005018, allocations: 25.7 kB / 303.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.005062, allocations: 100 kB / 303.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.005077, allocations: 27.75 kB / 303.3 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.005108, allocations: 29.7 kB / 303.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.005175, allocations: 314.8 kB / 303.6 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/0.005202, allocations: 23.98 kB / 303.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.005242, allocations: 57.14 kB / 303.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.455e-05/0.005317, allocations: 97.02 kB / 303.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.005318, allocations: 0 / 303.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001022/0.00542, allocations: 109.5 kB / 303.9 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.005432, allocations: 4 kB / 303.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.005437, allocations: 0 / 303.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005448, allocations: 4 kB / 303.9 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.005505, allocations: 23.98 kB / 304 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.00551, allocations: 0 / 304 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.005532, allocations: 8.188 kB / 304 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.005538, allocations: 11.94 kB / 304 MB, free: 2.348 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 5.622e-05/0.005594, allocations: 129.6 kB / 304.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.005608, allocations: 7.953 kB / 304.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.005631, allocations: 8.438 kB / 304.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.005633, allocations: 3.984 kB / 304.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.005639, allocations: 0 / 304.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005641, allocations: 0 / 304.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.005934, allocations: 354.3 kB / 304.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005935, allocations: 0 / 304.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.005979, allocations: 16.19 kB / 304.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.005981, allocations: 4 kB / 304.5 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.005989, allocations: 7.984 kB / 304.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.005992, allocations: 4 kB / 304.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.005995, allocations: 7.922 kB / 304.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.006141, allocations: 231.7 kB / 304.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.006148, allocations: 3.953 kB / 304.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.006161, allocations: 8 kB / 304.8 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.006196, allocations: 8.125 kB / 304.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.006211, allocations: 11.92 kB / 304.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.006214, allocations: 0 / 304.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.006239, allocations: 87.28 kB / 304.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006239, allocations: 0 / 304.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.006394, allocations: 16 kB / 304.9 MB, free: 1.367 MB / 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 6.491e-05/0.006459, allocations: 99.23 kB / 305 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.361e-05/0.006553, allocations: 55.86 kB / 305 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006554, allocations: 4.188 kB / 305 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.006579, allocations: 31.92 kB / 305.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.006788, allocations: 15.66 kB / 305.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.007168, allocations: 303.8 kB / 305.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.007216, allocations: 79.52 kB / 305.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.00724, allocations: 12.5 kB / 305.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.00724, allocations: 0 / 305.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of Templates: time 0.00152/0.00876, allocations: 1.009 MB / 306.5 MB, free: 15.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.297849641181529]