Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001377/0.001377, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001466/0.001466, allocations: 164.5 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.636e-05, allocations: 2.281 kB / 325 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.004199/0.004225, allocations: 1.639 MB / 326.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003828/0.004608, allocations: 74.02 kB / 326.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.004711, allocations: 2.562 kB / 326.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.004824, allocations: 6.609 kB / 326.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.004908, allocations: 16.53 kB / 326.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.005056, allocations: 23.44 kB / 326.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.005236, allocations: 68.61 kB / 326.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.005354, allocations: 16.41 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.005453, allocations: 38.5 kB / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.005545, allocations: 16.97 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.005569, allocations: 5.344 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.032e-05/0.00559, allocations: 4.594 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.03e-05/0.00562, allocations: 16.38 kB / 327 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.005671, allocations: 20 kB / 327 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.005857, allocations: 64.05 kB / 327 MB, free: 15.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.005861, allocations: 0 / 327 MB, free: 15.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.005862, allocations: 0 / 327 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.005867, allocations: 1.312 kB / 327 MB, free: 15.23 MB / 302.1 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.000644/0.006512, allocations: 291.8 kB / 327.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.00656, allocations: 9.781 kB / 327.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.006622, allocations: 8.109 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.006867, allocations: 124.7 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.00689, allocations: 7.594 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.00693, allocations: 8.5 kB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.007191, allocations: 76.5 kB / 327.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.007213, allocations: 1.531 kB / 327.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.007229, allocations: 384 / 327.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.007237, allocations: 2.406 kB / 327.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.007374, allocations: 49.36 kB / 327.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009251/0.008299, allocations: 291.9 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.008485, allocations: 60.67 kB / 328 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.00854, allocations: 17.59 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.008558, allocations: 1.094 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.008605, allocations: 36.95 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.008607, allocations: 0 / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001113/0.00972, allocations: 374.1 kB / 328.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.009791, allocations: 57.56 kB / 328.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.009927, allocations: 106.5 kB / 328.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.00995, allocations: 26.67 kB / 328.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01005, allocations: 100.8 kB / 328.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.0101, allocations: 38.89 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.058e-05/0.01019, allocations: 31.14 kB / 328.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.0104, allocations: 323.2 kB / 329 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.01046, allocations: 16.28 kB / 329.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.01058, allocations: 60.2 kB / 329.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.01077, allocations: 92.38 kB / 329.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01077, allocations: 0 / 329.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002858/0.01106, allocations: 114.1 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.01108, allocations: 6.766 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01109, allocations: 1.375 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.01111, allocations: 1.25 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.01124, allocations: 22.69 kB / 329.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.01125, allocations: 6.688 kB / 329.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.01132, allocations: 6.219 kB / 329.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01133, allocations: 8.094 kB / 329.4 MB, free: 13.15 MB / 302.1 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 0.0001373/0.01147, allocations: 123.4 kB / 329.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.01151, allocations: 6.641 kB / 329.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.01155, allocations: 10.69 kB / 329.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01156, allocations: 1.438 kB / 329.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.01156, allocations: 4.547 kB / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01157, allocations: 1.969 kB / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.0122, allocations: 351.7 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01221, allocations: 1.062 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.01235, allocations: 22.06 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.01236, allocations: 2.406 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01237, allocations: 3.859 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.01238, allocations: 1.656 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.01239, allocations: 13.06 kB / 329.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.01278, allocations: 225.3 kB / 330.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.0128, allocations: 5.594 kB / 330.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.01284, allocations: 3.641 kB / 330.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.01294, allocations: 5.438 kB / 330.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.01298, allocations: 19.02 kB / 330.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01299, allocations: 3.938 kB / 330.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.484e-05/0.01309, allocations: 87.84 kB / 330.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01309, allocations: 0 / 330.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.01357, allocations: 13.53 kB / 330.3 MB, free: 12.38 MB / 302.1 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 0.0001644/0.01373, allocations: 104.1 kB / 330.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.01396, allocations: 53.62 kB / 330.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.01397, allocations: 9.031 kB / 330.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.01402, allocations: 25.92 kB / 330.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.01435, allocations: 14.95 kB / 330.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008344/0.01519, allocations: 291.7 kB / 330.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.0153, allocations: 75.47 kB / 330.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.01536, allocations: 10.97 kB / 330.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.01539, allocations: 12.38 kB / 330.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.01539, allocations: 0 / 330.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Templates: time 0.00446/0.01986, allocations: 0.6286 MB / 331.5 MB, free: 11.8 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.126561909914017]