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.001659/0.001659, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001764/0.001764, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 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 0.001603/0.001603, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2679, allocations: 53.37 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01121/0.2791, allocations: 7.96 MB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006168/0.2853, allocations: 2.589 MB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.2865, allocations: 55.75 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.2904, allocations: 1.791 MB / 444.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.2943, allocations: 1.37 MB / 446.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.2949, allocations: 211.6 kB / 446.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003378/0.2983, allocations: 2.349 MB / 448.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.3005, allocations: 1.729 MB / 450.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.3021, allocations: 1.008 MB / 451.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003509/0.3056, allocations: 2.509 MB / 453.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005809/0.3062, allocations: 188 kB / 454.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.3072, allocations: 427.4 kB / 454.5 MB, free: 424 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.3085, allocations: 1.332 MB / 455.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.3098, allocations: 1.125 MB / 457 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005667/0.3155, allocations: 4.869 MB / 461.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3155, allocations: 0 / 461.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3155, allocations: 0 / 461.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000126/0.3156, allocations: 0 / 461.8 MB, free: 9.055 MB / 366.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.006865/0.3225, allocations: 3.635 MB / 465.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3225, allocations: 11.97 kB / 465.5 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006161/0.3287, allocations: 1.726 MB / 467.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00394/0.3326, allocations: 1.533 MB / 468.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.3328, allocations: 151.8 kB / 468.9 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/0.3332, allocations: 203.9 kB / 469.1 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.3448, allocations: 6.982 MB / 476.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.601e-05/0.3448, allocations: 27.75 kB / 476.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.3451, allocations: 99.89 kB / 476.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002495/0.3476, allocations: 1.555 MB / 477.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.3584, allocations: 5.497 MB / 483.3 MB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0324/0.3908, allocations: 25.31 MB / 0.4966 GB, free: 8.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.3935, allocations: 1.124 MB / 0.4977 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/0.3942, allocations: 483.1 kB / 0.4982 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003794/0.398, allocations: 2.007 MB / 0.5002 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.3981, allocations: 46.5 kB / 0.5002 GB, free: 5.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.327e-06/0.3981, allocations: 0 / 0.5002 GB, free: 5.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003952/0.402, allocations: 1.747 MB / 0.5019 GB, free: 3.266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.4022, allocations: 217.6 kB / 0.5021 GB, free: 3.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005035/0.4072, allocations: 3.535 MB / 0.5056 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.4073, allocations: 33.86 kB / 0.5056 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002318/0.4096, allocations: 2.814 MB / 0.5084 GB, free: 12.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.41, allocations: 409.1 kB / 0.5087 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.4112, allocations: 0.9685 MB / 0.5097 GB, free: 11.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4113, allocations: 305.1 kB / 0.51 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.4132, allocations: 1.204 MB / 0.5112 GB, free: 9.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004988/0.4182, allocations: 4.526 MB / 0.5156 GB, free: 3.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007924/0.4261, allocations: 6.299 MB / 0.5217 GB, free: 11.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-05/0.4262, allocations: 32 kB / 0.5218 GB, free: 11.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00925/0.4355, allocations: 5.42 MB / 0.5271 GB, free: 6.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.942e-05/0.4355, allocations: 60.03 kB / 0.5271 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.4357, allocations: 124 kB / 0.5272 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.4358, allocations: 156 kB / 0.5274 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/0.4388, allocations: 1.084 MB / 0.5284 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001972/0.439, allocations: 239.1 kB / 0.5287 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/0.4424, allocations: 0.6632 MB / 0.5293 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00041/0.4428, allocations: 312 kB / 0.5296 GB, free: 3.41 MB / 446.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.002814/0.4456, allocations: 1.712 MB / 0.5313 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005242/0.4461, allocations: 290 kB / 0.5316 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008483/0.447, allocations: 482.5 kB / 0.532 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-05/0.447, allocations: 23.98 kB / 0.532 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.447, allocations: 4 kB / 0.532 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4471, allocations: 7.984 kB / 0.5321 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004943/0.452, allocations: 2.357 MB / 0.5344 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.452, allocations: 4.281 kB / 0.5344 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.4525, allocations: 103.8 kB / 0.5345 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.4525, allocations: 11.94 kB / 0.5345 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.953e-05/0.4526, allocations: 24.2 kB / 0.5345 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.4526, allocations: 12 kB / 0.5345 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.4526, allocations: 11.92 kB / 0.5345 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.4554, allocations: 2.201 MB / 0.5367 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007635/0.4562, allocations: 333.7 kB / 0.537 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.4564, allocations: 16 kB / 0.537 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/0.4572, allocations: 31.95 kB / 0.537 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4573, allocations: 51.81 kB / 0.5371 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.4574, allocations: 36.05 kB / 0.5371 GB, free: 11.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003205/0.4606, allocations: 2.098 MB / 0.5392 GB, free: 9.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4606, allocations: 0 / 0.5392 GB, free: 9.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003794/0.4644, allocations: 0.8336 MB / 0.54 GB, free: 8.652 MB / 462.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.000342/0.4647, allocations: 139 kB / 0.5401 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004807/0.4695, allocations: 2.707 MB / 0.5428 GB, free: 5.824 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.4695, allocations: 4 kB / 0.5428 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005926/0.4701, allocations: 404.4 kB / 0.5431 GB, free: 5.426 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.472, allocations: 343.1 kB / 0.5435 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2199/0.6919, allocations: 7.086 MB / 0.5504 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002809/0.6947, allocations: 2.135 MB / 0.5525 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000659/0.6954, allocations: 225.9 kB / 0.5527 GB, free: 112.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6954, allocations: 0 / 0.5527 GB, free: 112.1 MB / 462.1 MB Notification: Performance of Templates: time 0.05377/0.7491, allocations: 44.16 MB / 0.5958 GB, free: 75.95 MB / 462.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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: 10.734928512014449]