Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001079/0.001079, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.002918, 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.0007271/0.0007271, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.002242, 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.881/0.881, allocations: 173.4 MB / 186 MB, free: 7.516 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1563/1.037, allocations: 52.48 MB / 238.5 MB, free: 7.602 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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.685e-05, allocations: 3.719 kB / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002827/0.002843, allocations: 2.292 MB / 242 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004122/0.003256, allocations: 208.5 kB / 242.2 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.00334, allocations: 4 kB / 242.2 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.091e-05/0.003421, allocations: 35.64 kB / 242.3 MB, free: 3.816 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.003549, allocations: 72.56 kB / 242.3 MB, free: 3.746 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.003671, allocations: 50.16 kB / 242.4 MB, free: 3.699 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.003889, allocations: 238.9 kB / 242.6 MB, free: 3.465 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.004053, allocations: 81.56 kB / 242.7 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.004245, allocations: 155.7 kB / 242.9 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.004369, allocations: 72.94 kB / 242.9 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.004408, allocations: 20 kB / 242.9 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.832e-05/0.004436, allocations: 20 kB / 243 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.00447, allocations: 36.88 kB / 243 MB, free: 3.086 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.004523, allocations: 67.88 kB / 243.1 MB, free: 3.02 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.004715, allocations: 151.4 kB / 243.2 MB, free: 2.871 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.00473, allocations: 8.938 kB / 243.2 MB, free: 2.863 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.004732, allocations: 0 / 243.2 MB, free: 2.863 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.004743, allocations: 3.938 kB / 243.2 MB, free: 2.859 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005534/0.005297, allocations: 474.8 kB / 243.7 MB, free: 2.371 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.005334, allocations: 10.56 kB / 243.7 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.005389, allocations: 36.91 kB / 243.7 MB, free: 2.328 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.005572, allocations: 145.5 kB / 243.9 MB, free: 2.16 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.005586, allocations: 12.88 kB / 243.9 MB, free: 2.148 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.005622, allocations: 24.38 kB / 243.9 MB, free: 2.125 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.005797, allocations: 188 kB / 244.1 MB, free: 1.926 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.005808, allocations: 192 / 244.1 MB, free: 1.926 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.00582, allocations: 5.844 kB / 244.1 MB, free: 1.922 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.005828, allocations: 8.375 kB / 244.1 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.761e-05/0.005905, allocations: 67.83 kB / 244.2 MB, free: 1.848 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.006517, allocations: 0.6616 MB / 244.8 MB, free: 1.156 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.00679, allocations: 107.9 kB / 244.9 MB, free: 1.02 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.00683, allocations: 41.69 kB / 245 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.006841, allocations: 4 kB / 245 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.006865, allocations: 38.56 kB / 245 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.006866, allocations: 0 / 245 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001952/0.007061, allocations: 109.7 kB / 245.1 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.007112, allocations: 106.8 kB / 245.2 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.007218, allocations: 177.2 kB / 245.4 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.00723, allocations: 29.7 kB / 245.4 MB, free: 468 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.007294, allocations: 161.1 kB / 245.6 MB, free: 304 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.007329, allocations: 67.42 kB / 245.7 MB, free: 236 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.007379, allocations: 58.86 kB / 245.7 MB, free: 168 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.007535, allocations: 326.8 kB / 246 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.00756, allocations: 20.55 kB / 246.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.007635, allocations: 124.5 kB / 246.2 MB, free: 15.65 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.007766, allocations: 185.4 kB / 246.4 MB, free: 15.42 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.007769, allocations: 0.5 kB / 246.4 MB, free: 15.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000161/0.00793, allocations: 176.1 kB / 246.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.007942, allocations: 8 kB / 246.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.00795, allocations: 4 kB / 246.6 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.007966, allocations: 4 kB / 246.6 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.008159, allocations: 79.84 kB / 246.6 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.008165, allocations: 4 kB / 246.6 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.008233, allocations: 35.7 kB / 246.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.008241, allocations: 8.188 kB / 246.7 MB, free: 15.11 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 6.977e-05/0.008311, allocations: 125.7 kB / 246.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.008348, allocations: 19.98 kB / 246.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.008388, allocations: 29.45 kB / 246.9 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.008391, allocations: 4 kB / 246.9 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008395, allocations: 3.938 kB / 246.9 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.008398, allocations: 3.984 kB / 246.9 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.00868, allocations: 269.2 kB / 247.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008682, allocations: 0 / 247.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.00882, allocations: 51.91 kB / 247.2 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.008837, allocations: 19.84 kB / 247.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.00884, allocations: 96 / 247.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.00885, allocations: 8 kB / 247.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.008853, allocations: 0 / 247.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.008856, allocations: 4 kB / 247.2 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.009216, allocations: 315.2 kB / 247.5 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.009236, allocations: 8 kB / 247.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.009309, allocations: 0 / 247.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.009329, allocations: 15.97 kB / 247.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.009335, allocations: 4 kB / 247.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.709e-05/0.009372, allocations: 38.45 kB / 247.6 MB, free: 14.13 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009372, allocations: 0 / 247.6 MB, free: 14.13 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.0096, allocations: 63.89 kB / 247.6 MB, free: 14.07 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.782e-05/0.009698, allocations: 95.39 kB / 247.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.009839, allocations: 103.8 kB / 247.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.00985, allocations: 7.984 kB / 247.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.009901, allocations: 56.98 kB / 247.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.01024, allocations: 325 kB / 248.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.01118, allocations: 410.3 kB / 248.6 MB, free: 12.99 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.937e-05/0.01123, allocations: 79.98 kB / 248.7 MB, free: 12.89 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.01129, allocations: 17.64 kB / 248.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.01138, allocations: 79.36 kB / 248.8 MB, free: 12.8 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01138, allocations: 0 / 248.8 MB, free: 12.8 MB / 250.7 MB Notification: Performance of Templates: time 0.003405/0.01478, allocations: 1.571 MB / 250.4 MB, free: 11.26 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3521878365427256]