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.0009584/0.0009584, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009172/0.0009172, allocations: 174.3 kB / 24.92 MB, free: 8.762 MB / 18.57 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] 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 1.393e-06/1.393e-06, allocations: 0 / 273.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.251e-05, allocations: 2.312 kB / 273.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002374/0.002386, allocations: 2.288 MB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003606/0.002747, allocations: 211.1 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.002829, allocations: 4 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.087e-05/0.0029, allocations: 39.64 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.003038, allocations: 71.34 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.003165, allocations: 59.8 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.003349, allocations: 238.8 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.003487, allocations: 77.62 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.003619, allocations: 143.7 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.003732, allocations: 67.8 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.00376, allocations: 20 kB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.188e-05/0.003782, allocations: 20 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.003819, allocations: 59.81 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.003876, allocations: 83.81 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.00404, allocations: 159.3 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004042, allocations: 0 / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004043, allocations: 0 / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004046, allocations: 0 / 277 MB, free: 13.62 MB / 266.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.0004434/0.004489, allocations: 432.4 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.004522, allocations: 12.02 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.004567, allocations: 28.92 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.004716, allocations: 145.4 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.004735, allocations: 24.86 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.004766, allocations: 24.33 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.004945, allocations: 176 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.004957, allocations: 4.188 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.004971, allocations: 8.375 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.004981, allocations: 8.375 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.005064, allocations: 71.62 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.005666, allocations: 0.6637 MB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.005773, allocations: 107.7 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.005814, allocations: 42.86 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.005825, allocations: 4 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.005846, allocations: 38.56 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.005848, allocations: 4 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001816/0.006029, allocations: 105.5 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.006068, allocations: 106.8 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.006166, allocations: 167.4 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.006179, allocations: 33.7 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.006243, allocations: 164.1 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.006278, allocations: 67.42 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.006328, allocations: 49.92 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.97e-05/0.006408, allocations: 330.8 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.006435, allocations: 20.55 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.006516, allocations: 142.7 kB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.006653, allocations: 174.1 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.006655, allocations: 0 / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001655/0.006821, allocations: 169.6 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.006832, allocations: 8.062 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.00684, allocations: 4 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.006856, allocations: 7.984 kB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.007026, allocations: 75.84 kB / 280.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.007032, allocations: 7.938 kB / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.879e-05/0.0071, allocations: 23.83 kB / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.00711, allocations: 11.94 kB / 280.4 MB, free: 9.895 MB / 266.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.504e-05/0.007175, allocations: 125.8 kB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.007223, allocations: 19.98 kB / 280.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.007253, allocations: 25.45 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.007256, allocations: 8 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.007259, allocations: 3.938 kB / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007262, allocations: 0 / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.007528, allocations: 269.3 kB / 280.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.00753, allocations: 0 / 280.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.007658, allocations: 51.89 kB / 280.9 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007661, allocations: 3.938 kB / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.00767, allocations: 8 kB / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007671, allocations: 4.094 kB / 280.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.007673, allocations: 4 kB / 280.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.007855, allocations: 305.2 kB / 281.2 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.007874, allocations: 23.77 kB / 281.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.00789, allocations: 7.984 kB / 281.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.007964, allocations: 4 kB / 281.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.007982, allocations: 11.98 kB / 281.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.007989, allocations: 8 kB / 281.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.19e-05/0.008021, allocations: 42.44 kB / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008021, allocations: 0 / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.008244, allocations: 59.89 kB / 281.4 MB, free: 8.859 MB / 266.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 6.787e-05/0.008312, allocations: 80.36 kB / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.008437, allocations: 104.6 kB / 281.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.00844, allocations: 0 / 281.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.008478, allocations: 45.59 kB / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.00872, allocations: 32.11 kB / 281.6 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.009209, allocations: 450.3 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.845e-05/0.009258, allocations: 79.97 kB / 282.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.009317, allocations: 21.67 kB / 282.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.009394, allocations: 79.36 kB / 282.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009395, allocations: 0 / 282.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of Templates: time 0.003264/0.01266, allocations: 1.66 MB / 283.9 MB, free: 6.285 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5056571667082608]