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.0009216/0.0009216, allocations: 83.89 kB / 21.18 MB, free: 3.391 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.0008708/0.0008708, allocations: 145.1 kB / 24.54 MB, free: 36 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 0.8988/0.8988, allocations: 173.3 MB / 201.1 MB, free: 8.965 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.543e-06/1.543e-06, allocations: 0 / 268 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.899e-05, allocations: 6.25 kB / 268 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002272/0.002291, allocations: 1.674 MB / 269.6 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002334/0.002525, allocations: 67.72 kB / 269.7 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.00258, allocations: 0 / 269.7 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.00268, allocations: 15.86 kB / 269.7 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.002734, allocations: 23.84 kB / 269.7 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.002847, allocations: 15.97 kB / 269.8 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.002967, allocations: 71.61 kB / 269.8 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.003063, allocations: 11.98 kB / 269.8 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.003121, allocations: 39.95 kB / 269.9 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.003181, allocations: 15.92 kB / 269.9 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.003202, allocations: 4 kB / 269.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.003216, allocations: 8 kB / 269.9 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.003236, allocations: 11.92 kB / 269.9 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.003265, allocations: 23.98 kB / 269.9 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003383, allocations: 47.83 kB / 270 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003385, allocations: 0 / 270 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003386, allocations: 0 / 270 MB, free: 4.27 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.003389, allocations: 0 / 270 MB, free: 4.27 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.000365/0.003754, allocations: 384.5 kB / 270.4 MB, free: 3.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.00379, allocations: 12.92 kB / 270.4 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.003832, allocations: 12.89 kB / 270.4 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.003968, allocations: 124.5 kB / 270.5 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.003978, allocations: 4.375 kB / 270.5 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.004003, allocations: 16.33 kB / 270.5 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.004109, allocations: 62.17 kB / 270.6 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.00412, allocations: 192 / 270.6 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.004129, allocations: 384 / 270.6 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.004137, allocations: 4.375 kB / 270.6 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.493e-05/0.004192, allocations: 31.91 kB / 270.6 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.004658, allocations: 354.8 kB / 271 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.186e-05/0.00474, allocations: 58.97 kB / 271 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.004765, allocations: 11.69 kB / 271 MB, free: 3.086 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.004773, allocations: 8 kB / 271.1 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.004796, allocations: 45.31 kB / 271.1 MB, free: 3.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.004797, allocations: 0 / 271.1 MB, free: 3.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005149/0.005312, allocations: 352.2 kB / 271.4 MB, free: 2.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.005339, allocations: 55.34 kB / 271.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.005414, allocations: 174 kB / 271.7 MB, free: 2.363 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.005427, allocations: 29.7 kB / 271.7 MB, free: 2.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.005474, allocations: 138.8 kB / 271.8 MB, free: 2.188 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.005497, allocations: 35.69 kB / 271.9 MB, free: 2.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.005537, allocations: 35.38 kB / 271.9 MB, free: 2.109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.005649, allocations: 0.5 MB / 272.4 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.005671, allocations: 4 kB / 272.4 MB, free: 1.594 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.005722, allocations: 73.61 kB / 272.5 MB, free: 1.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.427e-05/0.005807, allocations: 93.97 kB / 272.6 MB, free: 1.383 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005809, allocations: 4 kB / 272.6 MB, free: 1.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001229/0.005932, allocations: 97.5 kB / 272.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.005942, allocations: 8.094 kB / 272.7 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005948, allocations: 4 kB / 272.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.00596, allocations: 0 / 272.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.006028, allocations: 27.98 kB / 272.7 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.006033, allocations: 0 / 272.7 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.006066, allocations: 8 kB / 272.7 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.006072, allocations: 7.938 kB / 272.7 MB, free: 1.223 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 6.59e-05/0.006138, allocations: 168.5 kB / 272.9 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.006165, allocations: 11.94 kB / 272.9 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.006189, allocations: 8.438 kB / 272.9 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.00619, allocations: 4 kB / 272.9 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006193, allocations: 4 kB / 272.9 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.006198, allocations: 0 / 272.9 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.006543, allocations: 407.6 kB / 273.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006545, allocations: 0 / 273.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.006609, allocations: 19.98 kB / 273.3 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.006611, allocations: 0 / 273.3 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.00662, allocations: 8 kB / 273.3 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.006622, allocations: 8.156 kB / 273.3 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.006625, allocations: 3.938 kB / 273.4 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.006802, allocations: 278.3 kB / 273.6 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.006812, allocations: 4 kB / 273.6 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.006825, allocations: 7.938 kB / 273.6 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.006881, allocations: 4 kB / 273.6 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.0069, allocations: 11.92 kB / 273.7 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.006904, allocations: 4 kB / 273.7 MB, free: 176 kB / 250.7 MB Notification: Performance of sorting global known variables: time 3.874e-05/0.006943, allocations: 132.3 kB / 273.8 MB, free: 44 kB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006943, allocations: 0 / 273.8 MB, free: 44 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.007199, allocations: 20.03 kB / 273.8 MB, free: 24 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 8.039e-05/0.00728, allocations: 99.38 kB / 273.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.007392, allocations: 67.61 kB / 274 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007393, allocations: 0 / 274 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.402e-05/0.007427, allocations: 35.55 kB / 274 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.007703, allocations: 15.59 kB / 274 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.008118, allocations: 304.9 kB / 274.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.343e-05/0.008161, allocations: 59.34 kB / 274.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.789e-05/0.008189, allocations: 12.47 kB / 274.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.008214, allocations: 12.5 kB / 274.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008214, allocations: 4 kB / 274.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Templates: time 0.002337/0.01055, allocations: 0.6592 MB / 275.1 MB, free: 14.69 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.6246814499609172]