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.0009629/0.0009629, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001574/0.001574, allocations: 143.7 kB / 24.89 MB, free: 8.789 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.9172/0.9172, allocations: 173.4 MB / 201.5 MB, free: 8.281 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.232e-06/1.232e-06, allocations: 0 / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.141e-05, allocations: 6.25 kB / 268.5 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002161/0.002182, allocations: 1.718 MB / 270.2 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001844/0.002367, allocations: 67.72 kB / 270.3 MB, free: 7.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.002413, allocations: 4.844 kB / 270.3 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.739e-05/0.00248, allocations: 11.92 kB / 270.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.002521, allocations: 20.55 kB / 270.3 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.999e-05/0.002611, allocations: 12.67 kB / 270.3 MB, free: 7.945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.002706, allocations: 75.64 kB / 270.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.002786, allocations: 16.64 kB / 270.4 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.002838, allocations: 39.89 kB / 270.5 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.002892, allocations: 18.98 kB / 270.5 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.002905, allocations: 4 kB / 270.5 MB, free: 7.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.002914, allocations: 8 kB / 270.5 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.002928, allocations: 7.938 kB / 270.5 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.002949, allocations: 27.91 kB / 270.5 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.054e-05/0.00303, allocations: 43.89 kB / 270.6 MB, free: 7.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.003031, allocations: 0 / 270.6 MB, free: 7.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003032, allocations: 0 / 270.6 MB, free: 7.711 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.003035, allocations: 1.656 kB / 270.6 MB, free: 7.711 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.0002472/0.003283, allocations: 264.8 kB / 270.8 MB, free: 7.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.00331, allocations: 8.031 kB / 270.8 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.003337, allocations: 13.67 kB / 270.8 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.003454, allocations: 121.8 kB / 271 MB, free: 7.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.003463, allocations: 9.281 kB / 271 MB, free: 7.254 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.003482, allocations: 8.312 kB / 271 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.304e-05/0.003565, allocations: 67.17 kB / 271.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.003574, allocations: 192 / 271.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.00358, allocations: 384 / 271.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.003584, allocations: 0.875 kB / 271.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.003616, allocations: 35.8 kB / 271.1 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.003957, allocations: 235.4 kB / 271.3 MB, free: 6.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.004009, allocations: 42.55 kB / 271.4 MB, free: 6.836 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.004024, allocations: 12.8 kB / 271.4 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.004032, allocations: 7.938 kB / 271.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.004056, allocations: 34.56 kB / 271.4 MB, free: 6.77 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.004057, allocations: 0 / 271.4 MB, free: 6.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004333/0.00449, allocations: 336 kB / 271.7 MB, free: 6.387 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.004516, allocations: 55.41 kB / 271.8 MB, free: 6.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/0.004575, allocations: 118.8 kB / 271.9 MB, free: 6.191 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004585, allocations: 25.7 kB / 271.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.004623, allocations: 96.02 kB / 272 MB, free: 6.062 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.004645, allocations: 35.69 kB / 272.1 MB, free: 6.027 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.004674, allocations: 29.69 kB / 272.1 MB, free: 5.992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.004752, allocations: 322.8 kB / 272.4 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.004761, allocations: 4 kB / 272.4 MB, free: 5.664 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.004799, allocations: 53.08 kB / 272.5 MB, free: 5.594 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.442e-05/0.004853, allocations: 69.05 kB / 272.5 MB, free: 5.508 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.004855, allocations: 0 / 272.5 MB, free: 5.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.086e-05/0.004935, allocations: 85.47 kB / 272.6 MB, free: 5.418 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.004945, allocations: 8 kB / 272.6 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.004949, allocations: 0 / 272.6 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.004959, allocations: 144 / 272.6 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.005019, allocations: 32.02 kB / 272.7 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005021, allocations: 4 kB / 272.7 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.005042, allocations: 4 kB / 272.7 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.005047, allocations: 7.984 kB / 272.7 MB, free: 5.363 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 4.875e-05/0.005095, allocations: 113.8 kB / 272.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.005113, allocations: 11.92 kB / 272.8 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.005133, allocations: 8.438 kB / 272.8 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005135, allocations: 7.938 kB / 272.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.005136, allocations: 3.938 kB / 272.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.005139, allocations: 0 / 272.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.005389, allocations: 286.8 kB / 273.1 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00539, allocations: 0 / 273.1 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.00544, allocations: 23.92 kB / 273.1 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.005443, allocations: 4 kB / 273.1 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.005449, allocations: 4 kB / 273.1 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.005452, allocations: 4 kB / 273.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005453, allocations: 0 / 273.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.005579, allocations: 207.8 kB / 273.3 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.005588, allocations: 11.95 kB / 273.3 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-06/0.005596, allocations: 0 / 273.3 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.504e-05/0.005631, allocations: 7.984 kB / 273.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.005646, allocations: 7.938 kB / 273.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.00565, allocations: 4 kB / 273.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.091e-05/0.005661, allocations: 16.84 kB / 273.4 MB, free: 4.566 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.005661, allocations: 0 / 273.4 MB, free: 4.566 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001309/0.005792, allocations: 12 kB / 273.4 MB, free: 4.555 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 6.803e-05/0.00586, allocations: 88.39 kB / 273.5 MB, free: 4.461 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.99e-05/0.00593, allocations: 56.7 kB / 273.5 MB, free: 4.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.005932, allocations: 0 / 273.5 MB, free: 4.402 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.005954, allocations: 28.97 kB / 273.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.006106, allocations: 18.42 kB / 273.6 MB, free: 4.355 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.006427, allocations: 265.6 kB / 273.8 MB, free: 4.055 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.006463, allocations: 63.34 kB / 273.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.166e-05/0.006485, allocations: 8.5 kB / 273.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.006527, allocations: 59.38 kB / 274 MB, free: 3.906 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/0.006527, allocations: 0 / 274 MB, free: 3.906 MB / 250.7 MB Notification: Performance of Templates: time 0.002065/0.008592, allocations: 0.6952 MB / 274.7 MB, free: 3.223 MB / 250.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 -s gbode -gbm=radauIIA3 -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.501407879870385]