Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008014/0.0008014, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001868, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006511/0.0006511, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008626/0.001514, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9336/0.9336, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08528/1.019, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.324e-05, allocations: 6.875 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01437/0.01438, allocations: 8.638 MB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008536/0.02292, allocations: 2.724 MB / 250.9 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.02356, allocations: 59.75 kB / 251 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.02626, allocations: 1.861 MB / 252.9 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.02863, allocations: 1.407 MB / 254.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.02902, allocations: 219.4 kB / 254.5 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003037/0.03205, allocations: 3.162 MB / 257.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.03389, allocations: 1.86 MB / 259.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.03592, allocations: 1.815 MB / 261.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.0376, allocations: 1.43 MB / 262.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002957/0.03789, allocations: 180 kB / 262.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007907/0.03868, allocations: 463.3 kB / 263.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.03976, allocations: 1.27 MB / 264.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008032/0.04056, allocations: 0.685 MB / 265.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.04347, allocations: 2.948 MB / 268.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.04348, allocations: 0 / 268.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.04348, allocations: 0 / 268.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.594e-05/0.04353, allocations: 0 / 268.3 MB, free: 6.285 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: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.004365/0.04789, allocations: 4.108 MB / 272.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.04792, allocations: 12.03 kB / 272.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.05001, allocations: 0.8603 MB / 273.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1127/0.1627, allocations: 1.396 MB / 274.7 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.1628, allocations: 152.2 kB / 274.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.1631, allocations: 196.1 kB / 275 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004012/0.1672, allocations: 3.455 MB / 278.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.1672, allocations: 29.84 kB / 278.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.1674, allocations: 100.5 kB / 278.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/0.1689, allocations: 1.422 MB / 280 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/0.1724, allocations: 1.675 MB / 281.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.1856, allocations: 22.48 MB / 304.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1866, allocations: 0.7429 MB / 304.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1868, allocations: 147 kB / 305 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/0.1887, allocations: 2.001 MB / 307 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1887, allocations: 45.33 kB / 307.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 3.517e-06/0.1887, allocations: 3.984 kB / 307.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.001383/0.1901, allocations: 0.7811 MB / 307.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.1902, allocations: 220.3 kB / 308.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.1916, allocations: 2.593 MB / 310.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.1917, allocations: 33.55 kB / 310.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.1927, allocations: 2.564 MB / 313.3 MB, free: 8.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.1929, allocations: 399 kB / 313.7 MB, free: 8.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006278/0.1935, allocations: 0.9059 MB / 314.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.1936, allocations: 305.1 kB / 314.9 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.1941, allocations: 480.1 kB / 315.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.196, allocations: 3.678 MB / 319 MB, free: 1.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.1999, allocations: 4.779 MB / 323.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.644e-05/0.2, allocations: 36 kB / 323.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.004237/0.2042, allocations: 3.31 MB / 327.1 MB, free: 8.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/0.2043, allocations: 56 kB / 327.2 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/0.2044, allocations: 120 kB / 327.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.2045, allocations: 156.7 kB / 327.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/0.207, allocations: 1.19 MB / 328.7 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001535/0.2071, allocations: 235.1 kB / 328.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.2093, allocations: 0.6489 MB / 329.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002835/0.2096, allocations: 276 kB / 329.8 MB, free: 5.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 586 * Array equations: 4 * 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 0.0008485/0.2104, allocations: 0.5277 MB / 330.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.2107, allocations: 162.8 kB / 330.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.2112, allocations: 376.2 kB / 330.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.2112, allocations: 22.81 kB / 330.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2112, allocations: 0 / 330.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.2112, allocations: 7.984 kB / 330.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.2139, allocations: 1.636 MB / 332.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2139, allocations: 4.656 kB / 332.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.2142, allocations: 107.8 kB / 332.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.2146, allocations: 295.9 kB / 332.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2146, allocations: 8 kB / 332.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.2146, allocations: 12.88 kB / 332.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.2146, allocations: 8 kB / 332.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2146, allocations: 8.594 kB / 333 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.2156, allocations: 1.253 MB / 334.2 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.2158, allocations: 31.02 kB / 334.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.2163, allocations: 20 kB / 334.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.438e-05/0.2164, allocations: 51.8 kB / 334.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.2165, allocations: 24 kB / 334.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.2175, allocations: 1.085 MB / 335.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2175, allocations: 0 / 335.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002952/0.2204, allocations: 0.8427 MB / 336.3 MB, free: 15.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.v,position.s) * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * 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.0002336/0.2207, allocations: 130.6 kB / 336.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.2225, allocations: 1.824 MB / 338.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000172/0.2227, allocations: 100.6 kB / 338.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.2229, allocations: 174.2 kB / 338.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.2245, allocations: 0.5094 MB / 339 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008542/0.233, allocations: 5.844 MB / 344.8 MB, free: 7.094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/0.234, allocations: 0.9471 MB / 345.8 MB, free: 6.133 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001105/0.2351, allocations: 430.2 kB / 346.2 MB, free: 5.707 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/0.2357, allocations: 469.1 kB / 346.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.2357, allocations: 0 / 346.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of Templates: time 0.03094/0.2667, allocations: 19 MB / 365.7 MB, free: 2.574 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.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: 3.3912550676614046]