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.001106/0.001106, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.002835, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001126/0.001126, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002483, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9278/0.9278, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07781/1.006, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.312e-06/1.312e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.826e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003008/0.003026, allocations: 1.731 MB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001799/0.003206, allocations: 76.47 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.003262, allocations: 0 / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.811e-05/0.00332, allocations: 11.86 kB / 246.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-05/0.003378, allocations: 15.86 kB / 246.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.878e-05/0.003456, allocations: 15.92 kB / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003576, allocations: 71.66 kB / 246.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.003676, allocations: 15.98 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.003756, allocations: 31.97 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.003828, allocations: 31.91 kB / 246.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.00385, allocations: 4 kB / 246.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.003863, allocations: 4 kB / 246.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.00388, allocations: 11.94 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.003911, allocations: 16 kB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.004031, allocations: 39.78 kB / 246.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.5e-05/0.004046, allocations: 4 kB / 246.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004046, allocations: 0 / 246.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.004062, allocations: 0 / 246.6 MB, free: 12.25 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.0004172/0.004479, allocations: 276.5 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.004513, allocations: 12.03 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.004548, allocations: 8.922 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.004706, allocations: 125.6 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.004717, allocations: 8.375 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.004739, allocations: 8.312 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/0.004838, allocations: 58.23 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.004847, allocations: 192 / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.004855, allocations: 384 / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.004861, allocations: 4.375 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.087e-05/0.004912, allocations: 27.58 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.005382, allocations: 247.2 kB / 247.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.497e-05/0.005457, allocations: 38.56 kB / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.005479, allocations: 12.84 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.00549, allocations: 11.94 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.005516, allocations: 34.5 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.005517, allocations: 0 / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005932/0.00611, allocations: 344.1 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.006143, allocations: 55.41 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.006209, allocations: 114.8 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.006221, allocations: 25.7 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.006267, allocations: 104 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.006295, allocations: 31.67 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.006336, allocations: 33.69 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.006423, allocations: 314.8 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.00644, allocations: 7.984 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.00652, allocations: 52.77 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.688e-05/0.006597, allocations: 80.97 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006598, allocations: 0 / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001103/0.006708, allocations: 85.47 kB / 248.7 MB, free: 9.926 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.006723, allocations: 8 kB / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.006729, allocations: 0 / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.00674, allocations: 4 kB / 248.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.006836, allocations: 27.92 kB / 248.7 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.006841, allocations: 8.094 kB / 248.7 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.006878, allocations: 4 kB / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.006884, allocations: 4 kB / 248.7 MB, free: 9.871 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 7.024e-05/0.006955, allocations: 117.8 kB / 248.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.006981, allocations: 7.938 kB / 248.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.007012, allocations: 8.438 kB / 248.8 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007014, allocations: 0 / 248.8 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007016, allocations: 3.938 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007019, allocations: 0 / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.007373, allocations: 290.8 kB / 249.1 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.007376, allocations: 0 / 249.1 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.007464, allocations: 20 kB / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.007479, allocations: 11.94 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007481, allocations: 0 / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.007492, allocations: 8 kB / 249.2 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.007496, allocations: 3.938 kB / 249.2 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.007499, allocations: 4 kB / 249.2 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.007667, allocations: 203.8 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.007682, allocations: 4 kB / 249.4 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.007748, allocations: 0 / 249.4 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.007766, allocations: 16.11 kB / 249.4 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.007771, allocations: 4 kB / 249.4 MB, free: 9.102 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.531e-05/0.007786, allocations: 8.859 kB / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007786, allocations: 4 kB / 249.4 MB, free: 9.086 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.008022, allocations: 16 kB / 249.4 MB, free: 9.07 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.86e-05/0.008101, allocations: 84.34 kB / 249.5 MB, free: 8.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.814e-05/0.008199, allocations: 52.8 kB / 249.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.008206, allocations: 0 / 249.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.008239, allocations: 32.72 kB / 249.6 MB, free: 8.891 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.008478, allocations: 22.02 kB / 249.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009896/0.009468, allocations: 261.1 kB / 249.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.412e-05/0.009512, allocations: 63.34 kB / 249.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.313e-05/0.009545, allocations: 4.5 kB / 249.9 MB, free: 8.492 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.009597, allocations: 59.36 kB / 250 MB, free: 8.434 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009598, allocations: 4 kB / 250 MB, free: 8.43 MB / 250.7 MB Notification: Performance of Templates: time 0.002651/0.01225, allocations: 0.7044 MB / 250.7 MB, free: 7.734 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] 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","",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.4510359186679125]