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.00125/0.00125, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001065/0.001065, allocations: 171.7 kB / 24.91 MB, free: 8.746 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 0.9882/0.9882, allocations: 177.1 MB / 205.3 MB, free: 5.449 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.515e-05, allocations: 2.312 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003257/0.003283, allocations: 2.249 MB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000571/0.003854, allocations: 211.1 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.003952, allocations: 4 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.909e-05/0.004042, allocations: 39.58 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.004226, allocations: 67.41 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.004392, allocations: 47.88 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.004646, allocations: 254.8 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.004832, allocations: 77.62 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.005029, allocations: 139.7 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.005173, allocations: 75.78 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.005215, allocations: 20 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.005247, allocations: 20 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.005293, allocations: 51.81 kB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.005376, allocations: 75.83 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.005589, allocations: 163.4 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005591, allocations: 0 / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005592, allocations: 0 / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005596, allocations: 4 kB / 276.9 MB, free: 13.79 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.0005532/0.006149, allocations: 420.4 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.006185, allocations: 8.031 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.006243, allocations: 32.92 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.006411, allocations: 149.4 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.006431, allocations: 20.88 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.00647, allocations: 28.33 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.006706, allocations: 180 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.006721, allocations: 4.188 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.006741, allocations: 12.38 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.006751, allocations: 8.375 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.00687, allocations: 62.5 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.007679, allocations: 0.6676 MB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.007828, allocations: 115.6 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.007886, allocations: 42.86 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.007898, allocations: 4 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.007925, allocations: 38.5 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.007927, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002313/0.008158, allocations: 101.6 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.00821, allocations: 106.8 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.008339, allocations: 171.4 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.008353, allocations: 29.7 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.008439, allocations: 168.1 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.008485, allocations: 67.36 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.008559, allocations: 57.92 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.008653, allocations: 326.8 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.008693, allocations: 20.55 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.008798, allocations: 134.8 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.008981, allocations: 182 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.008985, allocations: 4 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002434/0.009228, allocations: 165.3 kB / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.009246, allocations: 8 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.009254, allocations: 4 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.00927, allocations: 4.188 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.009453, allocations: 60.3 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.009463, allocations: 11.92 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.009574, allocations: 31.83 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.00959, allocations: 15.98 kB / 280.3 MB, free: 10.06 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 9.294e-05/0.009683, allocations: 125.8 kB / 280.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.00975, allocations: 15.98 kB / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.009792, allocations: 17.47 kB / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.009795, allocations: 4 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.009798, allocations: 0 / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.009806, allocations: 11.92 kB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.01021, allocations: 269.1 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.01022, allocations: 4 kB / 280.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.01038, allocations: 35.98 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.01038, allocations: 4 kB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.0104, allocations: 0 / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.01041, allocations: 15.86 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01042, allocations: 3.938 kB / 280.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.01067, allocations: 301.2 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.0107, allocations: 23.83 kB / 281.1 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.01073, allocations: 16.03 kB / 281.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01085, allocations: 4 kB / 281.1 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.01088, allocations: 15.92 kB / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01089, allocations: 4 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.01093, allocations: 42.44 kB / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01093, allocations: 0 / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.01129, allocations: 59.89 kB / 281.3 MB, free: 9.035 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 0.0001025/0.01139, allocations: 80.42 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.01156, allocations: 104.7 kB / 281.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.01157, allocations: 3.938 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.01162, allocations: 40.78 kB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.01198, allocations: 27.92 kB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.01266, allocations: 454.2 kB / 282 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.602e-05/0.01273, allocations: 83.92 kB / 282 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.912e-05/0.01281, allocations: 17.64 kB / 282.1 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.972e-05/0.01291, allocations: 79.36 kB / 282.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01291, allocations: 0 / 282.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of Templates: time 0.004442/0.01735, allocations: 1.577 MB / 283.7 MB, free: 6.543 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 -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.7871522190980613]