Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001692/0.001692, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 213.5 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 230.5 MB / 258.2 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 379.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2558, allocations: 53.41 MB / 432.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01177/0.2675, allocations: 9.065 MB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.2739, allocations: 2.754 MB / 444.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.2754, allocations: 55.75 kB / 444.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004068/0.2795, allocations: 1.865 MB / 446.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.2833, allocations: 1.37 MB / 447.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/0.284, allocations: 223.5 kB / 447.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003625/0.2876, allocations: 2.332 MB / 450.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.2898, allocations: 1.742 MB / 451.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.2915, allocations: 1.016 MB / 452.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.2952, allocations: 2.583 MB / 455.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004765/0.2957, allocations: 188 kB / 455.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.2967, allocations: 0.5228 MB / 456.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.2981, allocations: 1.332 MB / 457.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.2996, allocations: 1.575 MB / 459.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.3053, allocations: 4.854 MB / 463.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3053, allocations: 0 / 463.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3053, allocations: 0 / 463.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001378/0.3055, allocations: 0 / 463.9 MB, free: 7.117 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.006427/0.3119, allocations: 3.642 MB / 467.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.312, allocations: 8.031 kB / 467.6 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.3183, allocations: 1.722 MB / 469.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/0.3221, allocations: 1.533 MB / 470.8 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.3222, allocations: 155.9 kB / 471 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005619/0.3228, allocations: 191.8 kB / 471.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.3342, allocations: 6.986 MB / 478.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.401e-05/0.3343, allocations: 27.7 kB / 478.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.3346, allocations: 95.89 kB / 478.3 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002393/0.337, allocations: 1.566 MB / 479.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.3474, allocations: 5.489 MB / 485.3 MB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03332/0.3807, allocations: 27.09 MB / 0.5004 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.3834, allocations: 1.127 MB / 0.5015 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.3841, allocations: 473 kB / 0.502 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003896/0.388, allocations: 2.226 MB / 0.5041 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.388, allocations: 42.55 kB / 0.5042 GB, free: 1.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.966e-06/0.388, allocations: 0 / 0.5042 GB, free: 1.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.00393/0.3919, allocations: 1.766 MB / 0.5059 GB, free: 15.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.3921, allocations: 229.7 kB / 0.5061 GB, free: 15.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005257/0.3973, allocations: 3.67 MB / 0.5097 GB, free: 11.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/0.3974, allocations: 33.7 kB / 0.5097 GB, free: 11.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002548/0.3999, allocations: 2.796 MB / 0.5125 GB, free: 8.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.4004, allocations: 401.2 kB / 0.5128 GB, free: 8.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.4017, allocations: 0.9685 MB / 0.5138 GB, free: 7.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4018, allocations: 301.1 kB / 0.5141 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.4037, allocations: 1.212 MB / 0.5153 GB, free: 5.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004859/0.4086, allocations: 4.526 MB / 0.5197 GB, free: 15.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007478/0.4161, allocations: 6.291 MB / 0.5258 GB, free: 7.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-05/0.4161, allocations: 39.94 kB / 0.5259 GB, free: 7.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00945/0.4256, allocations: 5.454 MB / 0.5312 GB, free: 1.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.679e-05/0.4257, allocations: 59.98 kB / 0.5312 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.4258, allocations: 116 kB / 0.5314 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.4259, allocations: 156.8 kB / 0.5315 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/0.4288, allocations: 1.084 MB / 0.5326 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001956/0.429, allocations: 235.1 kB / 0.5328 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/0.4322, allocations: 0.6904 MB / 0.5335 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003733/0.4325, allocations: 316 kB / 0.5338 GB, free: 15.27 MB / 462.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.002566/0.4351, allocations: 1.723 MB / 0.5354 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005161/0.4356, allocations: 313.8 kB / 0.5357 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009054/0.4365, allocations: 490.2 kB / 0.5362 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/0.4366, allocations: 20 kB / 0.5362 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4366, allocations: 0 / 0.5362 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.4366, allocations: 7.984 kB / 0.5362 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/0.4426, allocations: 3.126 MB / 0.5393 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.4426, allocations: 8.062 kB / 0.5393 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.4431, allocations: 107.8 kB / 0.5394 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.4431, allocations: 7.938 kB / 0.5394 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.4431, allocations: 23.94 kB / 0.5394 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.4431, allocations: 4.281 kB / 0.5394 GB, free: 9.367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.4431, allocations: 7.938 kB / 0.5394 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.4458, allocations: 2.237 MB / 0.5416 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008511/0.4466, allocations: 361.6 kB / 0.542 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.4469, allocations: 27.83 kB / 0.542 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/0.4477, allocations: 31.97 kB / 0.542 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4478, allocations: 51.86 kB / 0.5421 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.4478, allocations: 31.98 kB / 0.5421 GB, free: 6.574 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003463/0.4513, allocations: 2.333 MB / 0.5444 GB, free: 4.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4513, allocations: 0 / 0.5444 GB, free: 4.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003808/0.4551, allocations: 0.8028 MB / 0.5452 GB, free: 3.453 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.0003686/0.4555, allocations: 143 kB / 0.5453 GB, free: 3.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004866/0.4603, allocations: 2.71 MB / 0.548 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/0.4604, allocations: 4 kB / 0.548 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.461, allocations: 403.5 kB / 0.5483 GB, free: 232 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2222/0.6832, allocations: 367.7 kB / 0.5487 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.697, allocations: 7.152 MB / 0.5557 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/0.6997, allocations: 2.69 MB / 0.5583 GB, free: 111.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007335/0.7004, allocations: 238.9 kB / 0.5585 GB, free: 111.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.753e-06/0.7004, allocations: 0.5 kB / 0.5585 GB, free: 111.1 MB / 462.1 MB Notification: Performance of Templates: time 0.0566/0.757, allocations: 44.12 MB / 0.6016 GB, free: 71.31 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 11.430417224997655]