Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.001759, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001716, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 63.91 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2641, allocations: 53.42 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003515/0.2676, allocations: 2.127 MB / 433.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000412/0.268, allocations: 203.2 kB / 434 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.19e-05/0.2681, allocations: 4 kB / 434 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.406e-05/0.2682, allocations: 31.66 kB / 434 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.2683, allocations: 71.34 kB / 434.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.2685, allocations: 51.92 kB / 434.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.2688, allocations: 231 kB / 434.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.269, allocations: 79 kB / 434.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.2691, allocations: 87.72 kB / 434.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2692, allocations: 87.55 kB / 434.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.2693, allocations: 28 kB / 434.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.2693, allocations: 20 kB / 434.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.2694, allocations: 43.84 kB / 434.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2695, allocations: 99.58 kB / 434.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.2698, allocations: 257.1 kB / 435 MB, free: 3.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2698, allocations: 0 / 435 MB, free: 3.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2698, allocations: 0 / 435 MB, free: 3.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.2698, allocations: 0 / 435 MB, free: 3.121 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.0007431/0.2705, allocations: 445.8 kB / 435.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2706, allocations: 15.98 kB / 435.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.2706, allocations: 24.8 kB / 435.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.2709, allocations: 169 kB / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2709, allocations: 20.88 kB / 435.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.2709, allocations: 20.38 kB / 435.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.2713, allocations: 232 kB / 435.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2714, allocations: 4.172 kB / 435.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.2714, allocations: 19.94 kB / 436 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2714, allocations: 4 kB / 436 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.2717, allocations: 131.9 kB / 436.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.2727, allocations: 0.732 MB / 436.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.273, allocations: 151.7 kB / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.2731, allocations: 58.56 kB / 437 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.2731, allocations: 4 kB / 437 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.2731, allocations: 42.56 kB / 437.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.2731, allocations: 0 / 437.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003828/0.2735, allocations: 178.2 kB / 437.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.2736, allocations: 110.8 kB / 437.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.2738, allocations: 171.5 kB / 437.5 MB, free: 424 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2738, allocations: 33.7 kB / 437.6 MB, free: 384 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2739, allocations: 164.1 kB / 437.7 MB, free: 216 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.274, allocations: 71.42 kB / 437.8 MB, free: 144 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.274, allocations: 49.94 kB / 437.8 MB, free: 88 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2742, allocations: 326.8 kB / 438.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.2743, allocations: 56.53 kB / 438.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.2745, allocations: 155.8 kB / 438.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.2748, allocations: 217.5 kB / 438.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2748, allocations: 0 / 438.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003966/0.2752, allocations: 241.5 kB / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2752, allocations: 10.81 kB / 438.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2752, allocations: 7.875 kB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2753, allocations: 8 kB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2755, allocations: 63.91 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2755, allocations: 4 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.2756, allocations: 27.78 kB / 438.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.2756, allocations: 12 kB / 438.9 MB, free: 14.87 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.0001241/0.2758, allocations: 133.9 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.2758, allocations: 19.91 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.2759, allocations: 29.33 kB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2759, allocations: 4 kB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2759, allocations: 0 / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2759, allocations: 4 kB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.2765, allocations: 340.5 kB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2765, allocations: 7.938 kB / 439.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.2767, allocations: 39.97 kB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2767, allocations: 4 kB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2767, allocations: 4.094 kB / 439.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.2767, allocations: 7.938 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2767, allocations: 3.938 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.2772, allocations: 380.9 kB / 439.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.2772, allocations: 19.84 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.2773, allocations: 8.125 kB / 439.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2774, allocations: 4 kB / 439.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.2774, allocations: 19.91 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2774, allocations: 4 kB / 439.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.981e-05/0.2775, allocations: 120 kB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2775, allocations: 4 kB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.2779, allocations: 63.83 kB / 440.1 MB, free: 13.6 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.0001112/0.278, allocations: 95.25 kB / 440.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.2783, allocations: 140.1 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2783, allocations: 0.875 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.2784, allocations: 48.42 kB / 440.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.2789, allocations: 32.12 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2799, allocations: 0.5955 MB / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2801, allocations: 129.2 kB / 441.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.732e-05/0.2802, allocations: 21.64 kB / 441.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.2802, allocations: 15.44 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2802, allocations: 0 / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Templates: time 0.004776/0.285, allocations: 1.631 MB / 442.8 MB, free: 10.86 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.363660549744964]