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.001071/0.001071, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001717/0.002787, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009952/0.0009952, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002293, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.89/0.89, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09046/0.9805, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.142e-06/1.142e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.456e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.00729/0.007305, allocations: 8.632 MB / 253.2 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004619/0.01192, allocations: 2.778 MB / 256 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009264/0.01285, allocations: 59.75 kB / 256 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.01502, allocations: 1.872 MB / 257.9 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.01751, allocations: 1.399 MB / 259.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.01794, allocations: 219.5 kB / 259.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.02063, allocations: 3.244 MB / 262.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.0221, allocations: 1.852 MB / 264.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.0238, allocations: 1.811 MB / 266.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.02506, allocations: 1.422 MB / 267.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.02527, allocations: 184 kB / 268 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006246/0.02589, allocations: 475.3 kB / 268.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006902/0.02658, allocations: 1.25 MB / 269.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005455/0.02713, allocations: 0.6733 MB / 270.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003119/0.03025, allocations: 2.933 MB / 273.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.881e-05/0.03026, allocations: 4 kB / 273.3 MB, free: 1.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03027, allocations: 0 / 273.3 MB, free: 1.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001407/0.03041, allocations: 0 / 273.3 MB, free: 1.363 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.1089/0.1393, allocations: 4.066 MB / 277.4 MB, free: 20.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.1393, allocations: 8.656 kB / 277.4 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.1419, allocations: 0.9398 MB / 278.3 MB, free: 20.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.144, allocations: 1.391 MB / 279.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.585e-05/0.1441, allocations: 153.7 kB / 279.9 MB, free: 19.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/0.1443, allocations: 197.4 kB / 280.1 MB, free: 19.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004021/0.1484, allocations: 3.46 MB / 283.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-05/0.1484, allocations: 28.94 kB / 283.6 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.1486, allocations: 101.5 kB / 283.7 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00141/0.15, allocations: 1.415 MB / 285.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/0.1536, allocations: 1.681 MB / 286.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/0.1676, allocations: 22.47 MB / 309.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.169, allocations: 0.7358 MB / 310 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.1691, allocations: 158.5 kB / 310.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002114/0.1712, allocations: 1.989 MB / 312.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1713, allocations: 48.42 kB / 312.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 2.856e-06/0.1713, allocations: 0 / 312.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.001498/0.1728, allocations: 0.7914 MB / 313 MB, free: 10.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1728, allocations: 213.6 kB / 313.2 MB, free: 10.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.1746, allocations: 2.584 MB / 315.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.1746, allocations: 37.7 kB / 315.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.176, allocations: 2.555 MB / 318.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.1763, allocations: 397.1 kB / 318.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006661/0.177, allocations: 0.9125 MB / 319.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.177, allocations: 305.1 kB / 319.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.1776, allocations: 484 kB / 320.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.1796, allocations: 3.677 MB / 324.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/0.183, allocations: 4.782 MB / 328.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.18e-05/0.183, allocations: 32 kB / 328.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003903/0.1869, allocations: 3.317 MB / 332.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/0.187, allocations: 56 kB / 332.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.1871, allocations: 116 kB / 332.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-05/0.1872, allocations: 159.9 kB / 332.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.189, allocations: 1.189 MB / 333.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001085/0.1891, allocations: 235.1 kB / 334 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.1911, allocations: 0.6512 MB / 334.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.1913, allocations: 276 kB / 334.9 MB, free: 0.9414 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.0008282/0.1922, allocations: 0.5275 MB / 335.4 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.1924, allocations: 159.8 kB / 335.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.1928, allocations: 371.8 kB / 335.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/0.1928, allocations: 23.92 kB / 336 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1928, allocations: 8 kB / 336 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1928, allocations: 3.984 kB / 336 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.1952, allocations: 1.632 MB / 337.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1952, allocations: 7.938 kB / 337.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.1954, allocations: 107.8 kB / 337.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.1957, allocations: 289.8 kB / 338 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.1957, allocations: 8.281 kB / 338 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.1957, allocations: 19.98 kB / 338 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1957, allocations: 8 kB / 338 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1957, allocations: 7.938 kB / 338 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009797/0.1967, allocations: 1.253 MB / 339.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.1968, allocations: 15.95 kB / 339.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.1972, allocations: 19.98 kB / 339.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.1973, allocations: 51.81 kB / 339.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.1973, allocations: 27.97 kB / 339.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008992/0.1982, allocations: 1.08 MB / 340.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1982, allocations: 0 / 340.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002592/0.2008, allocations: 0.8372 MB / 341.3 MB, free: 10.38 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.0002723/0.2011, allocations: 132.1 kB / 341.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.2033, allocations: 1.83 MB / 343.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004105/0.2037, allocations: 96.16 kB / 343.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.2039, allocations: 169.8 kB / 343.5 MB, free: 8.152 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.2053, allocations: 0.5077 MB / 344 MB, free: 7.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007869/0.2131, allocations: 5.844 MB / 349.9 MB, free: 1.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.2142, allocations: 0.9478 MB / 350.8 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001017/0.2152, allocations: 432.4 kB / 351.3 MB, free: 328 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005601/0.2158, allocations: 461.2 kB / 351.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2158, allocations: 0 / 351.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of Templates: time 0.03836/0.2542, allocations: 18.99 MB / 370.7 MB, free: 13.14 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.114683167077601]