Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009202/0.0009247, allocations: 181.4 kB / 17.41 MB, free: 4.387 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.289/1.289, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.000733/0.0007332, allocations: 100.2 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 15.98 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2273, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.3413, allocations: 93.45 MB / 469.2 MB, free: 3.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.3416, allocations: 99.94 kB / 469.3 MB, free: 3.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.317/0.6586, allocations: 65.59 MB / 0.5223 GB, free: 93.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6586, allocations: 0 / 0.5223 GB, free: 93.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001046/0.6587, allocations: 63.12 kB / 0.5224 GB, free: 93.21 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.006347/0.6651, allocations: 3.304 MB / 0.5256 GB, free: 90.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6651, allocations: 11.84 kB / 0.5256 GB, free: 90.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006825/0.672, allocations: 1.896 MB / 0.5275 GB, free: 89.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/0.6762, allocations: 2.06 MB / 0.5295 GB, free: 87.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.6763, allocations: 229.9 kB / 0.5297 GB, free: 86.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008592/0.6772, allocations: 306.4 kB / 0.53 GB, free: 86.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008929/0.6862, allocations: 7.449 MB / 0.5373 GB, free: 78.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.75e-05/0.6863, allocations: 39.81 kB / 0.5373 GB, free: 78.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/0.6866, allocations: 162 kB / 0.5375 GB, free: 78.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00065/0.6873, allocations: 0.7348 MB / 0.5382 GB, free: 77.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007567/0.6949, allocations: 5.681 MB / 0.5437 GB, free: 71.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.7207, allocations: 35.3 MB / 0.5782 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.7233, allocations: 1.661 MB / 0.5798 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/0.7239, allocations: 490.3 kB / 0.5803 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003552/0.7274, allocations: 3.187 MB / 0.5834 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.7275, allocations: 50.55 kB / 0.5835 GB, free: 29.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 3.797e-06/0.7275, allocations: 4 kB / 0.5835 GB, free: 29.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.003204/0.7307, allocations: 1.654 MB / 0.5851 GB, free: 27.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.7308, allocations: 196 kB / 0.5853 GB, free: 27.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004521/0.7353, allocations: 3.741 MB / 0.5889 GB, free: 23.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.214e-05/0.7354, allocations: 33.98 kB / 0.5889 GB, free: 23.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.7366, allocations: 2.71 MB / 0.5916 GB, free: 21.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.7369, allocations: 359.5 kB / 0.5919 GB, free: 20.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.737, allocations: 95.94 kB / 0.592 GB, free: 20.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.7373, allocations: 0.5083 MB / 0.5925 GB, free: 20.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.7388, allocations: 1.216 MB / 0.5937 GB, free: 19.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/0.7413, allocations: 4.575 MB / 0.5982 GB, free: 12.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004634/0.7459, allocations: 6.324 MB / 0.6043 GB, free: 4.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.447e-05/0.746, allocations: 43.94 kB / 0.6044 GB, free: 4.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.008042/0.754, allocations: 5.517 MB / 0.6098 GB, free: 15.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.7542, allocations: 56 kB / 0.6098 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/0.7543, allocations: 120.9 kB / 0.6099 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.7544, allocations: 160 kB / 0.6101 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/0.7574, allocations: 1.131 MB / 0.6112 GB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001729/0.7576, allocations: 239 kB / 0.6114 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.7609, allocations: 0.6998 MB / 0.6121 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004734/0.7614, allocations: 356 kB / 0.6125 GB, free: 12.43 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.002811/0.7643, allocations: 1.715 MB / 0.6141 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005591/0.7648, allocations: 300.1 kB / 0.6144 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.7659, allocations: 0.4906 MB / 0.6149 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.7659, allocations: 16 kB / 0.6149 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.766, allocations: 4 kB / 0.6149 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.766, allocations: 3.984 kB / 0.6149 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005875/0.7719, allocations: 3.157 MB / 0.618 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.7719, allocations: 4 kB / 0.618 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.7724, allocations: 103.9 kB / 0.6181 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.7724, allocations: 8 kB / 0.6181 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.7724, allocations: 16.56 kB / 0.6181 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.7725, allocations: 19.86 kB / 0.6181 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.7725, allocations: 4 kB / 0.6182 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.7749, allocations: 2.025 MB / 0.6201 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009555/0.7758, allocations: 476.7 kB / 0.6206 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005002/0.7763, allocations: 12 kB / 0.6206 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000963/0.7773, allocations: 47.89 kB / 0.6206 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.7774, allocations: 43.95 kB / 0.6207 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/0.7775, allocations: 28 kB / 0.6207 GB, free: 3.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00464/0.7821, allocations: 2.38 MB / 0.623 GB, free: 1.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7822, allocations: 0 / 0.623 GB, free: 1.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004574/0.7867, allocations: 0.8293 MB / 0.6238 GB, free: 0.6211 MB / 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.0004211/0.7872, allocations: 155 kB / 0.624 GB, free: 472 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005025/0.7922, allocations: 2.796 MB / 0.6267 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.7923, allocations: 4 kB / 0.6267 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.7929, allocations: 401.4 kB / 0.6271 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004275/0.7972, allocations: 364.6 kB / 0.6275 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.8128, allocations: 8.264 MB / 0.6355 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004271/0.8171, allocations: 2.683 MB / 0.6381 GB, free: 1.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.8182, allocations: 263.4 kB / 0.6384 GB, free: 1.633 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.8182, allocations: 0 / 0.6384 GB, free: 1.633 MB / 410.7 MB Notification: Performance of Templates: time 0.2457/1.064, allocations: 44.47 MB / 0.6818 GB, free: 120.9 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches