Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.000742/0.000742, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.001881, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007253/0.0007253, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009457/0.001671, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9345/0.9345, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08718/1.022, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.215e-05, allocations: 6.312 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006988/0.007, allocations: 8.636 MB / 253.4 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004374/0.01137, allocations: 2.778 MB / 256.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.01209, allocations: 55.75 kB / 256.2 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.01404, allocations: 1.876 MB / 258.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.01603, allocations: 1.407 MB / 259.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.01636, allocations: 215.6 kB / 259.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.01885, allocations: 3.225 MB / 262.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.0204, allocations: 1.848 MB / 264.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.02215, allocations: 1.819 MB / 266.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.02357, allocations: 1.426 MB / 268 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.02387, allocations: 184 kB / 268.2 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006802/0.02455, allocations: 463.4 kB / 268.6 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008783/0.02543, allocations: 1.262 MB / 269.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006074/0.02604, allocations: 0.6733 MB / 270.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.02833, allocations: 2.925 MB / 273.5 MB, free: 1.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.02834, allocations: 4 kB / 273.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.02835, allocations: 0 / 273.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.122e-05/0.02841, allocations: 0 / 273.5 MB, free: 1.266 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.1068/0.1352, allocations: 4.064 MB / 277.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1353, allocations: 8.969 kB / 277.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.1377, allocations: 0.9413 MB / 278.5 MB, free: 20.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.1392, allocations: 1.395 MB / 279.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.523e-05/0.1392, allocations: 152.8 kB / 280.1 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.1395, allocations: 195 kB / 280.3 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.1427, allocations: 3.46 MB / 283.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.745e-05/0.1427, allocations: 28.91 kB / 283.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.143, allocations: 99.12 kB / 283.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001519/0.1445, allocations: 1.325 MB / 285.2 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.1473, allocations: 1.678 MB / 286.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.159, allocations: 22.48 MB / 309.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.1604, allocations: 0.733 MB / 310.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.1606, allocations: 156.7 kB / 310.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00233/0.163, allocations: 2 MB / 312.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.163, allocations: 46.5 kB / 312.3 MB, free: 11.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 2.174e-06/0.163, allocations: 0 / 312.3 MB, free: 11.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.001992/0.165, allocations: 0.7835 MB / 313 MB, free: 10.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.1651, allocations: 214.3 kB / 313.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.1671, allocations: 2.581 MB / 315.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.1672, allocations: 38.27 kB / 315.9 MB, free: 7.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.1684, allocations: 2.561 MB / 318.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.1687, allocations: 393.1 kB / 318.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008359/0.1695, allocations: 0.9095 MB / 319.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.1696, allocations: 309.1 kB / 320 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.1702, allocations: 473.7 kB / 320.5 MB, free: 2.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.1725, allocations: 3.68 MB / 324.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/0.1765, allocations: 5.149 MB / 329.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.314e-05/0.1766, allocations: 32 kB / 329.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003984/0.1806, allocations: 3.315 MB / 332.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/0.1806, allocations: 59.98 kB / 332.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/0.1807, allocations: 128 kB / 332.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.1809, allocations: 159.9 kB / 333 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/0.1832, allocations: 1.196 MB / 334.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001443/0.1833, allocations: 227.1 kB / 334.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.1854, allocations: 0.6554 MB / 335.1 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002803/0.1857, allocations: 276 kB / 335.3 MB, free: 0.5273 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.0006817/0.1864, allocations: 0.5238 MB / 335.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.1867, allocations: 155.8 kB / 336 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.1871, allocations: 372.9 kB / 336.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.1872, allocations: 23.92 kB / 336.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1872, allocations: 0 / 336.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.1872, allocations: 7.984 kB / 336.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.1896, allocations: 1.635 MB / 338 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.1896, allocations: 12 kB / 338.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.1899, allocations: 112.1 kB / 338.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.1902, allocations: 285.9 kB / 338.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.1903, allocations: 8 kB / 338.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.1903, allocations: 15.98 kB / 338.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.1903, allocations: 12 kB / 338.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1903, allocations: 7.938 kB / 338.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/0.1912, allocations: 1.265 MB / 339.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.1914, allocations: 19.95 kB / 339.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/0.192, allocations: 15.98 kB / 339.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.1921, allocations: 55.84 kB / 339.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.1921, allocations: 27.98 kB / 339.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001043/0.1932, allocations: 1.08 MB / 341 MB, free: 10.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1932, allocations: 3.719 kB / 341 MB, free: 10.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002622/0.1958, allocations: 0.8298 MB / 341.8 MB, free: 9.949 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.0002394/0.196, allocations: 139.4 kB / 341.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.1979, allocations: 1.922 MB / 343.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001653/0.1981, allocations: 96.16 kB / 343.9 MB, free: 7.836 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004876/0.1986, allocations: 378.4 kB / 344.3 MB, free: 7.461 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.201, allocations: 2.556 MB / 346.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007909/0.2089, allocations: 5.836 MB / 352.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.2097, allocations: 0.9397 MB / 353.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000771/0.2104, allocations: 432.4 kB / 354.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.2109, allocations: 449.2 kB / 354.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2109, allocations: 0 / 354.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of Templates: time 0.02897/0.2399, allocations: 17.25 MB / 371.8 MB, free: 11.67 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.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.8652016781270504]