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.001671/0.001671, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001919/0.001919, allocations: 213.4 kB / 23 MB, free: 5.609 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.44/1.44, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.001892/0.001892, allocations: 67.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2468, allocations: 53.32 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.011/0.2578, allocations: 9.073 MB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005292/0.2631, allocations: 2.746 MB / 441.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000997/0.2641, allocations: 47.88 kB / 441.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.2678, allocations: 1.872 MB / 443.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.2709, allocations: 1.338 MB / 444.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.2714, allocations: 223.7 kB / 445.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003324/0.2748, allocations: 2.335 MB / 447.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.277, allocations: 1.551 MB / 449 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.2785, allocations: 0.9963 MB / 450 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.2821, allocations: 2.579 MB / 452.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005201/0.2826, allocations: 188 kB / 452.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.2836, allocations: 0.5111 MB / 453.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.2851, allocations: 1.336 MB / 454.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002013/0.2871, allocations: 1.575 MB / 456.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005697/0.2928, allocations: 4.857 MB / 461 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2928, allocations: 0 / 461 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2928, allocations: 4 kB / 461 MB, free: 8.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.526e-05/0.2929, allocations: 0 / 461 MB, free: 8.176 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.006099/0.299, allocations: 3.718 MB / 464.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2991, allocations: 8.031 kB / 464.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005916/0.305, allocations: 1.726 MB / 466.5 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.3078, allocations: 1.589 MB / 468.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.3079, allocations: 159.8 kB / 468.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/0.3083, allocations: 191.9 kB / 468.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.3184, allocations: 6.99 MB / 475.4 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-05/0.3185, allocations: 31.73 kB / 475.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.3188, allocations: 95.89 kB / 475.5 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002277/0.3211, allocations: 1.555 MB / 477.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00995/0.331, allocations: 5.497 MB / 482.6 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0312/0.3622, allocations: 27.18 MB / 0.4978 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/0.3651, allocations: 1.579 MB / 0.4994 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.3658, allocations: 466 kB / 0.4998 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003992/0.3698, allocations: 2.698 MB / 0.5024 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.3699, allocations: 54.5 kB / 0.5025 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.574e-06/0.3699, allocations: 0 / 0.5025 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003953/0.3738, allocations: 1.766 MB / 0.5042 GB, free: 14.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.374, allocations: 217.6 kB / 0.5044 GB, free: 14.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005101/0.3791, allocations: 3.67 MB / 0.508 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/0.3791, allocations: 41.64 kB / 0.508 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0022/0.3813, allocations: 2.788 MB / 0.5108 GB, free: 8.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.3817, allocations: 417.3 kB / 0.5112 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.3829, allocations: 0.9568 MB / 0.5121 GB, free: 6.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.383, allocations: 305.1 kB / 0.5124 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.3848, allocations: 1.204 MB / 0.5136 GB, free: 5.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004536/0.3894, allocations: 4.534 MB / 0.518 GB, free: 15.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007546/0.3969, allocations: 6.28 MB / 0.5241 GB, free: 7.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/0.397, allocations: 39.88 kB / 0.5242 GB, free: 7.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009931/0.407, allocations: 5.451 MB / 0.5295 GB, free: 1.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-05/0.407, allocations: 62.53 kB / 0.5295 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/0.4072, allocations: 120.1 kB / 0.5297 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/0.4073, allocations: 163.9 kB / 0.5298 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/0.4104, allocations: 1.084 MB / 0.5309 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002187/0.4106, allocations: 231.1 kB / 0.5311 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/0.4143, allocations: 0.7019 MB / 0.5318 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004821/0.4148, allocations: 312 kB / 0.5321 GB, free: 14.93 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.002658/0.4174, allocations: 1.715 MB / 0.5338 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005752/0.418, allocations: 313.8 kB / 0.534 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000945/0.4189, allocations: 498.2 kB / 0.5345 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-05/0.419, allocations: 23.98 kB / 0.5345 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.419, allocations: 4 kB / 0.5346 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.419, allocations: 3.984 kB / 0.5346 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005419/0.4244, allocations: 3.15 MB / 0.5376 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.4244, allocations: 8 kB / 0.5376 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.4249, allocations: 99.89 kB / 0.5377 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.4249, allocations: 7.984 kB / 0.5377 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/0.425, allocations: 23.92 kB / 0.5378 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.425, allocations: 7.938 kB / 0.5378 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.425, allocations: 4 kB / 0.5378 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.4275, allocations: 2.231 MB / 0.54 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/0.4282, allocations: 450.8 kB / 0.5404 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.4284, allocations: 23.81 kB / 0.5404 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/0.4292, allocations: 32.02 kB / 0.5404 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.4294, allocations: 55.86 kB / 0.5405 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.827e-05/0.4294, allocations: 28 kB / 0.5405 GB, free: 6.102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003349/0.4328, allocations: 2.344 MB / 0.5428 GB, free: 3.773 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4328, allocations: 0 / 0.5428 GB, free: 3.773 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003418/0.4362, allocations: 0.7989 MB / 0.5436 GB, free: 2.973 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.000299/0.4365, allocations: 135 kB / 0.5437 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004272/0.4408, allocations: 2.712 MB / 0.5464 GB, free: 152 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4408, allocations: 0 / 0.5464 GB, free: 152 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1923/0.6331, allocations: 406.2 kB / 0.5468 GB, free: 115.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/0.6359, allocations: 368.8 kB / 0.5471 GB, free: 115.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.6472, allocations: 6.785 MB / 0.5537 GB, free: 113.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/0.6497, allocations: 2.685 MB / 0.5564 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002833/0.6525, allocations: 1.493 MB / 0.5578 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/0.6529, allocations: 194.6 kB / 0.558 GB, free: 112 MB / 462.1 MB Notification: Performance of SimCode: time 1.693e-06/0.6529, allocations: 4 kB / 0.558 GB, free: 112 MB / 462.1 MB Notification: Performance of Templates: time 0.03564/0.6885, allocations: 20.7 MB / 0.5782 GB, free: 94.07 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/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_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: 5.6499738013371825]