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.001197/0.001196, allocations: 114.9 kB / 17.74 MB, free: 5.293 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.001224/0.001224, allocations: 188.4 kB / 18.67 MB, free: 4.375 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 47.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2851, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0102/0.2953, allocations: 9.018 MB / 410.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005812/0.3012, allocations: 2.668 MB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.3025, allocations: 47.88 kB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00353/0.3061, allocations: 1.822 MB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003696/0.3099, allocations: 1.323 MB / 416.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.3105, allocations: 203.7 kB / 416.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003353/0.3139, allocations: 2.373 MB / 418.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002548/0.3164, allocations: 2.117 MB / 421 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.3181, allocations: 0.9925 MB / 422 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003155/0.3213, allocations: 2.345 MB / 424.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007556/0.3221, allocations: 188 kB / 424.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.3233, allocations: 499.4 kB / 425 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.3246, allocations: 1.321 MB / 426.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.3261, allocations: 1.583 MB / 427.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.3309, allocations: 4.857 MB / 432.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.331, allocations: 0 / 432.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.331, allocations: 0 / 432.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001002/0.3311, allocations: 0 / 432.8 MB, free: 9.367 MB / 350.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.005657/0.3367, allocations: 3.626 MB / 436.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3368, allocations: 8.031 kB / 436.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.3419, allocations: 1.657 MB / 438 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.3448, allocations: 1.58 MB / 439.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.3449, allocations: 155.8 kB / 439.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/0.3453, allocations: 195.9 kB / 440 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.3555, allocations: 6.982 MB / 447 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.445e-05/0.3556, allocations: 31.66 kB / 447 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.3559, allocations: 95.89 kB / 447.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002227/0.3581, allocations: 1.566 MB / 448.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009671/0.3678, allocations: 5.497 MB / 454.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03048/0.3984, allocations: 27.12 MB / 481.3 MB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.4012, allocations: 1.63 MB / 482.9 MB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/0.402, allocations: 0.5023 MB / 483.4 MB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004131/0.4061, allocations: 2.681 MB / 486.1 MB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.4062, allocations: 42.56 kB / 486.1 MB, free: 2.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.086e-06/0.4062, allocations: 4 kB / 486.1 MB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.003863/0.41, allocations: 1.759 MB / 487.9 MB, free: 288 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.4102, allocations: 217.5 kB / 488.1 MB, free: 20 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00511/0.4153, allocations: 3.665 MB / 491.8 MB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.4154, allocations: 45.67 kB / 491.8 MB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002066/0.4175, allocations: 2.688 MB / 494.5 MB, free: 9.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/0.418, allocations: 391.5 kB / 494.9 MB, free: 9.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.4191, allocations: 0.9597 MB / 495.8 MB, free: 8.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4192, allocations: 301.1 kB / 496.1 MB, free: 7.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.421, allocations: 1.208 MB / 497.3 MB, free: 6.715 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003999/0.425, allocations: 4.53 MB / 0.4901 GB, free: 496 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006893/0.4319, allocations: 6.287 MB / 0.4962 GB, free: 8.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/0.4321, allocations: 39.94 kB / 0.4963 GB, free: 8.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009905/0.442, allocations: 5.439 MB / 0.5016 GB, free: 3.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.4421, allocations: 56 kB / 0.5016 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/0.4423, allocations: 116 kB / 0.5018 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.4424, allocations: 159.9 kB / 0.5019 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.4455, allocations: 1.088 MB / 0.503 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000173/0.4457, allocations: 231.1 kB / 0.5032 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.4492, allocations: 0.6843 MB / 0.5039 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005592/0.4497, allocations: 312.3 kB / 0.5042 GB, free: 416 kB / 430.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.002563/0.4523, allocations: 1.712 MB / 0.5058 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/0.4529, allocations: 296.1 kB / 0.5061 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009513/0.4538, allocations: 0.4944 MB / 0.5066 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.515e-05/0.4539, allocations: 20 kB / 0.5066 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.4539, allocations: 0 / 0.5066 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4539, allocations: 7.984 kB / 0.5066 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005639/0.4596, allocations: 3.154 MB / 0.5097 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.4596, allocations: 4 kB / 0.5097 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.4601, allocations: 107.8 kB / 0.5098 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.4601, allocations: 4 kB / 0.5098 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.449e-05/0.4602, allocations: 15.94 kB / 0.5098 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/0.4602, allocations: 8.281 kB / 0.5098 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4603, allocations: 11.94 kB / 0.5098 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.4627, allocations: 2.214 MB / 0.512 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008433/0.4636, allocations: 421 kB / 0.5124 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/0.4639, allocations: 23.84 kB / 0.5124 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/0.4649, allocations: 35.95 kB / 0.5125 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.465, allocations: 47.83 kB / 0.5125 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-05/0.4651, allocations: 35.98 kB / 0.5125 GB, free: 7.629 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003679/0.4687, allocations: 2.345 MB / 0.5148 GB, free: 5.301 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.4688, allocations: 0 / 0.5148 GB, free: 5.301 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003826/0.4726, allocations: 0.8022 MB / 0.5156 GB, free: 4.496 MB / 446.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.0003542/0.473, allocations: 147.8 kB / 0.5158 GB, free: 4.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004516/0.4775, allocations: 2.824 MB / 0.5185 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.4775, allocations: 0 / 0.5185 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006307/0.4782, allocations: 441.2 kB / 0.5189 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.4806, allocations: 380.3 kB / 0.5193 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.4921, allocations: 7.043 MB / 0.5262 GB, free: 9.625 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00283/0.4949, allocations: 2.683 MB / 0.5288 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.4956, allocations: 235.4 kB / 0.529 GB, free: 6.688 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4956, allocations: 0 / 0.529 GB, free: 6.688 MB / 462.1 MB Notification: Performance of Templates: time 0.2707/0.7663, allocations: 44.08 MB / 0.5721 GB, free: 99.3 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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