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.001348/0.001348, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.001045/0.001045, allocations: 164 kB / 25.75 MB, free: 8.961 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.9425/0.9425, allocations: 158.6 MB / 187.5 MB, free: 2.93 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.493e-06/1.493e-06, allocations: 0 / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.112e-05, allocations: 2.312 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002353/0.002374, allocations: 2.256 MB / 253.4 MB, free: 5.543 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004144/0.002788, allocations: 187.3 kB / 253.5 MB, free: 5.359 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.00287, allocations: 4 kB / 253.5 MB, free: 5.355 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.402e-05/0.002934, allocations: 39.64 kB / 253.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.003062, allocations: 63.36 kB / 253.6 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.003209, allocations: 51.92 kB / 253.7 MB, free: 5.203 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.003385, allocations: 242.8 kB / 253.9 MB, free: 4.965 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.003544, allocations: 75.02 kB / 254 MB, free: 4.887 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.003682, allocations: 147.7 kB / 254.1 MB, free: 4.742 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.003794, allocations: 71.8 kB / 254.2 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.003825, allocations: 24 kB / 254.2 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.003849, allocations: 20 kB / 254.3 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.003882, allocations: 47.83 kB / 254.3 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.003944, allocations: 79.81 kB / 254.4 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.004123, allocations: 171.3 kB / 254.5 MB, free: 4.336 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004126, allocations: 0 / 254.5 MB, free: 4.336 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004127, allocations: 0 / 254.5 MB, free: 4.336 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.004132, allocations: 0 / 254.5 MB, free: 4.336 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.0005086/0.004641, allocations: 0.5275 MB / 255.1 MB, free: 3.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004678, allocations: 15.98 kB / 255.1 MB, free: 3.754 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.00475, allocations: 44.78 kB / 255.1 MB, free: 3.711 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.004928, allocations: 168.2 kB / 255.3 MB, free: 3.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.004945, allocations: 12.88 kB / 255.3 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.004983, allocations: 24.38 kB / 255.3 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.005226, allocations: 207.3 kB / 255.5 MB, free: 3.258 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.00524, allocations: 4.188 kB / 255.5 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.005258, allocations: 12.38 kB / 255.6 MB, free: 3.242 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.00527, allocations: 4.375 kB / 255.6 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.005402, allocations: 91.73 kB / 255.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.006149, allocations: 0.911 MB / 256.6 MB, free: 2.188 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.006297, allocations: 153.3 kB / 256.7 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.006358, allocations: 55.19 kB / 256.8 MB, free: 1.934 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.006367, allocations: 8 kB / 256.8 MB, free: 1.926 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.00639, allocations: 37.39 kB / 256.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.006391, allocations: 0 / 256.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002439/0.006635, allocations: 133.4 kB / 256.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.006682, allocations: 114.7 kB / 257 MB, free: 1.605 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.006807, allocations: 230.9 kB / 257.3 MB, free: 1.359 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.006818, allocations: 25.7 kB / 257.3 MB, free: 1.328 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.0069, allocations: 210.9 kB / 257.5 MB, free: 1.117 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.006935, allocations: 67.42 kB / 257.6 MB, free: 1.051 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.006986, allocations: 59.59 kB / 257.6 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.007098, allocations: 0.4962 MB / 258.1 MB, free: 484 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.007142, allocations: 28.55 kB / 258.2 MB, free: 456 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.007245, allocations: 188 kB / 258.3 MB, free: 200 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.007423, allocations: 227.4 kB / 258.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.007426, allocations: 0 / 258.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002141/0.00764, allocations: 221.3 kB / 258.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.00767, allocations: 4 kB / 258.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.007681, allocations: 8 kB / 258.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.007701, allocations: 8 kB / 258.8 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.007846, allocations: 63.91 kB / 258.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.007855, allocations: 11.88 kB / 258.9 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.007928, allocations: 27.78 kB / 258.9 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.007938, allocations: 8 kB / 258.9 MB, free: 15.55 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 8.392e-05/0.008022, allocations: 180.7 kB / 259.1 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.008068, allocations: 23.91 kB / 259.1 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.00811, allocations: 25.45 kB / 259.1 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008112, allocations: 0 / 259.1 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.008119, allocations: 7.938 kB / 259.1 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008122, allocations: 0 / 259.1 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.008446, allocations: 380.4 kB / 259.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.008449, allocations: 3.984 kB / 259.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.008558, allocations: 43.92 kB / 259.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.008561, allocations: 8.031 kB / 259.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.008573, allocations: 4 kB / 259.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.008577, allocations: 7.938 kB / 259.6 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.008578, allocations: 0 / 259.6 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.008833, allocations: 438.1 kB / 260 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.00885, allocations: 19.78 kB / 260 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.008869, allocations: 12.03 kB / 260 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.008939, allocations: 7.984 kB / 260 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.008958, allocations: 7.984 kB / 260 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.008964, allocations: 8 kB / 260.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.908e-05/0.009023, allocations: 164.8 kB / 260.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009023, allocations: 0 / 260.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00022/0.009243, allocations: 55.89 kB / 260.3 MB, free: 14.08 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 7.143e-05/0.009315, allocations: 99.19 kB / 260.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.009481, allocations: 120.2 kB / 260.5 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009483, allocations: 4 kB / 260.5 MB, free: 13.85 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.009533, allocations: 59.19 kB / 260.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.009824, allocations: 35.66 kB / 260.6 MB, free: 13.76 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.0104, allocations: 0.5111 MB / 261.1 MB, free: 13.2 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.709e-05/0.01045, allocations: 75.98 kB / 261.2 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.0105, allocations: 21.62 kB / 261.2 MB, free: 13.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.01053, allocations: 20.5 kB / 261.2 MB, free: 13.07 MB / 250.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01054, allocations: 0 / 261.2 MB, free: 13.07 MB / 250.7 MB Notification: Performance of Templates: time 0.002925/0.01346, allocations: 1.417 MB / 262.6 MB, free: 11.66 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.6745981969870627]