Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001245/0.001245, allocations: 80.92 kB / 22.29 MB, free: 2.203 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.001426/0.001426, allocations: 170.9 kB / 25.7 MB, free: 8.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9104/0.9104, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.822e-05, allocations: 6.25 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008151/0.00818, allocations: 8.612 MB / 260.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004777/0.01296, allocations: 2.709 MB / 262.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008849/0.01384, allocations: 55.75 kB / 263 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.01596, allocations: 1.907 MB / 264.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.01813, allocations: 1.411 MB / 266.3 MB, free: 8.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.01849, allocations: 247.4 kB / 266.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.02125, allocations: 3.376 MB / 269.9 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.02315, allocations: 2.043 MB / 271.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.02519, allocations: 1.742 MB / 273.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.02675, allocations: 1.446 MB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.02712, allocations: 184 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.02783, allocations: 455.4 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008764/0.0287, allocations: 1.394 MB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008731/0.02958, allocations: 0.8172 MB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.03234, allocations: 3.085 MB / 281.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.03234, allocations: 0 / 281.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.03234, allocations: 4 kB / 281.1 MB, free: 9.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.03246, allocations: 0 / 281.1 MB, free: 9.562 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.003795/0.03625, allocations: 3.472 MB / 284.5 MB, free: 6.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.03629, allocations: 11.98 kB / 284.5 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.03817, allocations: 0.7928 MB / 285.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.03994, allocations: 1.405 MB / 286.7 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.04001, allocations: 159.9 kB / 286.9 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.04022, allocations: 195.8 kB / 287.1 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.04363, allocations: 3.452 MB / 290.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/0.04368, allocations: 31.75 kB / 290.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.04384, allocations: 99.88 kB / 290.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001136/0.04497, allocations: 1.41 MB / 292.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/0.048, allocations: 1.674 MB / 293.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.06438, allocations: 22.48 MB / 316.2 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.06559, allocations: 0.7577 MB / 317 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.06577, allocations: 149.8 kB / 317.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00223/0.068, allocations: 2.003 MB / 319.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.06804, allocations: 46.48 kB / 319.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 2.976e-06/0.06804, allocations: 0 / 319.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001565/0.0696, allocations: 0.7979 MB / 320 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.06968, allocations: 221.6 kB / 320.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.07155, allocations: 2.584 MB / 322.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.0716, allocations: 41.86 kB / 322.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.07265, allocations: 2.562 MB / 325.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.07287, allocations: 393.1 kB / 325.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006193/0.07349, allocations: 0.9134 MB / 326.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.07356, allocations: 301.1 kB / 327 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.07405, allocations: 484.1 kB / 327.4 MB, free: 9.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.07583, allocations: 3.675 MB / 331.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.0791, allocations: 4.779 MB / 335.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.263e-05/0.07915, allocations: 36 kB / 335.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003569/0.08272, allocations: 3.311 MB / 339.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.08277, allocations: 64.19 kB / 339.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.164e-05/0.08285, allocations: 120 kB / 339.4 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.274e-05/0.08295, allocations: 156 kB / 339.6 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.08466, allocations: 1.111 MB / 340.7 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001384/0.0848, allocations: 235.1 kB / 340.9 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.08671, allocations: 0.6515 MB / 341.6 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.08695, allocations: 280 kB / 341.8 MB, free: 7.523 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.0008926/0.08785, allocations: 0.5238 MB / 342.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.08811, allocations: 159.8 kB / 342.5 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004233/0.08853, allocations: 371.5 kB / 342.9 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/0.08857, allocations: 20 kB / 342.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.08857, allocations: 4 kB / 342.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.08858, allocations: 7.984 kB / 342.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.09083, allocations: 1.651 MB / 344.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.09084, allocations: 8 kB / 344.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.0911, allocations: 103.8 kB / 344.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.09111, allocations: 4 kB / 344.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.09113, allocations: 16 kB / 344.7 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.09114, allocations: 8.281 kB / 344.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.09114, allocations: 8 kB / 344.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.09196, allocations: 1.265 MB / 346 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.09228, allocations: 285.8 kB / 346.3 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.09242, allocations: 19.95 kB / 346.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.09283, allocations: 19.98 kB / 346.3 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.09291, allocations: 51.8 kB / 346.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.09294, allocations: 24 kB / 346.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008855/0.09383, allocations: 1.084 MB / 347.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09383, allocations: 4.031 kB / 347.5 MB, free: 1.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002593/0.09642, allocations: 0.8415 MB / 348.3 MB, free: 0.9336 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.0002703/0.09669, allocations: 120.2 kB / 348.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.09443/0.1911, allocations: 1.821 MB / 350.2 MB, free: 97.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001938/0.1913, allocations: 100.6 kB / 350.3 MB, free: 97.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.1915, allocations: 172.3 kB / 350.5 MB, free: 97.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.1928, allocations: 352.9 kB / 350.8 MB, free: 97.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005852/0.1987, allocations: 5.747 MB / 356.6 MB, free: 94.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.1993, allocations: 0.9438 MB / 357.5 MB, free: 94.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008757/0.2002, allocations: 435.5 kB / 358 MB, free: 94.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.2006, allocations: 467.8 kB / 358.4 MB, free: 94.39 MB / 330.7 MB Notification: Performance of SimCode: time 2.214e-06/0.2006, allocations: 0 / 358.4 MB, free: 94.39 MB / 330.7 MB Notification: Performance of Templates: time 0.02703/0.2276, allocations: 18.38 MB / 376.8 MB, free: 77.76 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3042965782806277]