Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001317/0.001317, allocations: 80.94 kB / 23 MB, free: 1.512 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.001226/0.001226, allocations: 171.5 kB / 26.39 MB, free: 8.004 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9755/0.9755, allocations: 158.6 MB / 188.3 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.543e-05, allocations: 6.25 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00595/0.005975, allocations: 2.221 MB / 254.5 MB, free: 5.031 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004381/0.006413, allocations: 191.2 kB / 254.7 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.036e-05/0.006504, allocations: 4 kB / 254.7 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.346e-05/0.006577, allocations: 35.66 kB / 254.7 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.006729, allocations: 71.34 kB / 254.8 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.006883, allocations: 51.92 kB / 254.8 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.00845, allocations: 246.7 kB / 255.1 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.008631, allocations: 75 kB / 255.1 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.008796, allocations: 143.7 kB / 255.3 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.008918, allocations: 71.78 kB / 255.3 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.008949, allocations: 20 kB / 255.4 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.008977, allocations: 28 kB / 255.4 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.009021, allocations: 47.83 kB / 255.4 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.00909, allocations: 79.83 kB / 255.5 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.009304, allocations: 159.4 kB / 255.7 MB, free: 3.828 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.009308, allocations: 0 / 255.7 MB, free: 3.828 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.009309, allocations: 0 / 255.7 MB, free: 3.828 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.009313, allocations: 4 kB / 255.7 MB, free: 3.824 MB / 234.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.0005533/0.009866, allocations: 0.5391 MB / 256.2 MB, free: 3.246 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.009902, allocations: 11.98 kB / 256.2 MB, free: 3.234 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.009967, allocations: 40.8 kB / 256.3 MB, free: 3.195 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.01015, allocations: 172.2 kB / 256.4 MB, free: 3 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.01017, allocations: 16.88 kB / 256.4 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.0102, allocations: 20.38 kB / 256.5 MB, free: 2.961 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.01043, allocations: 191.3 kB / 256.7 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01044, allocations: 4.125 kB / 256.7 MB, free: 2.75 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.01046, allocations: 12.38 kB / 256.7 MB, free: 2.738 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.01047, allocations: 12.31 kB / 256.7 MB, free: 2.727 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.01058, allocations: 79.53 kB / 256.8 MB, free: 2.652 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006029/0.01661, allocations: 0.9149 MB / 257.7 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.01678, allocations: 133.3 kB / 257.8 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.01684, allocations: 51.03 kB / 257.9 MB, free: 1.453 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.01685, allocations: 4 kB / 257.9 MB, free: 1.449 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.01688, allocations: 49.33 kB / 257.9 MB, free: 1.391 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.943e-06/0.01688, allocations: 0 / 257.9 MB, free: 1.391 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002716/0.01715, allocations: 125.6 kB / 258 MB, free: 1.262 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.0172, allocations: 110.8 kB / 258.1 MB, free: 1.129 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.01734, allocations: 226.8 kB / 258.4 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.01735, allocations: 29.7 kB / 258.4 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.01745, allocations: 218.8 kB / 258.6 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.01749, allocations: 63.42 kB / 258.7 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.01756, allocations: 63.58 kB / 258.7 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.01771, allocations: 0.4962 MB / 259.2 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.01776, allocations: 24.53 kB / 259.2 MB, free: 15.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01787, allocations: 176 kB / 259.4 MB, free: 15.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.01807, allocations: 223.3 kB / 259.6 MB, free: 15.44 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01807, allocations: 4 kB / 259.6 MB, free: 15.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002501/0.01832, allocations: 193.6 kB / 259.8 MB, free: 15.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.01834, allocations: 8 kB / 259.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01835, allocations: 4 kB / 259.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.01836, allocations: 4 kB / 259.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.01853, allocations: 67.84 kB / 259.9 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.01854, allocations: 11.94 kB / 259.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01865, allocations: 27.78 kB / 259.9 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01866, allocations: 8 kB / 260 MB, free: 15.11 MB / 250.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.633e-05/0.01876, allocations: 176.4 kB / 260.1 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.01882, allocations: 27.97 kB / 260.2 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/0.0189, allocations: 25.45 kB / 260.2 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01891, allocations: 4 kB / 260.2 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01891, allocations: 3.938 kB / 260.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01891, allocations: 0 / 260.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/0.02242, allocations: 352.9 kB / 260.5 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.02242, allocations: 0 / 260.5 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.02258, allocations: 39.92 kB / 260.6 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.02258, allocations: 0 / 260.6 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.0226, allocations: 11.94 kB / 260.6 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.0226, allocations: 8.094 kB / 260.6 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.02261, allocations: 11.92 kB / 260.6 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.02292, allocations: 422 kB / 261 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.02295, allocations: 15.84 kB / 261 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.02297, allocations: 11.94 kB / 261 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.02308, allocations: 4 kB / 261 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.0231, allocations: 19.91 kB / 261.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.02311, allocations: 4 kB / 261.1 MB, free: 13.9 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.734e-05/0.02318, allocations: 160.8 kB / 261.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02318, allocations: 0 / 261.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.02352, allocations: 59.89 kB / 261.3 MB, free: 13.69 MB / 250.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.0001075/0.02363, allocations: 95.25 kB / 261.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.02381, allocations: 114.8 kB / 261.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02382, allocations: 0 / 261.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.02387, allocations: 44.48 kB / 261.5 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.02427, allocations: 36.83 kB / 261.6 MB, free: 13.39 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.02812, allocations: 0.5267 MB / 262.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.369e-05/0.02818, allocations: 75.98 kB / 262.2 MB, free: 12.72 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.728e-05/0.02826, allocations: 17.64 kB / 262.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.02835, allocations: 98.19 kB / 262.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02835, allocations: 0 / 262.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of Templates: time 0.006905/0.03526, allocations: 1.583 MB / 263.9 MB, free: 11.04 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.742208808660507]