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.001124/0.001124, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.0028, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009262/0.0009262, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009657/0.001892, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9296/0.9296, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1917/1.121, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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 2.475e-06/2.475e-06, allocations: 0 / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.75e-05, allocations: 5.406 kB / 222 MB, free: 40 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01086/0.0109, allocations: 8.652 MB / 230.7 MB, free: 7.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005224/0.01612, allocations: 2.728 MB / 233.4 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008564/0.01698, allocations: 55.75 kB / 233.4 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.01911, allocations: 1.868 MB / 235.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.02204, allocations: 1.392 MB / 236.7 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.02246, allocations: 231.5 kB / 236.9 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003049/0.02551, allocations: 3.143 MB / 240.1 MB, free: 13.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.02758, allocations: 1.86 MB / 241.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.02969, allocations: 1.815 MB / 243.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.03097, allocations: 1.43 MB / 245.2 MB, free: 8.719 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.03118, allocations: 184 kB / 245.4 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.03181, allocations: 455.4 kB / 245.8 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007263/0.03254, allocations: 1.274 MB / 247.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.03311, allocations: 0.6888 MB / 247.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.03576, allocations: 2.937 MB / 250.7 MB, free: 3.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.03577, allocations: 0 / 250.7 MB, free: 3.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.03577, allocations: 0 / 250.7 MB, free: 3.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.905e-05/0.03583, allocations: 4 kB / 250.7 MB, free: 3.172 MB / 250.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.00363/0.03946, allocations: 4.112 MB / 254.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.03951, allocations: 8.031 kB / 254.8 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.04143, allocations: 0.8642 MB / 255.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.04303, allocations: 1.404 MB / 257.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000449/0.04348, allocations: 147.9 kB / 257.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.0437, allocations: 199.9 kB / 257.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003563/0.04727, allocations: 3.452 MB / 260.9 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.663e-05/0.04732, allocations: 31.73 kB / 260.9 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.04748, allocations: 103.9 kB / 261 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001127/0.04861, allocations: 1.324 MB / 262.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.0511, allocations: 1.682 MB / 264 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1662/0.2173, allocations: 22.47 MB / 286.5 MB, free: 31.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.2188, allocations: 0.7442 MB / 287.2 MB, free: 31.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.219, allocations: 148.5 kB / 287.4 MB, free: 31.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00284/0.2218, allocations: 1.986 MB / 289.4 MB, free: 30.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.2219, allocations: 48.86 kB / 289.4 MB, free: 30.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 2.364e-06/0.2219, allocations: 3.375 kB / 289.4 MB, free: 30.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.001865/0.2237, allocations: 0.7901 MB / 290.2 MB, free: 30.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.2238, allocations: 218.4 kB / 290.4 MB, free: 29.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/0.2264, allocations: 2.588 MB / 293 MB, free: 29.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.2264, allocations: 36.17 kB / 293 MB, free: 29.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.2278, allocations: 2.555 MB / 295.6 MB, free: 27.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.228, allocations: 402 kB / 296 MB, free: 27.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007617/0.2288, allocations: 0.9072 MB / 296.9 MB, free: 27.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.2288, allocations: 305.6 kB / 297.2 MB, free: 27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.2295, allocations: 480.4 kB / 297.7 MB, free: 26.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.2313, allocations: 3.683 MB / 301.4 MB, free: 22.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/0.2349, allocations: 5.142 MB / 306.5 MB, free: 18.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.175e-05/0.2349, allocations: 31.47 kB / 306.5 MB, free: 18.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003336/0.2383, allocations: 3.312 MB / 309.8 MB, free: 17.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.2383, allocations: 63.5 kB / 309.9 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.923e-05/0.2384, allocations: 123.4 kB / 310 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.779e-05/0.2385, allocations: 156.8 kB / 310.2 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.2401, allocations: 1.196 MB / 311.4 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000133/0.2402, allocations: 232.1 kB / 311.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.2421, allocations: 0.6532 MB / 312.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/0.2424, allocations: 276.5 kB / 312.5 MB, free: 16.79 MB / 282.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.0008126/0.2432, allocations: 0.526 MB / 313 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.2434, allocations: 163.8 kB / 313.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.2438, allocations: 372.5 kB / 313.6 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/0.2438, allocations: 13.69 kB / 313.6 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.2438, allocations: 3.344 kB / 313.6 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2438, allocations: 3.141 kB / 313.6 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.2461, allocations: 1.651 MB / 315.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.2461, allocations: 9.656 kB / 315.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.2464, allocations: 103.9 kB / 315.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.2466, allocations: 287.2 kB / 315.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2466, allocations: 8 kB / 315.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.2466, allocations: 14.12 kB / 315.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.2466, allocations: 11.41 kB / 315.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2466, allocations: 4 kB / 315.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/0.2473, allocations: 1.276 MB / 316.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.2474, allocations: 22.53 kB / 317 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.2478, allocations: 15.12 kB / 317 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.2479, allocations: 51.98 kB / 317 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.2479, allocations: 27.88 kB / 317.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007205/0.2486, allocations: 1.082 MB / 318.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2486, allocations: 0 / 318.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001992/0.2506, allocations: 0.8389 MB / 319 MB, free: 12.65 MB / 282.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.0002427/0.2508, allocations: 132 kB / 319.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.2522, allocations: 1.929 MB / 321 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001268/0.2524, allocations: 96.16 kB / 321.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.2527, allocations: 382.4 kB / 321.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.2542, allocations: 2.566 MB / 324.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.2605, allocations: 5.833 MB / 329.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.2611, allocations: 0.9432 MB / 330.8 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008332/0.2619, allocations: 426.1 kB / 331.3 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.2624, allocations: 461.2 kB / 331.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2624, allocations: 0 / 331.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of Templates: time 0.03337/0.2958, allocations: 17.21 MB / 348.9 MB, free: 14.7 MB / 314.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.324734372086823]