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.001419/0.001419, allocations: 111.1 kB / 20.44 MB, free: 1.051 MB / 14.72 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.00153/0.00153, allocations: 212.2 kB / 23.73 MB, free: 4.152 MB / 14.72 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001744/0.001744, allocations: 55.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2553, allocations: 53.36 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00387/0.2591, allocations: 2.142 MB / 433.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004969/0.2596, allocations: 195.3 kB / 433.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.2597, allocations: 7.938 kB / 433.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.2598, allocations: 39.64 kB / 433.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.26, allocations: 67.41 kB / 434 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.2602, allocations: 47.94 kB / 434.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.2605, allocations: 235 kB / 434.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.2607, allocations: 75.02 kB / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2608, allocations: 87.72 kB / 434.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.261, allocations: 91.47 kB / 434.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.2611, allocations: 24 kB / 434.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.447e-05/0.2611, allocations: 20 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.2612, allocations: 47.84 kB / 434.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2613, allocations: 99.59 kB / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.2616, allocations: 257.2 kB / 435 MB, free: 3.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2616, allocations: 0 / 435 MB, free: 3.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2617, allocations: 0 / 435 MB, free: 3.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2617, allocations: 0 / 435 MB, free: 3.277 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.000785/0.2624, allocations: 445.8 kB / 435.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2625, allocations: 12.03 kB / 435.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.2625, allocations: 24.8 kB / 435.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.2628, allocations: 165.8 kB / 435.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.2628, allocations: 20.88 kB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.2629, allocations: 20.38 kB / 435.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.2633, allocations: 232 kB / 435.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.2633, allocations: 4.172 kB / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.2633, allocations: 15.94 kB / 435.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2633, allocations: 4 kB / 435.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.2636, allocations: 135.9 kB / 436 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.2647, allocations: 0.7281 MB / 436.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.265, allocations: 147.7 kB / 436.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.2651, allocations: 58.56 kB / 437 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2651, allocations: 7.984 kB / 437 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2651, allocations: 38.81 kB / 437 MB, free: 1.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.2651, allocations: 4 kB / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004178/0.2655, allocations: 169.6 kB / 437.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.2656, allocations: 106.8 kB / 437.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.2658, allocations: 171.5 kB / 437.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.2658, allocations: 29.7 kB / 437.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2659, allocations: 176.1 kB / 437.6 MB, free: 392 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.266, allocations: 63.44 kB / 437.7 MB, free: 328 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.2661, allocations: 53.94 kB / 437.8 MB, free: 268 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2662, allocations: 326.8 kB / 438.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.2663, allocations: 48.53 kB / 438.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.2665, allocations: 159.6 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.2668, allocations: 222.2 kB / 438.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2668, allocations: 4 kB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003723/0.2672, allocations: 245.6 kB / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2672, allocations: 8 kB / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2672, allocations: 11.94 kB / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.2672, allocations: 4 kB / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.2674, allocations: 63.91 kB / 438.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2674, allocations: 4 kB / 438.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.2676, allocations: 31.78 kB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2676, allocations: 12 kB / 438.9 MB, free: 15.04 MB / 350.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.0001237/0.2677, allocations: 141.7 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.2678, allocations: 15.91 kB / 439 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.2678, allocations: 29.33 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2678, allocations: 4 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2679, allocations: 0 / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2679, allocations: 7.938 kB / 439.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.2684, allocations: 340.5 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2684, allocations: 4 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.2686, allocations: 39.92 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2686, allocations: 4 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2686, allocations: 0 / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2686, allocations: 4 kB / 439.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2686, allocations: 4.094 kB / 439.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.269, allocations: 381.1 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.269, allocations: 23.88 kB / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.269, allocations: 0 / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.2692, allocations: 8 kB / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.2692, allocations: 7.984 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.2692, allocations: 8 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.572e-05/0.2693, allocations: 120 kB / 440 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2693, allocations: 0 / 440 MB, free: 13.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.2697, allocations: 63.83 kB / 440.1 MB, free: 13.77 MB / 350.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.0001244/0.2698, allocations: 107.2 kB / 440.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.2701, allocations: 131.8 kB / 440.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2701, allocations: 0 / 440.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.642e-05/0.2701, allocations: 52.91 kB / 440.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.2706, allocations: 39.92 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2717, allocations: 0.5924 MB / 441 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.2718, allocations: 129.2 kB / 441.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.423e-05/0.2719, allocations: 17.64 kB / 441.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.2719, allocations: 15.44 kB / 441.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2719, allocations: 0 / 441.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Templates: time 0.004653/0.2766, allocations: 1.624 MB / 442.8 MB, free: 11.03 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.401791887357831]