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.000925/0.000925, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00432/0.005245, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008485/0.0008485, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001214/0.002062, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8661/0.8661, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1489/1.015, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.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.263e-06/1.263e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.386e-06/9.649e-06, allocations: 2.312 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001721/0.00173, allocations: 1.73 MB / 241.5 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.001839, allocations: 67.72 kB / 241.5 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.001883, allocations: 0 / 241.5 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.305e-05/0.001926, allocations: 7.922 kB / 241.5 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.645e-05/0.001963, allocations: 19.8 kB / 241.5 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.43e-05/0.002017, allocations: 15.98 kB / 241.6 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.706e-05/0.002104, allocations: 73.12 kB / 241.6 MB, free: 4.465 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.716e-05/0.002181, allocations: 11.98 kB / 241.6 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.002242, allocations: 39.91 kB / 241.7 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.002302, allocations: 28.52 kB / 241.7 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.002324, allocations: 4 kB / 241.7 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.002334, allocations: 4.594 kB / 241.7 MB, free: 4.379 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.002351, allocations: 11.94 kB / 241.7 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.002372, allocations: 20.5 kB / 241.8 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.921e-05/0.002461, allocations: 45.44 kB / 241.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.00247, allocations: 0 / 241.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00247, allocations: 0 / 241.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.002478, allocations: 0 / 241.8 MB, free: 4.305 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.0005779/0.003056, allocations: 281.6 kB / 242.1 MB, free: 4.004 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.003085, allocations: 8.031 kB / 242.1 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.003115, allocations: 8.938 kB / 242.1 MB, free: 3.988 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.003239, allocations: 118.7 kB / 242.2 MB, free: 3.848 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.00325, allocations: 8.312 kB / 242.2 MB, free: 3.84 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.003271, allocations: 17.31 kB / 242.2 MB, free: 3.824 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.00345, allocations: 54.23 kB / 242.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.003465, allocations: 192 / 242.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.003473, allocations: 1.125 kB / 242.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.003482, allocations: 4.375 kB / 242.3 MB, free: 3.762 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.003526, allocations: 24.61 kB / 242.3 MB, free: 3.738 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.003926, allocations: 248 kB / 242.6 MB, free: 3.477 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/0.003988, allocations: 38.55 kB / 242.6 MB, free: 3.43 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.004006, allocations: 17.55 kB / 242.6 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.004014, allocations: 6.438 kB / 242.6 MB, free: 3.406 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.004036, allocations: 30.56 kB / 242.6 MB, free: 3.367 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.004038, allocations: 0 / 242.6 MB, free: 3.367 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005029/0.004541, allocations: 344.7 kB / 243 MB, free: 2.977 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.004565, allocations: 59.39 kB / 243 MB, free: 2.906 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.655e-05/0.004622, allocations: 110.7 kB / 243.1 MB, free: 2.785 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.004631, allocations: 30.52 kB / 243.2 MB, free: 2.75 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.004668, allocations: 96.02 kB / 243.3 MB, free: 2.652 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.004686, allocations: 44.7 kB / 243.3 MB, free: 2.609 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.004715, allocations: 21.72 kB / 243.3 MB, free: 2.582 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.004782, allocations: 318.8 kB / 243.6 MB, free: 2.262 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.004794, allocations: 11.12 kB / 243.7 MB, free: 2.254 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.004826, allocations: 49.12 kB / 243.7 MB, free: 2.188 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.222e-05/0.004878, allocations: 69.06 kB / 243.8 MB, free: 2.102 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.00488, allocations: 3.938 kB / 243.8 MB, free: 2.098 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.688e-05/0.004977, allocations: 86.44 kB / 243.9 MB, free: 2.008 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.00499, allocations: 11.98 kB / 243.9 MB, free: 1.996 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.004995, allocations: 0 / 243.9 MB, free: 1.996 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.005009, allocations: 4.906 kB / 243.9 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.005084, allocations: 23.98 kB / 243.9 MB, free: 1.969 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.005088, allocations: 5.781 kB / 243.9 MB, free: 1.965 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.00511, allocations: 0 / 243.9 MB, free: 1.965 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005115, allocations: 4 kB / 243.9 MB, free: 1.961 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 5.571e-05/0.00517, allocations: 117.8 kB / 244 MB, free: 1.836 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.005187, allocations: 12.59 kB / 244 MB, free: 1.824 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.005216, allocations: 12.42 kB / 244.1 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005218, allocations: 0.6875 kB / 244.1 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.00522, allocations: 0 / 244.1 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.005224, allocations: 5.969 kB / 244.1 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.005497, allocations: 274.8 kB / 244.3 MB, free: 1.496 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.005499, allocations: 0.5 kB / 244.3 MB, free: 1.496 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.005557, allocations: 27.98 kB / 244.4 MB, free: 1.469 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.005567, allocations: 16.78 kB / 244.4 MB, free: 1.453 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.00557, allocations: 0 / 244.4 MB, free: 1.453 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.005577, allocations: 5.625 kB / 244.4 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.005579, allocations: 0 / 244.4 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.005581, allocations: 4 kB / 244.4 MB, free: 1.445 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.00571, allocations: 203.9 kB / 244.6 MB, free: 1.215 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.005721, allocations: 15.97 kB / 244.6 MB, free: 1.199 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.00576, allocations: 8 kB / 244.6 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.005773, allocations: 11.92 kB / 244.6 MB, free: 1.18 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.005776, allocations: 0 / 244.6 MB, free: 1.18 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.683e-05/0.005792, allocations: 21.95 kB / 244.6 MB, free: 1.156 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005792, allocations: 0 / 244.6 MB, free: 1.156 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.005926, allocations: 16 kB / 244.7 MB, free: 1.141 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.832e-05/0.006025, allocations: 84.41 kB / 244.7 MB, free: 1.051 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.006116, allocations: 48.72 kB / 244.8 MB, free: 1 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.006127, allocations: 4 kB / 244.8 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.00616, allocations: 32.78 kB / 244.8 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.00639, allocations: 75.89 kB / 244.9 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/0.007132, allocations: 249.4 kB / 245.1 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.007165, allocations: 63.84 kB / 245.2 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.007194, allocations: 8.484 kB / 245.2 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.007242, allocations: 59.38 kB / 245.3 MB, free: 456 kB / 234.7 MB Notification: Performance of SimCode: time 9.12e-07/0.007243, allocations: 0 / 245.3 MB, free: 456 kB / 234.7 MB Notification: Performance of Templates: time 0.002121/0.009364, allocations: 0.6572 MB / 245.9 MB, free: 15.8 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.333728897385299]