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.001805/0.001805, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001318/0.001318, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.391/1.391, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.1 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.192e-06/1.192e-06, allocations: 0 / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.086e-05, allocations: 2.281 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008986/0.009007, allocations: 7.994 MB / 326.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006089/0.0151, allocations: 2.542 MB / 329.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.01655, allocations: 57.44 kB / 329.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004356/0.02091, allocations: 1.873 MB / 331.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.02501, allocations: 1.409 MB / 332.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007054/0.02572, allocations: 232.5 kB / 333 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00475/0.03047, allocations: 3.372 MB / 336.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003677/0.03414, allocations: 2.052 MB / 338.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.03792, allocations: 1.534 MB / 340 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003345/0.04127, allocations: 1.816 MB / 341.8 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004394/0.04171, allocations: 188 kB / 342 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.04275, allocations: 455.3 kB / 342.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.04415, allocations: 1.398 MB / 343.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.04531, allocations: 0.8134 MB / 344.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005664/0.05098, allocations: 4.749 MB / 349.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.05098, allocations: 0 / 349.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.05098, allocations: 0 / 349.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.205e-05/0.05107, allocations: 0 / 349.4 MB, free: 13.08 MB / 318.1 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.006259/0.05733, allocations: 3.611 MB / 353 MB, free: 9.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.05737, allocations: 12.92 kB / 353 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/0.06305, allocations: 1.687 MB / 354.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.06596, allocations: 1.532 MB / 356.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.06611, allocations: 155.9 kB / 356.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/0.06649, allocations: 195.8 kB / 356.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.07737, allocations: 6.99 MB / 363.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-05/0.07744, allocations: 31.75 kB / 363.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.07773, allocations: 103.9 kB / 363.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002643/0.08037, allocations: 1.551 MB / 365.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009798/0.09017, allocations: 5.493 MB / 370.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03396/0.1241, allocations: 25.33 MB / 396.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.1271, allocations: 1.182 MB / 397.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007602/0.1278, allocations: 462.1 kB / 397.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004159/0.132, allocations: 2.042 MB / 399.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.132, allocations: 50.48 kB / 399.8 MB, free: 8.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 5.039e-06/0.132, allocations: 4 kB / 399.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.004317/0.1363, allocations: 1.815 MB / 401.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.1365, allocations: 217.6 kB / 401.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005355/0.1419, allocations: 3.535 MB / 405.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.541e-05/0.1419, allocations: 37.7 kB / 405.4 MB, free: 3.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002454/0.1444, allocations: 2.787 MB / 408.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004584/0.1449, allocations: 397.2 kB / 408.6 MB, free: 124 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.1462, allocations: 0.9452 MB / 409.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1464, allocations: 305.3 kB / 409.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/0.1483, allocations: 1.208 MB / 411.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/0.1532, allocations: 4.526 MB / 415.6 MB, free: 7.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007671/0.1609, allocations: 6.3 MB / 421.9 MB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.08e-05/0.1609, allocations: 32 kB / 421.9 MB, free: 15.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009204/0.1701, allocations: 5.435 MB / 427.3 MB, free: 9.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.321e-05/0.1702, allocations: 59.94 kB / 427.4 MB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/0.1704, allocations: 120 kB / 427.5 MB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.1705, allocations: 156.8 kB / 427.7 MB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.1737, allocations: 1.084 MB / 428.8 MB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002065/0.1739, allocations: 235.1 kB / 429 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.1773, allocations: 0.6632 MB / 429.6 MB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/0.1778, allocations: 312 kB / 430 MB, free: 7.363 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (589): * Single equations (assignments): 585 * 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.002681/0.1805, allocations: 1.716 MB / 431.7 MB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00063/0.1811, allocations: 286 kB / 431.9 MB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/0.182, allocations: 487.4 kB / 432.4 MB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.464e-05/0.1821, allocations: 23.98 kB / 432.4 MB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.1821, allocations: 7.938 kB / 432.5 MB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1821, allocations: 0 / 432.5 MB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/0.1871, allocations: 2.384 MB / 434.8 MB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.1871, allocations: 4 kB / 434.8 MB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.1876, allocations: 103.8 kB / 434.9 MB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-05/0.1876, allocations: 8 kB / 435 MB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.1877, allocations: 19.98 kB / 435 MB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.1877, allocations: 8 kB / 435 MB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.1877, allocations: 7.938 kB / 435 MB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.1904, allocations: 2.209 MB / 437.2 MB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006844/0.1911, allocations: 325.8 kB / 437.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.1914, allocations: 27.89 kB / 437.5 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/0.1922, allocations: 32.23 kB / 437.6 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.1923, allocations: 47.81 kB / 437.6 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.1924, allocations: 39.97 kB / 437.7 MB, free: 15.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003253/0.1957, allocations: 2.102 MB / 439.8 MB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1957, allocations: 0 / 439.8 MB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003978/0.1996, allocations: 0.8377 MB / 440.6 MB, free: 12.57 MB / 414.1 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.00038/0.2, allocations: 154.9 kB / 440.8 MB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005029/0.2051, allocations: 2.703 MB / 443.5 MB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.2051, allocations: 4 kB / 443.5 MB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006618/0.2057, allocations: 404.8 kB / 443.9 MB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.2079, allocations: 348.8 kB / 444.2 MB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.22, allocations: 6.642 MB / 450.8 MB, free: 2.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/0.2232, allocations: 2.129 MB / 453 MB, free: 120 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003468/0.2267, allocations: 1.461 MB / 454.4 MB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/0.2271, allocations: 192.5 kB / 454.6 MB, free: 14.46 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2271, allocations: 0 / 454.6 MB, free: 14.46 MB / 430.1 MB Notification: Performance of Templates: time 0.1862/0.4133, allocations: 16.34 MB / 471 MB, free: 125.9 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4780363291502]