Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 179 kB / 18.04 MB, free: 3.629 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000739/0.0007388, allocations: 88.97 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 11.98 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.3173, allocations: 93.43 MB / 470.5 MB, free: 3.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.3176, allocations: 95.94 kB / 470.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3257/0.6433, allocations: 65.61 MB / 0.5236 GB, free: 93.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.6434, allocations: 0 / 0.5236 GB, free: 93.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002988/0.6437, allocations: 61.69 kB / 0.5237 GB, free: 93.27 MB / 378.7 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.008848/0.6526, allocations: 3.305 MB / 0.5269 GB, free: 90.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6526, allocations: 6.969 kB / 0.5269 GB, free: 90.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006964/0.6596, allocations: 1.895 MB / 0.5287 GB, free: 89.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004273/0.6639, allocations: 2.059 MB / 0.5308 GB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.6641, allocations: 235.1 kB / 0.531 GB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.6651, allocations: 302.2 kB / 0.5313 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.6767, allocations: 7.452 MB / 0.5385 GB, free: 78.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.6768, allocations: 43.75 kB / 0.5386 GB, free: 78.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009215/0.6778, allocations: 161.4 kB / 0.5387 GB, free: 78.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009382/0.6787, allocations: 0.7379 MB / 0.5395 GB, free: 77.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009471/0.6882, allocations: 5.674 MB / 0.545 GB, free: 71.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/0.7169, allocations: 35.31 MB / 0.5795 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.7194, allocations: 1.665 MB / 0.5811 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.7201, allocations: 482.3 kB / 0.5816 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003624/0.7237, allocations: 3.19 MB / 0.5847 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.7237, allocations: 46.5 kB / 0.5847 GB, free: 29.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 3.166e-06/0.7238, allocations: 0 / 0.5847 GB, free: 29.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.003288/0.727, allocations: 1.658 MB / 0.5863 GB, free: 27.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.7271, allocations: 188.2 kB / 0.5865 GB, free: 27.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004979/0.7321, allocations: 3.741 MB / 0.5902 GB, free: 23.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.7322, allocations: 37.14 kB / 0.5902 GB, free: 23.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.7333, allocations: 2.71 MB / 0.5929 GB, free: 21.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.7336, allocations: 363.4 kB / 0.5932 GB, free: 20.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.7337, allocations: 100 kB / 0.5933 GB, free: 20.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.7339, allocations: 0.4966 MB / 0.5938 GB, free: 20.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.7354, allocations: 1.223 MB / 0.595 GB, free: 18.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/0.7378, allocations: 4.575 MB / 0.5994 GB, free: 12.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/0.7425, allocations: 6.329 MB / 0.6056 GB, free: 4.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.323e-05/0.7426, allocations: 36 kB / 0.6057 GB, free: 4.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.008184/0.7508, allocations: 5.513 MB / 0.611 GB, free: 15.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/0.7509, allocations: 56 kB / 0.6111 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/0.751, allocations: 124.1 kB / 0.6112 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.7512, allocations: 160 kB / 0.6114 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/0.7543, allocations: 1.131 MB / 0.6125 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001667/0.7545, allocations: 231.1 kB / 0.6127 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/0.7579, allocations: 0.7114 MB / 0.6134 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004999/0.7584, allocations: 348 kB / 0.6137 GB, free: 12.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * 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 (596): * Single equations (assignments): 593 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002619/0.761, allocations: 1.712 MB / 0.6154 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000512/0.7615, allocations: 300.1 kB / 0.6157 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009592/0.7625, allocations: 0.4966 MB / 0.6162 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.7625, allocations: 12 kB / 0.6162 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7626, allocations: 4 kB / 0.6162 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7626, allocations: 3.984 kB / 0.6162 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/0.7677, allocations: 3.162 MB / 0.6193 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.7678, allocations: 4 kB / 0.6193 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.7682, allocations: 108.1 kB / 0.6194 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.7682, allocations: 12.28 kB / 0.6194 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.7683, allocations: 12 kB / 0.6194 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.7683, allocations: 11.88 kB / 0.6194 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/0.7683, allocations: 7.938 kB / 0.6194 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.7704, allocations: 2.03 MB / 0.6214 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/0.7712, allocations: 472.8 kB / 0.6219 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.7714, allocations: 8 kB / 0.6219 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008028/0.7722, allocations: 47.89 kB / 0.6219 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7724, allocations: 47.94 kB / 0.622 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.7724, allocations: 28 kB / 0.622 GB, free: 3.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003692/0.7761, allocations: 2.38 MB / 0.6243 GB, free: 1.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7761, allocations: 0 / 0.6243 GB, free: 1.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003748/0.7799, allocations: 0.8294 MB / 0.6251 GB, free: 496 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002886/0.7802, allocations: 155 kB / 0.6253 GB, free: 332 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004058/0.7843, allocations: 2.799 MB / 0.628 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7843, allocations: 0 / 0.628 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.7848, allocations: 397.5 kB / 0.6284 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/0.7883, allocations: 369.8 kB / 0.6287 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.7995, allocations: 7.886 MB / 0.6364 GB, free: 4.848 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/0.8023, allocations: 2.675 MB / 0.639 GB, free: 2.145 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004049/0.8064, allocations: 1.58 MB / 0.6406 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.8069, allocations: 215.4 kB / 0.6408 GB, free: 356 kB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8069, allocations: 0 / 0.6408 GB, free: 356 kB / 410.7 MB Notification: Performance of Templates: time 0.2043/1.011, allocations: 22.1 MB / 0.6624 GB, free: 121.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches