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.00147/0.00147, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.000934/0.000934, allocations: 164.2 kB / 25.32 MB, free: 9.457 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.9677/0.9677, allocations: 158.6 MB / 187.2 MB, free: 2.512 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.683e-06/1.683e-06, allocations: 0 / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.047e-05, allocations: 6.312 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002466/0.002486, allocations: 2.25 MB / 253.3 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.002838, allocations: 195.2 kB / 253.5 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.00292, allocations: 7.938 kB / 253.5 MB, free: 1.141 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.476e-05/0.002994, allocations: 35.66 kB / 253.5 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.003121, allocations: 63.41 kB / 253.6 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.003279, allocations: 63.84 kB / 253.6 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.003476, allocations: 238.8 kB / 253.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.003641, allocations: 75 kB / 253.9 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.003775, allocations: 143.7 kB / 254.1 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.003888, allocations: 71.78 kB / 254.2 MB, free: 472 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.003918, allocations: 20 kB / 254.2 MB, free: 452 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.563e-05/0.003944, allocations: 20 kB / 254.2 MB, free: 432 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.003983, allocations: 55.81 kB / 254.2 MB, free: 376 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.004046, allocations: 75.83 kB / 254.3 MB, free: 300 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.004229, allocations: 163.4 kB / 254.5 MB, free: 136 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004231, allocations: 0 / 254.5 MB, free: 136 kB / 234.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004232, allocations: 0 / 254.5 MB, free: 136 kB / 234.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004236, allocations: 0 / 254.5 MB, free: 136 kB / 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.0005259/0.004762, allocations: 0.5315 MB / 255 MB, free: 15.56 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.004801, allocations: 19.98 kB / 255 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.00486, allocations: 44.73 kB / 255.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.005044, allocations: 168.2 kB / 255.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.005064, allocations: 20.88 kB / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.005109, allocations: 20.38 kB / 255.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.005361, allocations: 203.3 kB / 255.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.005375, allocations: 192 / 255.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.005396, allocations: 12.38 kB / 255.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.005405, allocations: 4.375 kB / 255.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.005536, allocations: 96.3 kB / 255.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007374/0.006273, allocations: 0.9072 MB / 256.5 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.006422, allocations: 149.2 kB / 256.6 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.00648, allocations: 50.98 kB / 256.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.006491, allocations: 7.938 kB / 256.7 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.006514, allocations: 41.39 kB / 256.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.006515, allocations: 0 / 256.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002511/0.006766, allocations: 133.8 kB / 256.9 MB, free: 13.54 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.006812, allocations: 118.7 kB / 257 MB, free: 13.39 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.006938, allocations: 226.9 kB / 257.2 MB, free: 13.15 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.006952, allocations: 29.7 kB / 257.2 MB, free: 13.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.007035, allocations: 214.9 kB / 257.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.007077, allocations: 67.42 kB / 257.5 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.007132, allocations: 55.59 kB / 257.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.007267, allocations: 0.4962 MB / 258.1 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.007313, allocations: 32.53 kB / 258.1 MB, free: 12.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.007427, allocations: 180 kB / 258.3 MB, free: 11.99 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.007612, allocations: 235.3 kB / 258.5 MB, free: 11.69 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.007615, allocations: 0 / 258.5 MB, free: 11.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002344/0.007849, allocations: 221.2 kB / 258.7 MB, free: 11.47 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.007864, allocations: 10.97 kB / 258.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.007871, allocations: 4.438 kB / 258.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.00789, allocations: 8 kB / 258.7 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.008024, allocations: 59.91 kB / 258.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.008035, allocations: 7.938 kB / 258.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.008105, allocations: 27.78 kB / 258.8 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.008119, allocations: 16 kB / 258.8 MB, free: 11.34 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.593e-05/0.008205, allocations: 172.5 kB / 259 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.00825, allocations: 28.03 kB / 259 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.00829, allocations: 21.45 kB / 259.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.008294, allocations: 7.984 kB / 259.1 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.008299, allocations: 7.938 kB / 259.1 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.008303, allocations: 0 / 259.1 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.008634, allocations: 388.4 kB / 259.5 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008636, allocations: 0 / 259.5 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.008739, allocations: 35.98 kB / 259.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.008743, allocations: 7.938 kB / 259.5 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.008759, allocations: 4 kB / 259.5 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.008762, allocations: 7.938 kB / 259.5 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008763, allocations: 0 / 259.5 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.009032, allocations: 441.8 kB / 259.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.00905, allocations: 27.7 kB / 260 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.009066, allocations: 8 kB / 260 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.009132, allocations: 0 / 260 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.009153, allocations: 15.98 kB / 260 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.009158, allocations: 4 kB / 260 MB, free: 10.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.621e-05/0.009224, allocations: 160.8 kB / 260.2 MB, free: 9.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009224, allocations: 0 / 260.2 MB, free: 9.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000222/0.009446, allocations: 51.89 kB / 260.2 MB, free: 9.879 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.912e-05/0.009525, allocations: 107.2 kB / 260.3 MB, free: 9.766 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.009706, allocations: 115.4 kB / 260.4 MB, free: 9.648 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.009707, allocations: 0 / 260.4 MB, free: 9.648 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.009759, allocations: 47.59 kB / 260.5 MB, free: 9.598 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.01008, allocations: 44.16 kB / 260.5 MB, free: 9.559 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/0.0107, allocations: 0.5148 MB / 261 MB, free: 8.996 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.568e-05/0.01076, allocations: 83.97 kB / 261.1 MB, free: 8.895 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.01081, allocations: 17.64 kB / 261.1 MB, free: 8.879 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.01084, allocations: 16.5 kB / 261.1 MB, free: 8.863 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01084, allocations: 0 / 261.1 MB, free: 8.863 MB / 250.7 MB Notification: Performance of Templates: time 0.003247/0.01409, allocations: 1.423 MB / 262.6 MB, free: 7.457 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.750981498043984]