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.001075/0.001075, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 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.0009236/0.0009236, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 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 0.9831/0.9831, allocations: 173.3 MB / 201.1 MB, free: 9.34 MB / 186.7 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.412e-06/1.412e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.619e-05, allocations: 6.25 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007711/0.007737, allocations: 8.805 MB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.01238, allocations: 2.616 MB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006688/0.01305, allocations: 59.75 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.01534, allocations: 1.958 MB / 281.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.0173, allocations: 1.419 MB / 282.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.01763, allocations: 227.5 kB / 283.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.02005, allocations: 3.376 MB / 286.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.02163, allocations: 2.132 MB / 288.6 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.02294, allocations: 1.543 MB / 290.1 MB, free: 168 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1266/0.1495, allocations: 1.813 MB / 292 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005715/0.1501, allocations: 190.1 kB / 292.1 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009759/0.1511, allocations: 455.5 kB / 292.6 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.1523, allocations: 1.406 MB / 294 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.1533, allocations: 0.8261 MB / 294.8 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.1567, allocations: 3.102 MB / 297.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1567, allocations: 1.312 kB / 297.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1567, allocations: 0 / 297.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.064e-05/0.1568, allocations: 0 / 297.9 MB, free: 17.17 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.005076/0.1619, allocations: 3.973 MB / 301.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1619, allocations: 10.52 kB / 301.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/0.1654, allocations: 1.982 MB / 303.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.167, allocations: 1.464 MB / 305.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.1671, allocations: 157.8 kB / 305.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.1673, allocations: 192.7 kB / 305.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.1709, allocations: 4.154 MB / 309.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.742e-05/0.1709, allocations: 31.19 kB / 309.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.1711, allocations: 98.36 kB / 310 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001155/0.1723, allocations: 1.556 MB / 311.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.1754, allocations: 1.944 MB / 313.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.1921, allocations: 31.74 MB / 345.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.1934, allocations: 0.7439 MB / 345.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.1936, allocations: 215.8 kB / 346.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/0.196, allocations: 2.24 MB / 348.4 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.196, allocations: 52.95 kB / 348.4 MB, free: 7.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 2.555e-06/0.196, allocations: 0 / 348.4 MB, free: 7.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001907/0.1979, allocations: 1.1 MB / 349.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.198, allocations: 220.9 kB / 349.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.2009, allocations: 3.263 MB / 353 MB, free: 2.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.201, allocations: 29.7 kB / 353.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.2024, allocations: 2.946 MB / 356 MB, free: 15.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.2027, allocations: 415.5 kB / 356.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008448/0.2035, allocations: 1.042 MB / 357.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.2036, allocations: 476.8 kB / 357.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/0.2044, allocations: 425.3 kB / 358.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003152/0.2075, allocations: 5.348 MB / 363.7 MB, free: 5.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.212, allocations: 6.363 MB / 370 MB, free: 12.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.652e-05/0.2121, allocations: 32 kB / 370.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004731/0.2168, allocations: 4.121 MB / 374.2 MB, free: 8.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.2168, allocations: 56 kB / 374.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-05/0.2169, allocations: 120 kB / 374.4 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/0.217, allocations: 155.8 kB / 374.5 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.2192, allocations: 1.088 MB / 375.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001341/0.2194, allocations: 227.1 kB / 375.8 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.2214, allocations: 0.6752 MB / 376.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/0.2217, allocations: 315.8 kB / 376.8 MB, free: 6.191 MB / 330.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.001218/0.2229, allocations: 0.5628 MB / 377.4 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.2232, allocations: 314 kB / 377.7 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.2237, allocations: 392.1 kB / 378.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-05/0.2238, allocations: 20 kB / 378.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2238, allocations: 0 / 378.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2238, allocations: 7.984 kB / 378.1 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.2274, allocations: 2.754 MB / 380.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2274, allocations: 1.156 kB / 380.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.2277, allocations: 111.8 kB / 381 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.2277, allocations: 8 kB / 381 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.2279, allocations: 13.95 kB / 381 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.2279, allocations: 4 kB / 381 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.2279, allocations: 7.938 kB / 381 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.2294, allocations: 1.742 MB / 382.7 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/0.23, allocations: 321.8 kB / 383 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.2302, allocations: 19.94 kB / 383.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/0.2309, allocations: 32 kB / 383.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.231, allocations: 55.8 kB / 383.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.231, allocations: 29.09 kB / 383.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002105/0.2331, allocations: 1.427 MB / 384.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2331, allocations: 0 / 384.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002932/0.236, allocations: 0.8445 MB / 385.5 MB, free: 13.4 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.0002693/0.2363, allocations: 147 kB / 385.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.2393, allocations: 1.949 MB / 387.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2393, allocations: 0 / 387.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.2395, allocations: 210.5 kB / 387.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.2408, allocations: 370 kB / 388.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/0.2493, allocations: 5.634 MB / 393.7 MB, free: 5.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009611/0.2502, allocations: 0.9465 MB / 394.7 MB, free: 4.043 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002041/0.2523, allocations: 1.305 MB / 396 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.2526, allocations: 188.5 kB / 396.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of SimCode: time 2.765e-06/0.2526, allocations: 4 kB / 396.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of Templates: time 0.03106/0.2836, allocations: 16.21 MB / 412.4 MB, free: 2.785 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] 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","",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.589328665751964]