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.001537/0.001537, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 86.69 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.551e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4997, allocations: 92.79 MB / 455.9 MB, free: 3.051 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.5, allocations: 84.2 kB / 455.9 MB, free: 3.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1638/0.6639, allocations: 65.05 MB / 0.5088 GB, free: 7.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6639, allocations: 3.938 kB / 0.5088 GB, free: 7.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002061/0.6641, allocations: 67.98 kB / 0.5089 GB, free: 7.137 MB / 394.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.00928/0.6734, allocations: 3.084 MB / 0.5119 GB, free: 3.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6735, allocations: 11.97 kB / 0.5119 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008324/0.6818, allocations: 1.894 MB / 0.5137 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005112/0.6869, allocations: 1.969 MB / 0.5157 GB, free: 52 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.6872, allocations: 96.73 kB / 0.5158 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.6884, allocations: 176 kB / 0.5159 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008938/0.6974, allocations: 4.197 MB / 0.52 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.7092, allocations: 6.923 MB / 0.5268 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.7093, allocations: 39.62 kB / 0.5268 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006963/0.71, allocations: 28 kB / 0.5268 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/0.711, allocations: 0.7352 MB / 0.5276 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.244/0.955, allocations: 33.71 MB / 0.5605 GB, free: 80.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.957, allocations: 1.364 MB / 0.5618 GB, free: 79.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.9577, allocations: 427 kB / 0.5622 GB, free: 79.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.9581, allocations: 350.4 kB / 0.5626 GB, free: 79.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.9581, allocations: 42.77 kB / 0.5626 GB, free: 79.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.626e-06/0.9581, allocations: 0 / 0.5626 GB, free: 79.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.004611/0.9627, allocations: 1.249 MB / 0.5638 GB, free: 79.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.9629, allocations: 187.6 kB / 0.564 GB, free: 78.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006841/0.9697, allocations: 2.939 MB / 0.5669 GB, free: 78.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.97, allocations: 25.7 kB / 0.5669 GB, free: 78.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002608/0.9726, allocations: 2.753 MB / 0.5696 GB, free: 77.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005236/0.9731, allocations: 380 kB / 0.5699 GB, free: 77.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.9733, allocations: 4.781 kB / 0.5699 GB, free: 77.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003049/0.9736, allocations: 0.5121 MB / 0.5704 GB, free: 76.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.9753, allocations: 1.156 MB / 0.5716 GB, free: 76.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003175/0.9785, allocations: 4.615 MB / 0.5761 GB, free: 72.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002982/0.9815, allocations: 2.324 MB / 0.5783 GB, free: 72.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.731e-05/0.9815, allocations: 34.53 kB / 0.5784 GB, free: 72.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.007476/0.989, allocations: 4.954 MB / 0.5832 GB, free: 70.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.9891, allocations: 60.5 kB / 0.5833 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.9892, allocations: 125.2 kB / 0.5834 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.9894, allocations: 181.1 kB / 0.5836 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.9923, allocations: 1.189 MB / 0.5847 GB, free: 70.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001318/0.9925, allocations: 245.3 kB / 0.585 GB, free: 70.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/0.9961, allocations: 0.603 MB / 0.5856 GB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/0.9965, allocations: 367.1 kB / 0.5859 GB, free: 70.43 MB / 410.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.0004665/0.997, allocations: 405.8 kB / 0.5863 GB, free: 70.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/0.9973, allocations: 295.2 kB / 0.5866 GB, free: 69.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009035/0.9982, allocations: 478.2 kB / 0.587 GB, free: 69.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.9983, allocations: 13.25 kB / 0.587 GB, free: 69.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.9983, allocations: 0 / 0.587 GB, free: 69.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.9983, allocations: 6.609 kB / 0.587 GB, free: 69.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004749/1.003, allocations: 2.845 MB / 0.5898 GB, free: 68.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.003, allocations: 3.844 kB / 0.5898 GB, free: 68.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/1.004, allocations: 121.7 kB / 0.5899 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/1.004, allocations: 7.719 kB / 0.5899 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/1.004, allocations: 13.22 kB / 0.59 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/1.004, allocations: 3.688 kB / 0.59 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.004, allocations: 3.844 kB / 0.59 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/1.006, allocations: 2.399 MB / 0.5923 GB, free: 66.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006397/1.006, allocations: 452 kB / 0.5927 GB, free: 66.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/1.007, allocations: 14.72 kB / 0.5928 GB, free: 66.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/1.007, allocations: 25.56 kB / 0.5928 GB, free: 66.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.008, allocations: 44.11 kB / 0.5928 GB, free: 66.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/1.008, allocations: 34.86 kB / 0.5929 GB, free: 66.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002626/1.01, allocations: 2.013 MB / 0.5948 GB, free: 65.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.01, allocations: 0 / 0.5948 GB, free: 65.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004102/1.014, allocations: 0.7496 MB / 0.5956 GB, free: 65.68 MB / 410.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.00031/1.015, allocations: 140.1 kB / 0.5957 GB, free: 65.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003323/1.018, allocations: 2.641 MB / 0.5983 GB, free: 64.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.018, allocations: 3.719 kB / 0.5983 GB, free: 64.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/1.018, allocations: 408.9 kB / 0.5987 GB, free: 64.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.02, allocations: 316.5 kB / 0.599 GB, free: 64.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00768/1.027, allocations: 5.334 MB / 0.6042 GB, free: 62.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/1.03, allocations: 2.75 MB / 0.6069 GB, free: 61.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003736/1.033, allocations: 1.667 MB / 0.6085 GB, free: 61.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/1.034, allocations: 207.5 kB / 0.6087 GB, free: 61.12 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/1.034, allocations: 2.297 kB / 0.6087 GB, free: 61.12 MB / 410.7 MB Notification: Performance of Templates: time 0.03624/1.07, allocations: 19.62 MB / 0.6278 GB, free: 48.8 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