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.001359/0.001359, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001439/0.001439, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.431/1.431, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001787/0.001787, allocations: 51.86 kB / 371.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2539, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003836/0.2577, allocations: 2.136 MB / 425.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005454/0.2582, allocations: 199.3 kB / 426.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2584, allocations: 8 kB / 426.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.2585, allocations: 35.64 kB / 426.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.2587, allocations: 63.42 kB / 426.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.2589, allocations: 43.94 kB / 426.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.2592, allocations: 242.9 kB / 426.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.2594, allocations: 78.8 kB / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.2595, allocations: 95.7 kB / 426.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.2597, allocations: 87.55 kB / 426.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.2597, allocations: 24 kB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.2598, allocations: 20 kB / 426.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.2598, allocations: 47.83 kB / 426.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.26, allocations: 95.59 kB / 427 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.2603, allocations: 253.8 kB / 427.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.2603, allocations: 4 kB / 427.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2603, allocations: 0 / 427.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.2603, allocations: 0 / 427.2 MB, free: 11.06 MB / 334.1 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.0007868/0.2611, allocations: 448.9 kB / 427.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.2611, allocations: 12.03 kB / 427.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.2612, allocations: 24.8 kB / 427.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.2614, allocations: 162.2 kB / 427.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.2614, allocations: 20.88 kB / 427.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.2615, allocations: 20.31 kB / 427.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.2619, allocations: 240 kB / 428.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2619, allocations: 192 / 428.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.2619, allocations: 15.94 kB / 428.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2619, allocations: 4 kB / 428.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.2622, allocations: 127.9 kB / 428.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.2633, allocations: 0.7318 MB / 429 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.2636, allocations: 151.7 kB / 429.1 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.2637, allocations: 70.48 kB / 429.2 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.2637, allocations: 320 / 429.2 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2637, allocations: 38.55 kB / 429.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2637, allocations: 0 / 429.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003897/0.2641, allocations: 165.4 kB / 429.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.2642, allocations: 110.8 kB / 429.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.2644, allocations: 173.5 kB / 429.7 MB, free: 8.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.2644, allocations: 37.64 kB / 429.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2645, allocations: 168.1 kB / 429.9 MB, free: 8.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.2646, allocations: 67.42 kB / 430 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.2647, allocations: 49.98 kB / 430 MB, free: 8.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2648, allocations: 326.8 kB / 430.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.2649, allocations: 48.55 kB / 430.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.2651, allocations: 159.6 kB / 430.5 MB, free: 7.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.2654, allocations: 217.5 kB / 430.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2654, allocations: 0 / 430.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003911/0.2658, allocations: 246 kB / 431 MB, free: 6.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2658, allocations: 8 kB / 431 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2658, allocations: 7.938 kB / 431 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2659, allocations: 8 kB / 431 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.2661, allocations: 55.92 kB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.2661, allocations: 11.92 kB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.2662, allocations: 27.78 kB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.2662, allocations: 16.34 kB / 431.1 MB, free: 6.82 MB / 334.1 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 0.0001317/0.2664, allocations: 137.8 kB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.2664, allocations: 19.91 kB / 431.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.2665, allocations: 17.34 kB / 431.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2665, allocations: 4.188 kB / 431.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.2665, allocations: 7.922 kB / 431.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.2665, allocations: 7.984 kB / 431.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.267, allocations: 340.6 kB / 431.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.267, allocations: 4 kB / 431.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.2672, allocations: 40.02 kB / 431.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.2672, allocations: 4 kB / 431.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2672, allocations: 4 kB / 431.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.2672, allocations: 7.984 kB / 431.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2672, allocations: 0 / 431.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.2677, allocations: 385.1 kB / 432.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.2677, allocations: 19.84 kB / 432.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.2677, allocations: 4 kB / 432.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2679, allocations: 8 kB / 432.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.2679, allocations: 12.02 kB / 432.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.2679, allocations: 4 kB / 432.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.268, allocations: 128.2 kB / 432.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.268, allocations: 0 / 432.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.2684, allocations: 63.83 kB / 432.3 MB, free: 5.547 MB / 334.1 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 0.0001192/0.2685, allocations: 103.2 kB / 432.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.2688, allocations: 135.9 kB / 432.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2688, allocations: 192 / 432.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.2689, allocations: 63.8 kB / 432.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.2693, allocations: 23.98 kB / 432.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2704, allocations: 0.6248 MB / 433.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.2706, allocations: 121.1 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.2706, allocations: 19.44 kB / 433.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2706, allocations: 0 / 433.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of Templates: time 0.004635/0.2753, allocations: 2.311 MB / 435.7 MB, free: 2.082 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.818886210210621]