Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000757/0.000757, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001825, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006965/0.0006965, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009302/0.001627, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9296/0.9296, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08642/1.016, allocations: 53.86 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.874e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00226/0.002279, allocations: 1.728 MB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.002426, allocations: 71.66 kB / 247 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.002477, allocations: 4 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.253e-05/0.00253, allocations: 3.938 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.00258, allocations: 31.78 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.126e-05/0.002641, allocations: 7.984 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.002782, allocations: 67.67 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.002871, allocations: 19.97 kB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.002946, allocations: 39.91 kB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.003011, allocations: 15.97 kB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.003034, allocations: 11.94 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.003046, allocations: 4 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.003065, allocations: 8 kB / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.003091, allocations: 19.94 kB / 247.2 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.003204, allocations: 47.72 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.003214, allocations: 0 / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.003216, allocations: 4 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.003224, allocations: 0 / 247.3 MB, free: 11.46 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.0003522/0.003576, allocations: 268.5 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.003607, allocations: 12.62 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.003642, allocations: 12.92 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.003775, allocations: 117.7 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.003784, allocations: 4.375 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.003808, allocations: 12.38 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.909e-05/0.003897, allocations: 65.69 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.003907, allocations: 4.172 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.003916, allocations: 4.375 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.003921, allocations: 384 / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.058e-05/0.003962, allocations: 23.92 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.004402, allocations: 243.2 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.004471, allocations: 50.53 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.00449, allocations: 12.86 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.004497, allocations: 3.938 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.004518, allocations: 42.55 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.004519, allocations: 0 / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005045/0.005024, allocations: 343.2 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.005054, allocations: 59.34 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.005118, allocations: 114.7 kB / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.005128, allocations: 29.7 kB / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.005166, allocations: 99.97 kB / 248.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.005189, allocations: 35.67 kB / 248.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.005224, allocations: 25.7 kB / 248.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.005302, allocations: 322.8 kB / 249.1 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.005317, allocations: 11.98 kB / 249.1 MB, free: 9.379 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.005358, allocations: 45.14 kB / 249.2 MB, free: 9.316 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.439e-05/0.005422, allocations: 65.06 kB / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.005424, allocations: 3.938 kB / 249.3 MB, free: 9.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.997e-05/0.005524, allocations: 93.41 kB / 249.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.005537, allocations: 4 kB / 249.4 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.005543, allocations: 4 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.005556, allocations: 0 / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.005637, allocations: 27.98 kB / 249.4 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.005641, allocations: 0 / 249.4 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.005672, allocations: 8 kB / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.005676, allocations: 0 / 249.4 MB, free: 9.09 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 5.601e-05/0.005732, allocations: 125.9 kB / 249.5 MB, free: 8.957 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.005754, allocations: 7.938 kB / 249.5 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.00578, allocations: 12.44 kB / 249.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005782, allocations: 0 / 249.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.005783, allocations: 0 / 249.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.005786, allocations: 0 / 249.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.006213, allocations: 286.8 kB / 249.8 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.006216, allocations: 3.984 kB / 249.8 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.006281, allocations: 16.16 kB / 249.8 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.006293, allocations: 15.97 kB / 249.9 MB, free: 8.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.006296, allocations: 4 kB / 249.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.006303, allocations: 192 / 249.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.006307, allocations: 4 kB / 249.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.006309, allocations: 0 / 249.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.00645, allocations: 207.7 kB / 250.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.006463, allocations: 4 kB / 250.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.006518, allocations: 0 / 250.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.006536, allocations: 19.86 kB / 250.1 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.006543, allocations: 8 kB / 250.1 MB, free: 8.309 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.515e-05/0.006558, allocations: 18.05 kB / 250.1 MB, free: 8.289 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006558, allocations: 0 / 250.1 MB, free: 8.289 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.006756, allocations: 16 kB / 250.1 MB, free: 8.273 MB / 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 7.872e-05/0.006835, allocations: 76.42 kB / 250.2 MB, free: 8.191 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.201e-05/0.006927, allocations: 52.7 kB / 250.3 MB, free: 8.137 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.006934, allocations: 4 kB / 250.3 MB, free: 8.133 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.006974, allocations: 37.28 kB / 250.3 MB, free: 8.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.00721, allocations: 75.34 kB / 250.4 MB, free: 8.008 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.008064, allocations: 252.6 kB / 250.6 MB, free: 7.715 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.008107, allocations: 63.34 kB / 250.7 MB, free: 7.633 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.008139, allocations: 8.688 kB / 250.7 MB, free: 7.625 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.008189, allocations: 59.36 kB / 250.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of SimCode: time 6.12e-07/0.00819, allocations: 0 / 250.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of Templates: time 0.002357/0.01055, allocations: 0.6579 MB / 251.4 MB, free: 6.926 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.36845366563648]