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.001264/0.001264, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009414/0.0009414, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.8914/0.8914, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.433e-06/1.433e-06, allocations: 3.938 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.276e-05, allocations: 2.312 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.00617/0.006183, allocations: 8.525 MB / 282 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.009277, allocations: 2.759 MB / 284.8 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.009654, allocations: 59.75 kB / 284.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.0116, allocations: 1.95 MB / 286.8 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.01307, allocations: 1.427 MB / 288.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.01332, allocations: 235.5 kB / 288.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1032/0.1165, allocations: 3.428 MB / 291.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.1191, allocations: 2.179 MB / 294 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.1218, allocations: 1.751 MB / 295.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.1239, allocations: 1.436 MB / 297.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005444/0.1244, allocations: 183 kB / 297.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008135/0.1252, allocations: 459.3 kB / 297.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009037/0.1261, allocations: 1.377 MB / 299.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009356/0.1271, allocations: 0.809 MB / 300 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.1297, allocations: 3.066 MB / 303.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1297, allocations: 0 / 303.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1298, allocations: 1.5 kB / 303.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001484/0.1299, allocations: 0.875 kB / 303.1 MB, free: 13.2 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.003406/0.1333, allocations: 3.454 MB / 306.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.1333, allocations: 7.781 kB / 306.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.1354, allocations: 0.8692 MB / 307.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.1368, allocations: 1.395 MB / 308.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.1368, allocations: 150.8 kB / 309 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.137, allocations: 200.1 kB / 309.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.1395, allocations: 3.459 MB / 312.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/0.1396, allocations: 24.91 kB / 312.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.1397, allocations: 102.3 kB / 312.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000949/0.1407, allocations: 1.421 MB / 314.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.1426, allocations: 1.676 MB / 315.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.154, allocations: 22.47 MB / 338.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1551, allocations: 0.7488 MB / 339.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.1553, allocations: 161.8 kB / 339.2 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001914/0.1572, allocations: 1.997 MB / 341.2 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1572, allocations: 49.64 kB / 341.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.1572, allocations: 0 / 341.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001454/0.1587, allocations: 0.8075 MB / 342.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.1587, allocations: 217.1 kB / 342.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.1604, allocations: 2.581 MB / 344.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.1604, allocations: 37.7 kB / 344.9 MB, free: 8.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009146/0.1613, allocations: 2.556 MB / 347.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.1615, allocations: 403.3 kB / 347.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006359/0.1621, allocations: 0.904 MB / 348.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.1622, allocations: 309.1 kB / 349.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.1627, allocations: 476.1 kB / 349.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.1644, allocations: 3.681 MB / 353.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.1672, allocations: 4.791 MB / 358 MB, free: 8.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.098e-05/0.1673, allocations: 32 kB / 358 MB, free: 8.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.002828/0.1701, allocations: 3.315 MB / 361.3 MB, free: 5.324 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.1701, allocations: 56 kB / 361.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.637e-05/0.1702, allocations: 120 kB / 361.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.78e-05/0.1703, allocations: 156.8 kB / 361.7 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.1719, allocations: 1.072 MB / 362.7 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.172, allocations: 239.1 kB / 363 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.1736, allocations: 0.6437 MB / 363.6 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.1738, allocations: 276.5 kB / 363.9 MB, free: 2.773 MB / 314.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.0007492/0.1745, allocations: 0.5277 MB / 364.4 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.1747, allocations: 159.8 kB / 364.6 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.1751, allocations: 364.8 kB / 364.9 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.1751, allocations: 27.91 kB / 364.9 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1751, allocations: 4 kB / 365 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1751, allocations: 3.984 kB / 365 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.1771, allocations: 1.647 MB / 366.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1771, allocations: 4 kB / 366.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.1773, allocations: 91.83 kB / 366.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1773, allocations: 11.94 kB / 366.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.1773, allocations: 20 kB / 366.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1773, allocations: 4 kB / 366.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1773, allocations: 4 kB / 366.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.1781, allocations: 1.268 MB / 368 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.1783, allocations: 305.8 kB / 368.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.1785, allocations: 16 kB / 368.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.1788, allocations: 15.98 kB / 368.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.1789, allocations: 47.81 kB / 368.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.1789, allocations: 31.97 kB / 368.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007888/0.1797, allocations: 1.076 MB / 369.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1797, allocations: 4 kB / 369.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002024/0.1817, allocations: 0.8375 MB / 370.3 MB, free: 12.19 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.0001996/0.1819, allocations: 116.2 kB / 370.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.1833, allocations: 1.827 MB / 372.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001373/0.1834, allocations: 100.2 kB / 372.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.1836, allocations: 163.9 kB / 372.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.1847, allocations: 365.1 kB / 372.9 MB, free: 9.641 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/0.1901, allocations: 5.736 MB / 378.6 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007292/0.1908, allocations: 0.9393 MB / 379.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000844/0.1917, allocations: 438.1 kB / 380 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.1922, allocations: 469.1 kB / 380.4 MB, free: 1.953 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1922, allocations: 0 / 380.4 MB, free: 1.953 MB / 330.7 MB Notification: Performance of Templates: time 0.02954/0.2217, allocations: 18.43 MB / 398.9 MB, free: 15.77 MB / 362.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 -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.177645203191787]