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.001552/0.001552, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.001602/0.001602, allocations: 212 kB / 23.74 MB, free: 4.688 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.00161/0.00161, allocations: 47.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2545, allocations: 53.36 MB / 431.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.005056/0.2595, allocations: 2.282 MB / 433.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006045/0.2601, allocations: 199.3 kB / 434.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2602, allocations: 7.938 kB / 434.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2604, allocations: 35.64 kB / 434.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.2606, allocations: 63.41 kB / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.2608, allocations: 59.88 kB / 434.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.2612, allocations: 235 kB / 434.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.2614, allocations: 79.02 kB / 434.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.2616, allocations: 91.7 kB / 434.6 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.2618, allocations: 103.5 kB / 434.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.2618, allocations: 20 kB / 434.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.297e-05/0.2619, allocations: 20 kB / 434.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.262, allocations: 51.83 kB / 434.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.2621, allocations: 111.5 kB / 434.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.2625, allocations: 264.2 kB / 435.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2625, allocations: 0 / 435.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2625, allocations: 0 / 435.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.2625, allocations: 0 / 435.2 MB, free: 3.336 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.0009821/0.2635, allocations: 445.8 kB / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001083/0.2636, allocations: 15.97 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.2637, allocations: 24.8 kB / 435.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.264, allocations: 164 kB / 435.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.264, allocations: 20.88 kB / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.2641, allocations: 20.38 kB / 435.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.2646, allocations: 232 kB / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2646, allocations: 4.188 kB / 436.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.2646, allocations: 11.94 kB / 436.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2647, allocations: 8 kB / 436.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.265, allocations: 131.9 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.2665, allocations: 0.8172 MB / 437.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.2668, allocations: 151.8 kB / 437.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.789e-05/0.2669, allocations: 62.55 kB / 437.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.2669, allocations: 4 kB / 437.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.2669, allocations: 42.42 kB / 437.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.2669, allocations: 4 kB / 437.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003841/0.2673, allocations: 166.3 kB / 437.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.2674, allocations: 106.8 kB / 437.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.2676, allocations: 208.4 kB / 437.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2676, allocations: 25.7 kB / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2677, allocations: 160.2 kB / 438 MB, free: 336 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.2678, allocations: 71.42 kB / 438.1 MB, free: 264 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.2678, allocations: 45.98 kB / 438.1 MB, free: 208 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.268, allocations: 330.8 kB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.2681, allocations: 48.53 kB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.2683, allocations: 155.6 kB / 438.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2686, allocations: 225.5 kB / 438.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2686, allocations: 0 / 438.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003844/0.2689, allocations: 249.2 kB / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.269, allocations: 11.94 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.269, allocations: 4 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.269, allocations: 4 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2692, allocations: 63.84 kB / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2692, allocations: 4 kB / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2694, allocations: 28.19 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.2694, allocations: 20 kB / 439.2 MB, free: 14.97 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.0001344/0.2695, allocations: 141.7 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.2696, allocations: 19.84 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.2696, allocations: 25.39 kB / 439.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2696, allocations: 8 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2697, allocations: 0 / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2697, allocations: 3.938 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.2702, allocations: 399.9 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2702, allocations: 0 / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.2704, allocations: 35.98 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2704, allocations: 4 kB / 439.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2704, allocations: 4 kB / 439.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2704, allocations: 0 / 439.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2704, allocations: 4 kB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.2709, allocations: 385.1 kB / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.2709, allocations: 23.88 kB / 440.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.2709, allocations: 4 kB / 440.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2711, allocations: 4 kB / 440.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.2711, allocations: 19.92 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.2711, allocations: 4 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.2713, allocations: 147.3 kB / 440.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2713, allocations: 0 / 440.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.2716, allocations: 55.89 kB / 440.5 MB, free: 13.62 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.0001174/0.2717, allocations: 99.25 kB / 440.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.272, allocations: 139.2 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.272, allocations: 0 / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.2721, allocations: 52.48 kB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.2726, allocations: 34.38 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2736, allocations: 0.6118 MB / 441.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.2741, allocations: 0.7359 MB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.339e-05/0.2741, allocations: 25.94 kB / 442.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.2742, allocations: 15.44 kB / 442.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2742, allocations: 0 / 442.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Templates: time 0.00502/0.2792, allocations: 1.708 MB / 443.9 MB, free: 10.15 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.467264913953841]