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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008372/0.0008372, allocations: 96.72 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.9e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 51.47 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.4717, allocations: 94.6 MB / 489.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.472, allocations: 82.89 kB / 489.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1685/0.6405, allocations: 67.4 MB / 0.5442 GB, free: 16 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6405, allocations: 0 / 0.5442 GB, free: 16 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002374/0.6408, allocations: 60.05 kB / 0.5442 GB, free: 15.95 MB / 426.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.009821/0.6506, allocations: 3.098 MB / 0.5473 GB, free: 12.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.6507, allocations: 8.031 kB / 0.5473 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009291/0.66, allocations: 1.947 MB / 0.5492 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006761/0.6668, allocations: 1.973 MB / 0.5511 GB, free: 8.809 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.6671, allocations: 104 kB / 0.5512 GB, free: 8.707 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.6686, allocations: 176 kB / 0.5514 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008879/0.6775, allocations: 4.193 MB / 0.5555 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.693, allocations: 6.919 MB / 0.5622 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/0.6932, allocations: 47.56 kB / 0.5623 GB, free: 12.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/0.6943, allocations: 24 kB / 0.5623 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/0.6954, allocations: 0.7469 MB / 0.563 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2933/0.9887, allocations: 33.7 MB / 0.5959 GB, free: 69.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.99, allocations: 1.363 MB / 0.5973 GB, free: 68.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.9904, allocations: 436.9 kB / 0.5977 GB, free: 68.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.9907, allocations: 341.8 kB / 0.598 GB, free: 68.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.9907, allocations: 51.03 kB / 0.5981 GB, free: 68.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=87): time 2.504e-06/0.9907, allocations: 0 / 0.5981 GB, free: 68.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=87): time 0.002429/0.9932, allocations: 1.226 MB / 0.5993 GB, free: 68.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.9932, allocations: 188.3 kB / 0.5994 GB, free: 68.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/0.9967, allocations: 2.933 MB / 0.6023 GB, free: 67.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.9967, allocations: 26.27 kB / 0.6023 GB, free: 67.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.998, allocations: 2.758 MB / 0.605 GB, free: 66.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.9983, allocations: 387.4 kB / 0.6054 GB, free: 66.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.9984, allocations: 0 / 0.6054 GB, free: 66.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.9987, allocations: 0.5197 MB / 0.6059 GB, free: 66.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/1, allocations: 1.153 MB / 0.607 GB, free: 66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/1.003, allocations: 4.62 MB / 0.6115 GB, free: 61.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/1.005, allocations: 2.325 MB / 0.6138 GB, free: 61.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.483e-05/1.006, allocations: 37.47 kB / 0.6138 GB, free: 61.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.007277/1.013, allocations: 4.941 MB / 0.6187 GB, free: 60.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/1.013, allocations: 61.12 kB / 0.6187 GB, free: 60.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/1.013, allocations: 124.9 kB / 0.6188 GB, free: 60.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/1.013, allocations: 187.9 kB / 0.619 GB, free: 60.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/1.016, allocations: 1.198 MB / 0.6202 GB, free: 60.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001867/1.017, allocations: 249.6 kB / 0.6204 GB, free: 60.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/1.02, allocations: 0.6046 MB / 0.621 GB, free: 60.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003912/1.021, allocations: 357.6 kB / 0.6214 GB, free: 60.28 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (627): * Single equations (assignments): 624 * 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.0004538/1.021, allocations: 413.7 kB / 0.6218 GB, free: 59.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/1.021, allocations: 279.8 kB / 0.622 GB, free: 59.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008857/1.022, allocations: 483.6 kB / 0.6225 GB, free: 59.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/1.022, allocations: 17.78 kB / 0.6225 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/1.022, allocations: 0 / 0.6225 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/1.022, allocations: 11.2 kB / 0.6225 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00458/1.027, allocations: 2.845 MB / 0.6253 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.027, allocations: 6.578 kB / 0.6253 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/1.027, allocations: 113.9 kB / 0.6254 GB, free: 59.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/1.028, allocations: 10.48 kB / 0.6254 GB, free: 59.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/1.028, allocations: 13.62 kB / 0.6254 GB, free: 59.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/1.028, allocations: 10.19 kB / 0.6254 GB, free: 59.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.028, allocations: 7.656 kB / 0.6254 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/1.03, allocations: 2.375 MB / 0.6278 GB, free: 57.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/1.031, allocations: 447.6 kB / 0.6282 GB, free: 57.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/1.031, allocations: 5 kB / 0.6282 GB, free: 57.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/1.032, allocations: 35.12 kB / 0.6282 GB, free: 57.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.032, allocations: 54.95 kB / 0.6283 GB, free: 57.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/1.032, allocations: 25.66 kB / 0.6283 GB, free: 57.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003122/1.035, allocations: 2.011 MB / 0.6303 GB, free: 57.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.035, allocations: 0 / 0.6303 GB, free: 57.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004909/1.04, allocations: 0.7592 MB / 0.631 GB, free: 57.23 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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.000331/1.04, allocations: 147.4 kB / 0.6311 GB, free: 57.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005247/1.046, allocations: 2.644 MB / 0.6337 GB, free: 56.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.046, allocations: 0.5625 kB / 0.6337 GB, free: 56.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006253/1.046, allocations: 412.1 kB / 0.6341 GB, free: 56.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/1.048, allocations: 318.4 kB / 0.6344 GB, free: 56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.059, allocations: 5.337 MB / 0.6396 GB, free: 53.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002936/1.062, allocations: 2.751 MB / 0.6423 GB, free: 52.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004878/1.067, allocations: 1.665 MB / 0.644 GB, free: 52.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/1.068, allocations: 207.8 kB / 0.6442 GB, free: 52.69 MB / 442.7 MB Notification: Performance of SimCode: time 1.843e-06/1.068, allocations: 3.219 kB / 0.6442 GB, free: 52.69 MB / 442.7 MB Notification: Performance of Templates: time 0.04467/1.112, allocations: 19.68 MB / 0.6634 GB, free: 51.51 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (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) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches