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.001809/0.001809, allocations: 111.8 kB / 19.17 MB, free: 3.871 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.00225/0.00225, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.483/1.483, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.001862/0.001862, allocations: 67.88 kB / 374.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.1001, allocations: 53.32 MB / 427.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.222/0.3222, allocations: 9.034 MB / 436.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005778/0.3279, allocations: 2.731 MB / 439.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.3294, allocations: 50.09 kB / 439.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00367/0.3331, allocations: 1.854 MB / 441.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.337, allocations: 1.35 MB / 442.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006368/0.3377, allocations: 218.1 kB / 443.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004025/0.3417, allocations: 2.341 MB / 445.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/0.3443, allocations: 1.787 MB / 447.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.3462, allocations: 0.9916 MB / 448.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004444/0.3507, allocations: 2.573 MB / 450.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008683/0.3515, allocations: 188.4 kB / 451 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.3531, allocations: 0.5152 MB / 451.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.3544, allocations: 1.336 MB / 452.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.3559, allocations: 1.578 MB / 454.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006977/0.3629, allocations: 4.853 MB / 459.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3629, allocations: 4 kB / 459.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3629, allocations: 0 / 459.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001603/0.363, allocations: 0 / 459.3 MB, free: 12.39 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.008398/0.3714, allocations: 3.712 MB / 463 MB, free: 9.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3715, allocations: 12.64 kB / 463 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008786/0.3803, allocations: 1.727 MB / 464.7 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/0.3843, allocations: 1.584 MB / 466.3 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.3845, allocations: 158.2 kB / 466.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005427/0.385, allocations: 202.7 kB / 466.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.3966, allocations: 6.978 MB / 473.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.953e-05/0.3967, allocations: 31.7 kB / 473.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/0.397, allocations: 103.9 kB / 473.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002564/0.3996, allocations: 1.555 MB / 475.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.4105, allocations: 5.496 MB / 480.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03492/0.4454, allocations: 27.18 MB / 0.4961 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.4485, allocations: 1.577 MB / 0.4976 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/0.4492, allocations: 470.3 kB / 0.4981 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004464/0.4537, allocations: 2.698 MB / 0.5007 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.4537, allocations: 50.5 kB / 0.5007 GB, free: 9.867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.976e-06/0.4537, allocations: 0 / 0.5007 GB, free: 9.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004246/0.458, allocations: 1.774 MB / 0.5025 GB, free: 8.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.4581, allocations: 221.5 kB / 0.5027 GB, free: 7.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005762/0.4639, allocations: 3.67 MB / 0.5063 GB, free: 4.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.464, allocations: 37.7 kB / 0.5063 GB, free: 4.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.4664, allocations: 2.792 MB / 0.509 GB, free: 1.301 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000526/0.467, allocations: 405.1 kB / 0.5094 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/0.4683, allocations: 0.9648 MB / 0.5104 GB, free: 15.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4684, allocations: 301.1 kB / 0.5107 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.4705, allocations: 1.208 MB / 0.5118 GB, free: 14.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00497/0.4754, allocations: 4.534 MB / 0.5163 GB, free: 8.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008071/0.4835, allocations: 6.278 MB / 0.5224 GB, free: 236 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.433e-05/0.4836, allocations: 36.56 kB / 0.5224 GB, free: 200 kB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01159/0.4952, allocations: 5.46 MB / 0.5278 GB, free: 10.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.4953, allocations: 56.19 kB / 0.5278 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/0.4955, allocations: 125.5 kB / 0.5279 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.4956, allocations: 152 kB / 0.5281 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/0.4991, allocations: 1.088 MB / 0.5291 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002401/0.4993, allocations: 227.1 kB / 0.5294 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/0.5033, allocations: 0.7058 MB / 0.53 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006773/0.504, allocations: 319.9 kB / 0.5303 GB, free: 8.07 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.003555/0.5076, allocations: 1.705 MB / 0.532 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007525/0.5083, allocations: 321.8 kB / 0.5323 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.5094, allocations: 488.8 kB / 0.5328 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-05/0.5095, allocations: 23.98 kB / 0.5328 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.5095, allocations: 4 kB / 0.5328 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5095, allocations: 4 kB / 0.5328 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006844/0.5164, allocations: 3.158 MB / 0.5359 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.5164, allocations: 7.984 kB / 0.5359 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/0.5169, allocations: 99.83 kB / 0.536 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.5169, allocations: 10.2 kB / 0.536 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.517, allocations: 15.98 kB / 0.536 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.011e-05/0.517, allocations: 15.88 kB / 0.536 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.517, allocations: 4 kB / 0.536 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.52, allocations: 2.23 MB / 0.5382 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.521, allocations: 446.7 kB / 0.5387 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.5214, allocations: 24 kB / 0.5387 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.5223, allocations: 35.81 kB / 0.5387 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5225, allocations: 47.88 kB / 0.5388 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/0.5225, allocations: 28 kB / 0.5388 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00433/0.5269, allocations: 2.34 MB / 0.5411 GB, free: 12.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5269, allocations: 4 kB / 0.5411 GB, free: 12.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004671/0.5315, allocations: 0.7989 MB / 0.5418 GB, free: 12.14 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.0004046/0.5319, allocations: 143 kB / 0.542 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005258/0.5372, allocations: 2.711 MB / 0.5446 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.5372, allocations: 1.688 kB / 0.5446 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.5379, allocations: 405.3 kB / 0.545 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.5405, allocations: 390.2 kB / 0.5454 GB, free: 8.547 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.554, allocations: 7.144 MB / 0.5524 GB, free: 1.324 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003429/0.5574, allocations: 2.687 MB / 0.555 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008002/0.5582, allocations: 239.4 kB / 0.5552 GB, free: 14.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5582, allocations: 0 / 0.5552 GB, free: 14.38 MB / 478.1 MB Notification: Performance of Templates: time 0.07625/0.6345, allocations: 44.11 MB / 0.5983 GB, free: 2.336 MB / 0.4981 GB " [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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.943857504986227]