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.0009258/0.0009258, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001102/0.001102, allocations: 168.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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.908/0.908, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.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.523e-06/1.523e-06, allocations: 0 / 273.5 MB, free: 4.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.865e-05, allocations: 7.656 kB / 273.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006949/0.006968, allocations: 8.574 MB / 282.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.01143, allocations: 2.75 MB / 284.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007389/0.01217, allocations: 59.75 kB / 284.9 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.01452, allocations: 1.927 MB / 286.8 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.01658, allocations: 1.399 MB / 288.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.01692, allocations: 239.5 kB / 288.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002764/0.01969, allocations: 3.438 MB / 291.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.02179, allocations: 2.035 MB / 293.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.02371, allocations: 1.742 MB / 295.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.02519, allocations: 1.438 MB / 297.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003029/0.02549, allocations: 188 kB / 297.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.02613, allocations: 463.4 kB / 297.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000768/0.0269, allocations: 1.383 MB / 299.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006092/0.0275, allocations: 0.8094 MB / 299.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.03003, allocations: 3.065 MB / 303 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.03004, allocations: 0 / 303 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.03004, allocations: 0 / 303 MB, free: 6.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.948e-05/0.03014, allocations: 4 kB / 303 MB, free: 6.727 MB / 282.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.002963/0.0331, allocations: 3.445 MB / 306.4 MB, free: 3.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.03314, allocations: 16.02 kB / 306.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/0.0355, allocations: 0.8669 MB / 307.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.03707, allocations: 1.389 MB / 308.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.03715, allocations: 151.9 kB / 308.9 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.03736, allocations: 203.8 kB / 309.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.0403, allocations: 3.456 MB / 312.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.04035, allocations: 23.75 kB / 312.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.0405, allocations: 103.9 kB / 312.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001133/0.04163, allocations: 1.414 MB / 314.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.0439, allocations: 1.67 MB / 315.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.05807, allocations: 22.48 MB / 338.2 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.05924, allocations: 0.7428 MB / 339 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.05942, allocations: 161.8 kB / 339.1 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/0.0614, allocations: 2.008 MB / 341.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.06143, allocations: 46.5 kB / 341.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 2.976e-06/0.06143, allocations: 0 / 341.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.001569/0.063, allocations: 0.7975 MB / 342 MB, free: 14.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.06306, allocations: 217.6 kB / 342.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.06485, allocations: 2.579 MB / 344.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.06488, allocations: 37.7 kB / 344.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009827/0.06587, allocations: 2.566 MB / 347.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.06607, allocations: 393.1 kB / 347.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006359/0.0667, allocations: 0.9095 MB / 348.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.06676, allocations: 301.1 kB / 348.9 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/0.06725, allocations: 480.1 kB / 349.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.06911, allocations: 3.675 MB / 353.1 MB, free: 1.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.105/0.1741, allocations: 4.783 MB / 357.9 MB, free: 71.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.122e-05/0.1741, allocations: 34.88 kB / 357.9 MB, free: 71.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.004103/0.1782, allocations: 3.304 MB / 361.2 MB, free: 70.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.1783, allocations: 58.72 kB / 361.3 MB, free: 70.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.1784, allocations: 121.2 kB / 361.4 MB, free: 70.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.1786, allocations: 157.1 kB / 361.5 MB, free: 70.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.1802, allocations: 1.114 MB / 362.7 MB, free: 70.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-05/0.1803, allocations: 233.8 kB / 362.9 MB, free: 70.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.1821, allocations: 0.6505 MB / 363.5 MB, free: 70.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.1823, allocations: 278.8 kB / 363.8 MB, free: 70.81 MB / 330.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.0008788/0.1832, allocations: 0.5266 MB / 364.3 MB, free: 70.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.1834, allocations: 156.8 kB / 364.5 MB, free: 70.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.1838, allocations: 378.7 kB / 364.9 MB, free: 70.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.1838, allocations: 26.36 kB / 364.9 MB, free: 70.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1838, allocations: 5.062 kB / 364.9 MB, free: 70.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1838, allocations: 3.234 kB / 364.9 MB, free: 70.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.1859, allocations: 1.643 MB / 366.5 MB, free: 70.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1859, allocations: 3.844 kB / 366.5 MB, free: 70.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.1861, allocations: 102.5 kB / 366.6 MB, free: 70.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1861, allocations: 3.844 kB / 366.6 MB, free: 70.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.1862, allocations: 16.17 kB / 366.7 MB, free: 70.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1862, allocations: 7.531 kB / 366.7 MB, free: 70.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1862, allocations: 9.906 kB / 366.7 MB, free: 70.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.1868, allocations: 1.259 MB / 367.9 MB, free: 69.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.1871, allocations: 298.4 kB / 368.2 MB, free: 69.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.1872, allocations: 24.39 kB / 368.2 MB, free: 69.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.1876, allocations: 13.84 kB / 368.3 MB, free: 69.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.1877, allocations: 48.27 kB / 368.3 MB, free: 69.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.1877, allocations: 22.91 kB / 368.3 MB, free: 69.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007302/0.1885, allocations: 1.086 MB / 369.4 MB, free: 69.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1885, allocations: 0 / 369.4 MB, free: 69.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002123/0.1906, allocations: 0.831 MB / 370.2 MB, free: 69.27 MB / 330.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.0002137/0.1908, allocations: 129.3 kB / 370.4 MB, free: 69.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.1924, allocations: 1.831 MB / 372.2 MB, free: 67.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001233/0.1925, allocations: 96.16 kB / 372.3 MB, free: 67.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1926, allocations: 166.7 kB / 372.5 MB, free: 67.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.1937, allocations: 357.6 kB / 372.8 MB, free: 67.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.1999, allocations: 5.743 MB / 378.6 MB, free: 62.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008677/0.2008, allocations: 0.9346 MB / 379.5 MB, free: 61.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001126/0.2019, allocations: 442.4 kB / 379.9 MB, free: 61.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/0.2025, allocations: 458.9 kB / 380.4 MB, free: 61.05 MB / 330.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2025, allocations: 0 / 380.4 MB, free: 61.05 MB / 330.7 MB Notification: Performance of Templates: time 0.03464/0.2372, allocations: 18.43 MB / 398.8 MB, free: 42.98 MB / 330.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 -s gbode -gbm=radauIIA3 -emit_protected -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.227647935040295]