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.001678/0.001678, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002237/0.002237, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001577/0.001577, allocations: 51.92 kB / 378.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2508, allocations: 53.36 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01136/0.2622, allocations: 9.066 MB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00616/0.2683, allocations: 2.752 MB / 443.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008944/0.2692, allocations: 55.75 kB / 443.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.2729, allocations: 1.872 MB / 445.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.2763, allocations: 1.362 MB / 446.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.2769, allocations: 219.6 kB / 447 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.2804, allocations: 2.343 MB / 449.3 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.2827, allocations: 1.738 MB / 451 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.2843, allocations: 1.02 MB / 452.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003681/0.288, allocations: 2.575 MB / 454.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004631/0.2884, allocations: 196 kB / 454.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.2895, allocations: 0.515 MB / 455.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.2908, allocations: 1.347 MB / 456.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.2925, allocations: 1.568 MB / 458.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005733/0.2982, allocations: 4.857 MB / 463.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2982, allocations: 0 / 463.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2982, allocations: 0 / 463.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001031/0.2983, allocations: 0 / 463.1 MB, free: 7.266 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.006549/0.3049, allocations: 3.638 MB / 466.8 MB, free: 3.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3049, allocations: 8.031 kB / 466.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006086/0.311, allocations: 1.722 MB / 468.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.3145, allocations: 1.529 MB / 470 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.3146, allocations: 151.8 kB / 470.2 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.315, allocations: 199.9 kB / 470.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.3252, allocations: 6.979 MB / 477.3 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-05/0.3253, allocations: 31.7 kB / 477.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.3255, allocations: 103.9 kB / 477.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002314/0.3279, allocations: 1.559 MB / 479 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009775/0.3376, allocations: 5.485 MB / 484.5 MB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03336/0.371, allocations: 27.08 MB / 0.4996 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.3739, allocations: 1.135 MB / 0.5007 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/0.3747, allocations: 467.5 kB / 0.5012 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004469/0.3792, allocations: 2.222 MB / 0.5033 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.3793, allocations: 54.48 kB / 0.5034 GB, free: 1.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.845e-06/0.3793, allocations: 0 / 0.5034 GB, free: 1.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004116/0.3834, allocations: 1.764 MB / 0.5051 GB, free: 15.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.3835, allocations: 221.5 kB / 0.5053 GB, free: 15.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006373/0.3899, allocations: 3.674 MB / 0.5089 GB, free: 11.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/0.39, allocations: 37.7 kB / 0.5089 GB, free: 11.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002463/0.3924, allocations: 2.792 MB / 0.5117 GB, free: 8.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005234/0.393, allocations: 405.2 kB / 0.512 GB, free: 8.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.3945, allocations: 0.9646 MB / 0.513 GB, free: 7.277 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3946, allocations: 301.1 kB / 0.5133 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.3965, allocations: 1.204 MB / 0.5145 GB, free: 5.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/0.4013, allocations: 4.534 MB / 0.5189 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007499/0.4088, allocations: 6.295 MB / 0.525 GB, free: 7.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-05/0.4089, allocations: 35.94 kB / 0.5251 GB, free: 7.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009348/0.4183, allocations: 5.454 MB / 0.5304 GB, free: 2.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.893e-05/0.4183, allocations: 56 kB / 0.5304 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/0.4185, allocations: 128 kB / 0.5306 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.4186, allocations: 156 kB / 0.5307 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/0.4215, allocations: 1.084 MB / 0.5318 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001913/0.4217, allocations: 231.6 kB / 0.532 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003463/0.4252, allocations: 0.6982 MB / 0.5327 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003789/0.4256, allocations: 312 kB / 0.533 GB, free: 15.42 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.002581/0.4281, allocations: 1.711 MB / 0.5346 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005111/0.4286, allocations: 317.8 kB / 0.5349 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009085/0.4296, allocations: 494.2 kB / 0.5354 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-05/0.4296, allocations: 19.98 kB / 0.5354 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4296, allocations: 4 kB / 0.5354 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4296, allocations: 7.984 kB / 0.5354 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005496/0.4351, allocations: 3.125 MB / 0.5385 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.4351, allocations: 4 kB / 0.5385 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.4356, allocations: 108.1 kB / 0.5386 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.4356, allocations: 11.94 kB / 0.5386 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.4357, allocations: 19.92 kB / 0.5386 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.4357, allocations: 8 kB / 0.5386 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.4357, allocations: 7.938 kB / 0.5387 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.4382, allocations: 2.227 MB / 0.5408 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008055/0.439, allocations: 365.6 kB / 0.5412 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.4393, allocations: 28.11 kB / 0.5412 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008258/0.4401, allocations: 27.97 kB / 0.5412 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.4402, allocations: 59.86 kB / 0.5413 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.4403, allocations: 39.91 kB / 0.5413 GB, free: 6.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0034/0.4437, allocations: 2.333 MB / 0.5436 GB, free: 4.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4437, allocations: 0 / 0.5436 GB, free: 4.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003589/0.4473, allocations: 0.795 MB / 0.5444 GB, free: 3.602 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.0002872/0.4475, allocations: 143 kB / 0.5445 GB, free: 3.453 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004359/0.4519, allocations: 2.707 MB / 0.5472 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4519, allocations: 8 kB / 0.5472 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.4525, allocations: 391.6 kB / 0.5475 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.4545, allocations: 386.6 kB / 0.5479 GB, free: 4 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2061/0.6607, allocations: 6.783 MB / 0.5545 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002651/0.6633, allocations: 2.687 MB / 0.5572 GB, free: 111.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002855/0.6662, allocations: 1.494 MB / 0.5586 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.6665, allocations: 200.7 kB / 0.5588 GB, free: 111.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6666, allocations: 0 / 0.5588 GB, free: 111.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04304/0.7096, allocations: 22.71 MB / 0.581 GB, free: 92.04 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/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_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: 5.890227139927447]