Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009493/0.0009493, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002563, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00165/0.002868, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9418/0.9418, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09297/1.035, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.155e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002541/0.002563, allocations: 2.303 MB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003704/0.002933, allocations: 211.1 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.003005, allocations: 4 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.148e-05/0.003066, allocations: 39.64 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.753e-05/0.003164, allocations: 71.34 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.633e-05/0.00326, allocations: 51.92 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.003428, allocations: 238.9 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.003566, allocations: 77.62 kB / 248.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.003715, allocations: 159.6 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.00382, allocations: 79.77 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.003854, allocations: 20 kB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.33e-05/0.003877, allocations: 20 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.00391, allocations: 35.88 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.003961, allocations: 67.88 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.00413, allocations: 147.5 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.00414, allocations: 4 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004141, allocations: 0 / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.00415, allocations: 0 / 248.7 MB, free: 10.08 MB / 250.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.000458/0.004608, allocations: 472 kB / 249.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.004638, allocations: 8.625 kB / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.004685, allocations: 32.92 kB / 249.2 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.004823, allocations: 145.5 kB / 249.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.004836, allocations: 12.88 kB / 249.4 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.004868, allocations: 32.27 kB / 249.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.005042, allocations: 187.9 kB / 249.6 MB, free: 9.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.005052, allocations: 4.188 kB / 249.6 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.005066, allocations: 12.36 kB / 249.6 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.005071, allocations: 8.375 kB / 249.6 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.005146, allocations: 59.84 kB / 249.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.005726, allocations: 0.6677 MB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.005831, allocations: 115.8 kB / 250.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.005872, allocations: 38.52 kB / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.005881, allocations: 4 kB / 250.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.005906, allocations: 42.55 kB / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.005907, allocations: 0 / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001603/0.006067, allocations: 101.7 kB / 250.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.006108, allocations: 110.8 kB / 250.7 MB, free: 7.879 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.006199, allocations: 171.2 kB / 250.9 MB, free: 7.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.00621, allocations: 29.7 kB / 250.9 MB, free: 7.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.006273, allocations: 160.2 kB / 251.1 MB, free: 7.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.006309, allocations: 75.39 kB / 251.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.006355, allocations: 53.98 kB / 251.2 MB, free: 7.359 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.006429, allocations: 330.8 kB / 251.5 MB, free: 7.027 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.006454, allocations: 16.56 kB / 251.5 MB, free: 7.012 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.006522, allocations: 127.3 kB / 251.7 MB, free: 6.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.006651, allocations: 198 kB / 251.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006654, allocations: 0 / 251.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001575/0.006811, allocations: 169.4 kB / 252 MB, free: 6.426 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.006823, allocations: 7.984 kB / 252 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006828, allocations: 4 kB / 252 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.00684, allocations: 4 kB / 252 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.007014, allocations: 79.84 kB / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.00702, allocations: 4 kB / 252.1 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.007084, allocations: 23.84 kB / 252.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.007093, allocations: 8.281 kB / 252.2 MB, free: 6.297 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 6.326e-05/0.007156, allocations: 133.7 kB / 252.3 MB, free: 6.156 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.007196, allocations: 19.98 kB / 252.3 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.007229, allocations: 25.45 kB / 252.3 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.007233, allocations: 4 kB / 252.3 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007236, allocations: 7.875 kB / 252.3 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007239, allocations: 0 / 252.3 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.007496, allocations: 273.1 kB / 252.6 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007498, allocations: 0 / 252.6 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.007619, allocations: 51.45 kB / 252.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.007635, allocations: 23.78 kB / 252.7 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007637, allocations: 0 / 252.7 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.007648, allocations: 7.984 kB / 252.7 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.00765, allocations: 0 / 252.7 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.007652, allocations: 4 kB / 252.7 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.007837, allocations: 309.1 kB / 253 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.007852, allocations: 8 kB / 253 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.007917, allocations: 0 / 253 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.007933, allocations: 11.98 kB / 253 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.007938, allocations: 8.234 kB / 253 MB, free: 5.367 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.965e-05/0.007968, allocations: 42.44 kB / 253.1 MB, free: 5.324 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007968, allocations: 0 / 253.1 MB, free: 5.324 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.008164, allocations: 59.89 kB / 253.1 MB, free: 5.266 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.255e-05/0.008236, allocations: 84.36 kB / 253.2 MB, free: 5.172 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.00836, allocations: 116.9 kB / 253.3 MB, free: 5.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.008369, allocations: 8.188 kB / 253.3 MB, free: 5.051 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.008415, allocations: 52.72 kB / 253.4 MB, free: 4.996 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.008746, allocations: 324.8 kB / 253.7 MB, free: 4.617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.009624, allocations: 422.5 kB / 254.1 MB, free: 4.164 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.009671, allocations: 75.98 kB / 254.2 MB, free: 4.07 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.797e-05/0.009729, allocations: 17.64 kB / 254.2 MB, free: 4.055 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.705e-05/0.009806, allocations: 79.36 kB / 254.3 MB, free: 3.977 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009807, allocations: 0 / 254.3 MB, free: 3.977 MB / 250.7 MB Notification: Performance of Templates: time 0.003082/0.01289, allocations: 1.547 MB / 255.8 MB, free: 2.453 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.388752673752606]