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.001856/0.001856, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002202/0.002202, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.549/1.549, allocations: 230.5 MB / 258.1 MB, free: 7.766 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.001988/0.001988, allocations: 63.91 kB / 379 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2731, allocations: 53.41 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01166/0.2848, allocations: 7.96 MB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006504/0.2913, allocations: 2.581 MB / 443 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.2929, allocations: 63.69 kB / 443 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.2969, allocations: 1.795 MB / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003901/0.3008, allocations: 1.362 MB / 446.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.3014, allocations: 223.6 kB / 446.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003561/0.305, allocations: 2.335 MB / 448.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.3073, allocations: 1.729 MB / 450.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.309, allocations: 1.012 MB / 451.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.3128, allocations: 2.509 MB / 454 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006661/0.3135, allocations: 188 kB / 454.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.3146, allocations: 423.4 kB / 454.6 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.316, allocations: 1.336 MB / 455.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.3173, allocations: 1.117 MB / 457 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005763/0.3231, allocations: 4.881 MB / 461.9 MB, free: 8.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3231, allocations: 4 kB / 461.9 MB, free: 8.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3231, allocations: 0 / 461.9 MB, free: 8.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001264/0.3232, allocations: 0 / 461.9 MB, free: 8.84 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.007348/0.3306, allocations: 3.631 MB / 465.5 MB, free: 5.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3306, allocations: 15.98 kB / 465.6 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006184/0.3368, allocations: 1.718 MB / 467.3 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003589/0.3404, allocations: 1.54 MB / 468.8 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.3405, allocations: 155.8 kB / 469 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005137/0.3411, allocations: 191.9 kB / 469.2 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.3524, allocations: 6.99 MB / 476.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.894e-05/0.3525, allocations: 27.75 kB / 476.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003583/0.3529, allocations: 103.9 kB / 476.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002538/0.3554, allocations: 1.558 MB / 477.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.3673, allocations: 5.489 MB / 483.3 MB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03802/0.4053, allocations: 25.31 MB / 0.4967 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.4083, allocations: 1.124 MB / 0.4978 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008692/0.4091, allocations: 480.5 kB / 0.4983 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004802/0.4139, allocations: 2.011 MB / 0.5002 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.414, allocations: 42.56 kB / 0.5003 GB, free: 4.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.288e-06/0.414, allocations: 0 / 0.5003 GB, free: 4.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004429/0.4184, allocations: 1.755 MB / 0.502 GB, free: 3.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.4185, allocations: 217.6 kB / 0.5022 GB, free: 2.789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0068/0.4253, allocations: 3.535 MB / 0.5056 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.4255, allocations: 37.7 kB / 0.5057 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002745/0.4282, allocations: 2.806 MB / 0.5084 GB, free: 12.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006366/0.4289, allocations: 409.1 kB / 0.5088 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001917/0.4308, allocations: 0.9725 MB / 0.5098 GB, free: 10.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4309, allocations: 301.1 kB / 0.51 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.4332, allocations: 1.208 MB / 0.5112 GB, free: 9.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006155/0.4393, allocations: 4.526 MB / 0.5156 GB, free: 3.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008278/0.4476, allocations: 6.287 MB / 0.5218 GB, free: 11.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/0.4477, allocations: 36 kB / 0.5218 GB, free: 11.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01155/0.4593, allocations: 5.423 MB / 0.5271 GB, free: 5.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.4594, allocations: 60.06 kB / 0.5272 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/0.4597, allocations: 120 kB / 0.5273 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.4599, allocations: 156 kB / 0.5274 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.4634, allocations: 1.092 MB / 0.5285 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002495/0.4637, allocations: 235.1 kB / 0.5287 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/0.4677, allocations: 0.6631 MB / 0.5294 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007814/0.4685, allocations: 323.9 kB / 0.5297 GB, free: 3.188 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.003484/0.472, allocations: 1.712 MB / 0.5313 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007067/0.4727, allocations: 294 kB / 0.5316 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.474, allocations: 471.6 kB / 0.5321 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.166e-05/0.4741, allocations: 20 kB / 0.5321 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4741, allocations: 4 kB / 0.5321 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.4741, allocations: 3.984 kB / 0.5321 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/0.4808, allocations: 2.36 MB / 0.5344 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.4808, allocations: 4 kB / 0.5344 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.4813, allocations: 107.8 kB / 0.5345 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.4813, allocations: 4 kB / 0.5345 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/0.4814, allocations: 23.98 kB / 0.5345 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.4814, allocations: 4 kB / 0.5345 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.4814, allocations: 11.88 kB / 0.5346 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.4843, allocations: 2.205 MB / 0.5367 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009558/0.4853, allocations: 337.7 kB / 0.537 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003257/0.4856, allocations: 19.98 kB / 0.5371 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008043/0.4864, allocations: 27.97 kB / 0.5371 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4865, allocations: 55.8 kB / 0.5371 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.4866, allocations: 28 kB / 0.5372 GB, free: 11.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003286/0.4898, allocations: 2.098 MB / 0.5392 GB, free: 9.281 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4898, allocations: 4.062 kB / 0.5392 GB, free: 9.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003923/0.4938, allocations: 0.8297 MB / 0.54 GB, free: 8.445 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.0003378/0.4941, allocations: 143 kB / 0.5402 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004694/0.4988, allocations: 2.717 MB / 0.5428 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4988, allocations: 0.5625 kB / 0.5428 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.4994, allocations: 405.4 kB / 0.5432 GB, free: 5.211 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.5017, allocations: 343.5 kB / 0.5435 GB, free: 4.875 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2419/0.7436, allocations: 7.089 MB / 0.5505 GB, free: 111.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/0.7467, allocations: 2.136 MB / 0.5525 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007369/0.7474, allocations: 227.2 kB / 0.5528 GB, free: 111.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.7474, allocations: 0 / 0.5528 GB, free: 111.4 MB / 462.1 MB Notification: Performance of Templates: time 0.05493/0.8023, allocations: 44.17 MB / 0.5959 GB, free: 75.2 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.294106905348599]