Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 48.55 kB / 300.6 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1004, allocations: 49.44 MB / 350.1 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01052/0.111, allocations: 9.018 MB / 359.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005316/0.1163, allocations: 2.671 MB / 361.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.1176, allocations: 51.88 kB / 361.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003708/0.1213, allocations: 1.822 MB / 363.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003166/0.1245, allocations: 1.327 MB / 364.9 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.1252, allocations: 211.6 kB / 365.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00294/0.1281, allocations: 2.359 MB / 367.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.1308, allocations: 2.114 MB / 369.6 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1739/0.3048, allocations: 1.005 MB / 370.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003283/0.3081, allocations: 2.33 MB / 373 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006413/0.3088, allocations: 188.7 kB / 373.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.3099, allocations: 487.8 kB / 373.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.311, allocations: 1.303 MB / 374.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.3123, allocations: 1.586 MB / 376.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.317, allocations: 4.626 MB / 381.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.317, allocations: 3.062 kB / 381.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.317, allocations: 2.812 kB / 381.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001359/0.3172, allocations: 0 / 381.1 MB, free: 9.359 MB / 302.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.006749/0.3239, allocations: 3.627 MB / 384.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.324, allocations: 8.812 kB / 384.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/0.3289, allocations: 1.651 MB / 386.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.3315, allocations: 1.553 MB / 388 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.435e-05/0.3316, allocations: 158 kB / 388.1 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.3319, allocations: 197.9 kB / 388.3 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00803/0.34, allocations: 6.983 MB / 395.3 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/0.3401, allocations: 24.91 kB / 395.3 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.3403, allocations: 104.5 kB / 395.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001867/0.3422, allocations: 1.558 MB / 397 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008971/0.3512, allocations: 5.492 MB / 402.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/0.3808, allocations: 27.23 MB / 429.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.3837, allocations: 1.636 MB / 431.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/0.3844, allocations: 0.5012 MB / 431.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004042/0.3884, allocations: 2.681 MB / 434.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3885, allocations: 53.58 kB / 434.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 3.557e-06/0.3885, allocations: 0 / 434.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.003761/0.3923, allocations: 1.755 MB / 436.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.3924, allocations: 213.8 kB / 436.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005046/0.3974, allocations: 3.668 MB / 440.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/0.3976, allocations: 40.44 kB / 440.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.3993, allocations: 2.684 MB / 442.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.3997, allocations: 399.6 kB / 443.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.4008, allocations: 0.9507 MB / 444.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.4009, allocations: 308.3 kB / 444.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.4026, allocations: 1.211 MB / 445.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.4061, allocations: 4.524 MB / 450.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/0.4122, allocations: 6.29 MB / 456.6 MB, free: 3.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.932e-05/0.4123, allocations: 36 kB / 456.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008799/0.4211, allocations: 5.441 MB / 462.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.4212, allocations: 58.97 kB / 462.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.4213, allocations: 117.8 kB / 462.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.4214, allocations: 156 kB / 462.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/0.4243, allocations: 1.089 MB / 463.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001682/0.4245, allocations: 231.1 kB / 463.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/0.4279, allocations: 0.688 MB / 464.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003989/0.4283, allocations: 314.6 kB / 464.7 MB, free: 11.27 MB / 382.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.003606/0.4319, allocations: 1.712 MB / 466.4 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007629/0.4327, allocations: 300 kB / 466.7 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.4337, allocations: 491.1 kB / 467.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.495e-05/0.4338, allocations: 27.92 kB / 467.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.4338, allocations: 4 kB / 467.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4338, allocations: 4 kB / 467.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005869/0.4397, allocations: 3.156 MB / 470.4 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.4397, allocations: 7.984 kB / 470.4 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.4402, allocations: 103.8 kB / 470.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.4402, allocations: 4 kB / 470.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/0.4403, allocations: 18.64 kB / 470.5 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.4403, allocations: 8 kB / 470.5 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.4403, allocations: 11.88 kB / 470.5 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.4425, allocations: 2.207 MB / 472.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/0.4433, allocations: 428.9 kB / 473.2 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.4436, allocations: 24 kB / 473.2 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/0.4444, allocations: 27.97 kB / 473.2 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4446, allocations: 54.16 kB / 473.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.4446, allocations: 32 kB / 473.3 MB, free: 2.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003375/0.448, allocations: 2.341 MB / 475.6 MB, free: 200 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.448, allocations: 0 / 475.6 MB, free: 200 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.003938/0.452, allocations: 0.808 MB / 476.4 MB, free: 15.38 MB / 398.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.0003115/0.4523, allocations: 150.3 kB / 476.6 MB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004538/0.4568, allocations: 2.904 MB / 479.5 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4569, allocations: 1.75 kB / 479.5 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.4575, allocations: 440.7 kB / 479.9 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.4599, allocations: 390.2 kB / 480.3 MB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.471, allocations: 6.755 MB / 487.1 MB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002758/0.4738, allocations: 2.679 MB / 489.7 MB, free: 2.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003435/0.4773, allocations: 1.493 MB / 491.2 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.4777, allocations: 191.4 kB / 491.4 MB, free: 352 kB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4777, allocations: 3.938 kB / 491.4 MB, free: 348 kB / 398.1 MB Notification: Performance of Templates: time 0.04533/0.523, allocations: 22.18 MB / 0.5016 GB, free: 10.33 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches