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.001076/0.001076, allocations: 85.95 kB / 23 MB, free: 1.504 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.001282/0.001282, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.8765/0.8765, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.723e-06/1.723e-06, allocations: 3.938 kB / 252.2 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.029e-05, allocations: 6.25 kB / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001899/0.00192, allocations: 1.665 MB / 253.9 MB, free: 5.598 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.002113, allocations: 67.72 kB / 254 MB, free: 5.531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.002168, allocations: 4 kB / 254 MB, free: 5.527 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.097e-05/0.002249, allocations: 11.86 kB / 254 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.002289, allocations: 11.86 kB / 254 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.287e-05/0.002382, allocations: 23.95 kB / 254 MB, free: 5.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.735e-05/0.00248, allocations: 67.67 kB / 254.1 MB, free: 5.414 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.00256, allocations: 15.98 kB / 254.1 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.002612, allocations: 39.89 kB / 254.1 MB, free: 5.359 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.002674, allocations: 23.86 kB / 254.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.002693, allocations: 8 kB / 254.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.002706, allocations: 4 kB / 254.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.002727, allocations: 7.984 kB / 254.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.002752, allocations: 23.92 kB / 254.2 MB, free: 5.293 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.837e-05/0.00285, allocations: 47.83 kB / 254.2 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002852, allocations: 0 / 254.2 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.002852, allocations: 0 / 254.2 MB, free: 5.246 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.002856, allocations: 4 kB / 254.3 MB, free: 5.242 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.0003232/0.003179, allocations: 388.4 kB / 254.6 MB, free: 4.824 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.003211, allocations: 11.98 kB / 254.6 MB, free: 4.812 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.003242, allocations: 16.89 kB / 254.7 MB, free: 4.797 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.003361, allocations: 128.4 kB / 254.8 MB, free: 4.645 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.00337, allocations: 4.375 kB / 254.8 MB, free: 4.641 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.003387, allocations: 8.375 kB / 254.8 MB, free: 4.633 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.101e-05/0.003468, allocations: 54.23 kB / 254.8 MB, free: 4.574 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003477, allocations: 192 / 254.8 MB, free: 4.574 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.003484, allocations: 8.375 kB / 254.9 MB, free: 4.566 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.003489, allocations: 384 / 254.9 MB, free: 4.566 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.003521, allocations: 31.7 kB / 254.9 MB, free: 4.539 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.003871, allocations: 339.3 kB / 255.2 MB, free: 4.172 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.191e-05/0.003933, allocations: 51.03 kB / 255.3 MB, free: 4.109 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.003952, allocations: 19.62 kB / 255.3 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.003958, allocations: 0 / 255.3 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.003976, allocations: 33.39 kB / 255.3 MB, free: 4.043 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.003976, allocations: 0 / 255.3 MB, free: 4.043 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003792/0.004355, allocations: 352.2 kB / 255.7 MB, free: 3.637 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.004392, allocations: 55.41 kB / 255.7 MB, free: 3.57 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.004464, allocations: 170.7 kB / 255.9 MB, free: 3.387 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.004474, allocations: 25.7 kB / 255.9 MB, free: 3.355 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.004524, allocations: 138.8 kB / 256 MB, free: 3.215 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.004546, allocations: 43.61 kB / 256.1 MB, free: 3.172 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.004578, allocations: 31.36 kB / 256.1 MB, free: 3.133 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.004688, allocations: 496.1 kB / 256.6 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.004701, allocations: 11.98 kB / 256.6 MB, free: 2.625 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/0.004743, allocations: 65.72 kB / 256.7 MB, free: 2.535 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.057e-05/0.004803, allocations: 90.05 kB / 256.8 MB, free: 2.422 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.004806, allocations: 7.922 kB / 256.8 MB, free: 2.414 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.941e-05/0.004906, allocations: 93.44 kB / 256.9 MB, free: 2.316 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.004917, allocations: 8 kB / 256.9 MB, free: 2.309 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004922, allocations: 0 / 256.9 MB, free: 2.309 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.004932, allocations: 7.938 kB / 256.9 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/0.004986, allocations: 23.98 kB / 256.9 MB, free: 2.277 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.00499, allocations: 8.094 kB / 256.9 MB, free: 2.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.005012, allocations: 0 / 256.9 MB, free: 2.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.005017, allocations: 4 kB / 256.9 MB, free: 2.266 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.377e-05/0.005101, allocations: 168.5 kB / 257.1 MB, free: 2.09 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.005119, allocations: 7.953 kB / 257.1 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.005144, allocations: 12.44 kB / 257.1 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.005146, allocations: 0 / 257.1 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.005147, allocations: 0 / 257.1 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005151, allocations: 0 / 257.1 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.005484, allocations: 392.2 kB / 257.5 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.005487, allocations: 4 kB / 257.5 MB, free: 1.629 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.005533, allocations: 19.98 kB / 257.5 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005535, allocations: 0 / 257.5 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.005542, allocations: 8 kB / 257.5 MB, free: 1.602 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.005544, allocations: 0 / 257.5 MB, free: 1.602 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.005546, allocations: 4 kB / 257.5 MB, free: 1.598 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.00569, allocations: 274.2 kB / 257.8 MB, free: 1.289 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.005698, allocations: 12.14 kB / 257.8 MB, free: 1.277 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.005707, allocations: 4 kB / 257.8 MB, free: 1.273 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/0.005743, allocations: 4 kB / 257.8 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.005757, allocations: 11.92 kB / 257.8 MB, free: 1.258 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.005761, allocations: 4 kB / 257.8 MB, free: 1.254 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.005794, allocations: 135.5 kB / 258 MB, free: 1.121 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005794, allocations: 0 / 258 MB, free: 1.121 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.005949, allocations: 16 kB / 258 MB, free: 1.105 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 5.907e-05/0.006008, allocations: 95.25 kB / 258.1 MB, free: 1.004 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.133e-05/0.006089, allocations: 63.94 kB / 258.1 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006091, allocations: 0 / 258.1 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.006113, allocations: 31.61 kB / 258.2 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.00632, allocations: 12 kB / 258.2 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.006696, allocations: 309.1 kB / 258.5 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.006729, allocations: 63.34 kB / 258.5 MB, free: 468 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.161e-05/0.006751, allocations: 12.44 kB / 258.5 MB, free: 456 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.006793, allocations: 82.19 kB / 258.6 MB, free: 372 kB / 234.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006794, allocations: 0 / 258.6 MB, free: 372 kB / 234.7 MB Notification: Performance of Templates: time 0.00195/0.008744, allocations: 0.6911 MB / 259.3 MB, free: 15.67 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.5897773010656238]