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.001461/0.001461, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001518/0.001518, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.466/1.466, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.382e-06/1.382e-06, allocations: 0 / 272.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.443e-05, allocations: 2.312 kB / 272.3 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01161/0.01164, allocations: 7.972 MB / 280.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005852/0.01749, allocations: 2.593 MB / 282.9 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.01857, allocations: 55.75 kB / 283 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004282/0.02285, allocations: 1.904 MB / 284.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.02667, allocations: 1.419 MB / 286.3 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000754/0.02743, allocations: 239.5 kB / 286.5 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005122/0.03255, allocations: 3.427 MB / 289.9 MB, free: 120 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1218/0.1544, allocations: 2.1 MB / 292 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.1589, allocations: 1.53 MB / 293.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004078/0.1629, allocations: 1.811 MB / 295.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.1639, allocations: 187.8 kB / 295.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.1657, allocations: 460.2 kB / 296 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.1675, allocations: 1.382 MB / 297.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.1688, allocations: 0.8132 MB / 298.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005473/0.1743, allocations: 4.721 MB / 302.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1743, allocations: 0 / 302.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1743, allocations: 1.375 kB / 302.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001775/0.1745, allocations: 0 / 302.9 MB, free: 13.56 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.007/0.1815, allocations: 3.593 MB / 306.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1815, allocations: 10.47 kB / 306.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00615/0.1876, allocations: 2.086 MB / 308.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.1911, allocations: 1.546 MB / 310.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1912, allocations: 149.1 kB / 310.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005279/0.1917, allocations: 204.8 kB / 310.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008666/0.2004, allocations: 6.989 MB / 317.5 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.285e-05/0.2005, allocations: 21.69 kB / 317.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.2007, allocations: 104.1 kB / 317.6 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/0.2025, allocations: 1.565 MB / 319.2 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.2129, allocations: 5.483 MB / 324.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03682/0.2497, allocations: 25.4 MB / 350.1 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.2527, allocations: 1.171 MB / 351.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/0.2535, allocations: 470.9 kB / 351.7 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004682/0.2582, allocations: 2.043 MB / 353.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.2582, allocations: 45.75 kB / 353.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.755e-06/0.2582, allocations: 0 / 353.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.004514/0.2628, allocations: 1.845 MB / 355.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.2629, allocations: 217.6 kB / 355.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00654/0.2695, allocations: 3.531 MB / 359.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.2696, allocations: 43.2 kB / 359.4 MB, free: 8.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00291/0.2725, allocations: 2.784 MB / 362.2 MB, free: 5.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005584/0.2731, allocations: 390.4 kB / 362.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.2746, allocations: 0.949 MB / 363.5 MB, free: 4.359 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2748, allocations: 301.1 kB / 363.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.277, allocations: 1.208 MB / 365 MB, free: 2.848 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005762/0.2828, allocations: 4.533 MB / 369.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008883/0.2917, allocations: 6.29 MB / 375.9 MB, free: 4.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.569e-05/0.2918, allocations: 36 kB / 375.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01097/0.3027, allocations: 5.688 MB / 381.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.541e-05/0.3028, allocations: 56 kB / 381.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.303, allocations: 120 kB / 381.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.3032, allocations: 159.9 kB / 381.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/0.3063, allocations: 1.084 MB / 383 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002337/0.3066, allocations: 235.7 kB / 383.2 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.31, allocations: 0.6631 MB / 383.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004724/0.3105, allocations: 319.5 kB / 384.2 MB, free: 12.5 MB / 346.7 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.003118/0.3136, allocations: 1.715 MB / 385.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/0.3142, allocations: 310 kB / 386.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00093/0.3151, allocations: 471.7 kB / 386.7 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-05/0.3152, allocations: 27.94 kB / 386.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3152, allocations: 0 / 386.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.3152, allocations: 7.984 kB / 386.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005264/0.3205, allocations: 2.385 MB / 389.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.3205, allocations: 4 kB / 389.1 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.3209, allocations: 107.8 kB / 389.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.321, allocations: 8 kB / 389.2 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.321, allocations: 16 kB / 389.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.321, allocations: 9 kB / 389.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.321, allocations: 5.25 kB / 389.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3239, allocations: 2.217 MB / 391.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/0.3247, allocations: 341.7 kB / 391.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.3249, allocations: 15.98 kB / 391.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000823/0.3257, allocations: 31.97 kB / 391.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3258, allocations: 51.8 kB / 391.9 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.3259, allocations: 30.42 kB / 391.9 MB, free: 4.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003829/0.3297, allocations: 2.102 MB / 394 MB, free: 2.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3297, allocations: 0 / 394 MB, free: 2.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004146/0.3339, allocations: 0.8298 MB / 394.9 MB, free: 1.723 MB / 346.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.0003646/0.3343, allocations: 145.4 kB / 395 MB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005079/0.3393, allocations: 2.708 MB / 397.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.3393, allocations: 4 kB / 397.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006691/0.34, allocations: 397 kB / 398.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.3422, allocations: 368.5 kB / 398.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.3558, allocations: 6.761 MB / 405.2 MB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003359/0.3591, allocations: 2.129 MB / 407.4 MB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003554/0.3627, allocations: 1.457 MB / 408.8 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.3631, allocations: 188.5 kB / 409 MB, free: 3.504 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3631, allocations: 0 / 409 MB, free: 3.504 MB / 362.7 MB Notification: Performance of Templates: time 0.04373/0.4069, allocations: 16.46 MB / 425.5 MB, free: 3.516 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.524666332989]