Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.00107/0.00107, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.002663, allocations: 449.8 kB / 10.44 MB, free: 248 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.001041/0.001041, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002383, allocations: 479.5 kB / 11.83 MB, free: 2.34 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 1.026/1.026, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08242/1.108, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.015e-05, allocations: 6.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003295/0.003315, allocations: 2.3 MB / 247 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.003702, allocations: 219.1 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.003787, allocations: 4 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.615e-05/0.003874, allocations: 35.64 kB / 247.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.004009, allocations: 67.34 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.004155, allocations: 51.92 kB / 247.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.004391, allocations: 238.9 kB / 247.6 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.004563, allocations: 89.55 kB / 247.7 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.004749, allocations: 151.7 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.004889, allocations: 71.78 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.004928, allocations: 20 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.004965, allocations: 24 kB / 248 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.005009, allocations: 39.81 kB / 248 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.005083, allocations: 63.88 kB / 248.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.005301, allocations: 151.4 kB / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.005312, allocations: 0 / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005313, allocations: 0 / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.005323, allocations: 0 / 248.2 MB, free: 10.71 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006312/0.005954, allocations: 472.1 kB / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.005988, allocations: 12.03 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.006052, allocations: 36.86 kB / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.006234, allocations: 141.5 kB / 248.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.00625, allocations: 12.88 kB / 248.9 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.006294, allocations: 36.31 kB / 248.9 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.006526, allocations: 184 kB / 249.1 MB, free: 9.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.006538, allocations: 192 / 249.1 MB, free: 9.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.006557, allocations: 12.36 kB / 249.1 MB, free: 9.758 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.058e-06/0.006566, allocations: 4.375 kB / 249.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.006683, allocations: 67.83 kB / 249.2 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.007444, allocations: 0.6638 MB / 249.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.00759, allocations: 119.8 kB / 249.9 MB, free: 8.848 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.007639, allocations: 34.58 kB / 250 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.007652, allocations: 4 kB / 250 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.007678, allocations: 42.55 kB / 250 MB, free: 8.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.007679, allocations: 0 / 250 MB, free: 8.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002319/0.007911, allocations: 109.7 kB / 250.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.00796, allocations: 106.8 kB / 250.2 MB, free: 8.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.008085, allocations: 167.2 kB / 250.4 MB, free: 8.328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.0081, allocations: 29.7 kB / 250.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.008181, allocations: 164.2 kB / 250.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.008228, allocations: 71.41 kB / 250.7 MB, free: 8.055 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.008295, allocations: 53.97 kB / 250.7 MB, free: 7.992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.008393, allocations: 330.8 kB / 251 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/0.008429, allocations: 16.56 kB / 251 MB, free: 7.645 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.008533, allocations: 135.2 kB / 251.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.008713, allocations: 185.5 kB / 251.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.008716, allocations: 0 / 251.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000229/0.008945, allocations: 169.2 kB / 251.5 MB, free: 7.062 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.008961, allocations: 8 kB / 251.5 MB, free: 7.055 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.008969, allocations: 7.984 kB / 251.5 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.008984, allocations: 4 kB / 251.5 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.009235, allocations: 79.64 kB / 251.6 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.009243, allocations: 9.156 kB / 251.6 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.009345, allocations: 27.84 kB / 251.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.009358, allocations: 12 kB / 251.7 MB, free: 6.922 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.349e-05/0.009441, allocations: 125.7 kB / 251.8 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.009506, allocations: 19.92 kB / 251.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.009549, allocations: 25.45 kB / 251.8 MB, free: 6.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.009553, allocations: 4 kB / 251.8 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.009557, allocations: 3.938 kB / 251.8 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.009562, allocations: 4 kB / 251.8 MB, free: 6.738 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.009959, allocations: 269.2 kB / 252.1 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.009963, allocations: 7.984 kB / 252.1 MB, free: 6.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.01015, allocations: 47.92 kB / 252.2 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.01017, allocations: 11.89 kB / 252.2 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.01018, allocations: 4 kB / 252.2 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01019, allocations: 0 / 252.2 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.01019, allocations: 7.984 kB / 252.2 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.0102, allocations: 0 / 252.2 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.01045, allocations: 315.4 kB / 252.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.01047, allocations: 8 kB / 252.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.01058, allocations: 4.031 kB / 252.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.01061, allocations: 16.22 kB / 252.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.01061, allocations: 4 kB / 252.5 MB, free: 6 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.639e-05/0.01066, allocations: 42.44 kB / 252.6 MB, free: 5.957 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01066, allocations: 0 / 252.6 MB, free: 5.957 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003573/0.01102, allocations: 55.89 kB / 252.6 MB, free: 5.902 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.883e-05/0.01112, allocations: 88.36 kB / 252.7 MB, free: 5.805 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.01129, allocations: 120.9 kB / 252.8 MB, free: 5.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.0113, allocations: 7.984 kB / 252.8 MB, free: 5.676 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.01137, allocations: 44.78 kB / 252.9 MB, free: 5.629 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.01184, allocations: 326 kB / 253.2 MB, free: 5.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.01313, allocations: 422 kB / 253.6 MB, free: 4.801 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.324e-05/0.01319, allocations: 75.98 kB / 253.7 MB, free: 4.707 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.04e-05/0.01327, allocations: 17.64 kB / 253.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.01338, allocations: 75.36 kB / 253.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01338, allocations: 0 / 253.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of Templates: time 0.00368/0.01706, allocations: 1.559 MB / 255.3 MB, free: 3.086 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.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.5194432148709893]