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.001306/0.001306, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.541/1.541, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008298/0.0008298, allocations: 78.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.506e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 47.59 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3513/0.4524, allocations: 93.2 MB / 463.2 MB, free: 316 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4527, allocations: 85.2 kB / 463.3 MB, free: 272 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.167/0.6197, allocations: 66.62 MB / 0.5175 GB, free: 14.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6197, allocations: 0 / 0.5175 GB, free: 14.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001284/0.6199, allocations: 64 kB / 0.5176 GB, free: 14.32 MB / 410.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.007605/0.6275, allocations: 3.083 MB / 0.5206 GB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.6276, allocations: 12.03 kB / 0.5206 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007766/0.6353, allocations: 1.894 MB / 0.5224 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004882/0.6402, allocations: 1.969 MB / 0.5244 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.6404, allocations: 234.8 kB / 0.5246 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006297/0.6411, allocations: 307.9 kB / 0.5249 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2374/0.8785, allocations: 7.4 MB / 0.5321 GB, free: 97.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.8786, allocations: 44.25 kB / 0.5322 GB, free: 97.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005112/0.8792, allocations: 155.6 kB / 0.5323 GB, free: 97.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001059/0.8802, allocations: 0.7372 MB / 0.533 GB, free: 97.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.891, allocations: 5.601 MB / 0.5385 GB, free: 97.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03372/0.9247, allocations: 35.32 MB / 0.573 GB, free: 73.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/0.9276, allocations: 1.643 MB / 0.5746 GB, free: 72.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.9281, allocations: 470.6 kB / 0.575 GB, free: 72.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003667/0.9318, allocations: 2.913 MB / 0.5779 GB, free: 70.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.9318, allocations: 49.72 kB / 0.5779 GB, free: 70.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 3.136e-06/0.9319, allocations: 0 / 0.5779 GB, free: 70.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.003271/0.9351, allocations: 1.423 MB / 0.5793 GB, free: 70.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.9352, allocations: 217.5 kB / 0.5795 GB, free: 70.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004439/0.9397, allocations: 3.281 MB / 0.5827 GB, free: 68.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.613e-05/0.9398, allocations: 32.48 kB / 0.5828 GB, free: 68.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.9412, allocations: 2.697 MB / 0.5854 GB, free: 67.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.9415, allocations: 370.9 kB / 0.5858 GB, free: 66.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.9416, allocations: 90.69 kB / 0.5858 GB, free: 66.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.9419, allocations: 0.5082 MB / 0.5863 GB, free: 66.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.9433, allocations: 1.184 MB / 0.5875 GB, free: 65.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.9458, allocations: 4.531 MB / 0.5919 GB, free: 60.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/0.9484, allocations: 2.339 MB / 0.5942 GB, free: 60.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.462e-05/0.9485, allocations: 33.25 kB / 0.5942 GB, free: 60.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.00816/0.9566, allocations: 5.436 MB / 0.5995 GB, free: 58.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.974e-05/0.9568, allocations: 56.59 kB / 0.5996 GB, free: 58.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.9569, allocations: 121.7 kB / 0.5997 GB, free: 58.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.9571, allocations: 175.3 kB / 0.5999 GB, free: 58.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.9599, allocations: 1.132 MB / 0.601 GB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001398/0.9601, allocations: 232.6 kB / 0.6012 GB, free: 58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.9637, allocations: 0.707 MB / 0.6019 GB, free: 57.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/0.9641, allocations: 342.5 kB / 0.6022 GB, free: 57.53 MB / 410.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 () * 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.0004539/0.9646, allocations: 0.4889 MB / 0.6027 GB, free: 57.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/0.965, allocations: 298.9 kB / 0.603 GB, free: 56.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.9661, allocations: 0.4982 MB / 0.6035 GB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/0.9662, allocations: 11.7 kB / 0.6035 GB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.9662, allocations: 3.844 kB / 0.6035 GB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.9662, allocations: 3 kB / 0.6035 GB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006737/0.973, allocations: 3.292 MB / 0.6067 GB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.973, allocations: 3.781 kB / 0.6067 GB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.9736, allocations: 114.1 kB / 0.6068 GB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.9736, allocations: 5.969 kB / 0.6068 GB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.9736, allocations: 23.42 kB / 0.6068 GB, free: 55.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.9737, allocations: 6.594 kB / 0.6069 GB, free: 55.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.9737, allocations: 7.844 kB / 0.6069 GB, free: 55.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.9759, allocations: 2.469 MB / 0.6093 GB, free: 53.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008456/0.9768, allocations: 474.8 kB / 0.6097 GB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.977, allocations: 13.45 kB / 0.6097 GB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/0.9779, allocations: 44.02 kB / 0.6098 GB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.978, allocations: 51.89 kB / 0.6098 GB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.9781, allocations: 31.14 kB / 0.6099 GB, free: 53.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002998/0.9811, allocations: 2.331 MB / 0.6121 GB, free: 52.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9811, allocations: 0 / 0.6121 GB, free: 52.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00419/0.9853, allocations: 0.8347 MB / 0.6129 GB, free: 52.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (60): * Single equations (assignments): 57 * 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.0003816/0.9857, allocations: 153.4 kB / 0.6131 GB, free: 52.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004177/0.9898, allocations: 2.766 MB / 0.6158 GB, free: 51.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9899, allocations: 0 / 0.6158 GB, free: 51.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.9903, allocations: 404.5 kB / 0.6162 GB, free: 50.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.992, allocations: 359.1 kB / 0.6165 GB, free: 50.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009191/1.001, allocations: 5.346 MB / 0.6217 GB, free: 45.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/1.004, allocations: 2.755 MB / 0.6244 GB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003648/1.007, allocations: 1.585 MB / 0.626 GB, free: 42.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/1.008, allocations: 213 kB / 0.6262 GB, free: 42.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/1.008, allocations: 4 kB / 0.6262 GB, free: 42.36 MB / 410.7 MB Notification: Performance of Templates: time 0.04343/1.051, allocations: 22.06 MB / 0.6477 GB, free: 24.99 MB / 410.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/jenkins/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