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.001036/0.001036, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001007/0.001007, allocations: 162.1 kB / 25.61 MB, free: 8.91 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.8884/0.8884, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.924e-06/1.924e-06, allocations: 0 / 251.4 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.203e-05, allocations: 2.312 kB / 251.4 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003207/0.003229, allocations: 1.665 MB / 253.1 MB, free: 5.598 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.003518, allocations: 71.72 kB / 253.2 MB, free: 5.527 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.432e-05/0.003602, allocations: 0 / 253.2 MB, free: 5.527 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.003729, allocations: 11.88 kB / 253.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.003795, allocations: 15.84 kB / 253.2 MB, free: 5.5 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.003945, allocations: 19.97 kB / 253.2 MB, free: 5.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.004083, allocations: 71.59 kB / 253.3 MB, free: 5.41 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.004215, allocations: 12 kB / 253.3 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.004303, allocations: 43.95 kB / 253.4 MB, free: 5.355 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.004397, allocations: 15.92 kB / 253.4 MB, free: 5.34 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.004421, allocations: 4 kB / 253.4 MB, free: 5.336 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.004442, allocations: 8 kB / 253.4 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.004474, allocations: 15.97 kB / 253.4 MB, free: 5.312 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.004518, allocations: 19.94 kB / 253.4 MB, free: 5.293 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.004688, allocations: 43.83 kB / 253.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.00469, allocations: 0 / 253.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.004691, allocations: 0 / 253.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.004696, allocations: 0 / 253.5 MB, free: 5.25 MB / 234.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.0005414/0.005238, allocations: 396.4 kB / 253.8 MB, free: 4.824 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.005301, allocations: 15.98 kB / 253.9 MB, free: 4.809 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.005352, allocations: 12.89 kB / 253.9 MB, free: 4.797 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.005534, allocations: 128.4 kB / 254 MB, free: 4.645 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.005549, allocations: 8.375 kB / 254 MB, free: 4.637 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.005574, allocations: 4.375 kB / 254 MB, free: 4.633 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.005687, allocations: 61.89 kB / 254.1 MB, free: 4.57 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.005698, allocations: 192 / 254.1 MB, free: 4.57 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.005705, allocations: 384 / 254.1 MB, free: 4.57 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.005712, allocations: 384 / 254.1 MB, free: 4.57 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.005761, allocations: 31.92 kB / 254.1 MB, free: 4.539 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.00627, allocations: 339.3 kB / 254.4 MB, free: 4.172 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.006355, allocations: 47.03 kB / 254.5 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.006387, allocations: 23.62 kB / 254.5 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.006395, allocations: 0 / 254.5 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.006429, allocations: 41.31 kB / 254.5 MB, free: 4.035 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.006431, allocations: 0 / 254.5 MB, free: 4.035 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.000522/0.006953, allocations: 336.3 kB / 254.9 MB, free: 3.641 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.006982, allocations: 63.41 kB / 254.9 MB, free: 3.566 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.00707, allocations: 170.7 kB / 255.1 MB, free: 3.383 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.007082, allocations: 25.7 kB / 255.1 MB, free: 3.352 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.00715, allocations: 142.8 kB / 255.3 MB, free: 3.207 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.007182, allocations: 39.61 kB / 255.3 MB, free: 3.168 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.007228, allocations: 31.38 kB / 255.3 MB, free: 3.129 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.007379, allocations: 0.4922 MB / 255.8 MB, free: 2.625 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.007402, allocations: 8 kB / 255.8 MB, free: 2.617 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.007462, allocations: 65.72 kB / 255.9 MB, free: 2.531 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.007559, allocations: 97.97 kB / 256 MB, free: 2.41 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.007562, allocations: 3.938 kB / 256 MB, free: 2.406 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001452/0.007707, allocations: 89.5 kB / 256.1 MB, free: 2.312 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.007723, allocations: 8 kB / 256.1 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.007728, allocations: 0 / 256.1 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.007744, allocations: 4 kB / 256.1 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.007825, allocations: 19.98 kB / 256.1 MB, free: 2.281 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.007829, allocations: 4 kB / 256.1 MB, free: 2.277 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.007867, allocations: 12.03 kB / 256.1 MB, free: 2.266 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.007874, allocations: 4 kB / 256.1 MB, free: 2.262 MB / 234.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.758e-05/0.007961, allocations: 164.5 kB / 256.3 MB, free: 2.09 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.007991, allocations: 7.953 kB / 256.3 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.008024, allocations: 16.42 kB / 256.3 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.008026, allocations: 0 / 256.3 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.008028, allocations: 0 / 256.3 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.008032, allocations: 0 / 256.3 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.008464, allocations: 384.3 kB / 256.7 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.008467, allocations: 4 kB / 256.7 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.849e-05/0.008546, allocations: 23.98 kB / 256.7 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.008549, allocations: 0 / 256.7 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.008558, allocations: 4 kB / 256.7 MB, free: 1.605 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.008567, allocations: 0 / 256.7 MB, free: 1.605 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.008572, allocations: 4 kB / 256.7 MB, free: 1.602 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.008793, allocations: 278.4 kB / 257 MB, free: 1.289 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.008813, allocations: 11.94 kB / 257 MB, free: 1.277 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.008829, allocations: 8.109 kB / 257 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.008896, allocations: 4 kB / 257 MB, free: 1.266 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.008919, allocations: 11.94 kB / 257 MB, free: 1.254 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.008927, allocations: 7.984 kB / 257 MB, free: 1.246 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.008979, allocations: 131.5 kB / 257.2 MB, free: 1.117 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008979, allocations: 0 / 257.2 MB, free: 1.117 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.009251, allocations: 19.94 kB / 257.2 MB, free: 1.098 MB / 234.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.155e-05/0.009343, allocations: 99.19 kB / 257.3 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.009455, allocations: 55.81 kB / 257.3 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.009457, allocations: 4 kB / 257.3 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.00951, allocations: 31.55 kB / 257.4 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.009815, allocations: 12 kB / 257.4 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.01031, allocations: 301.2 kB / 257.7 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.818e-05/0.01036, allocations: 63.34 kB / 257.7 MB, free: 468 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.649e-05/0.0104, allocations: 12.48 kB / 257.8 MB, free: 456 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.01046, allocations: 78.2 kB / 257.8 MB, free: 376 kB / 234.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01046, allocations: 0 / 257.8 MB, free: 376 kB / 234.7 MB Notification: Performance of Templates: time 0.002711/0.01317, allocations: 0.6867 MB / 258.5 MB, free: 15.68 MB / 250.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] 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","",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.5368514307774603]