Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.5 MB / 230.3 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009163, allocations: 97.2 kB / 281.2 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.888e-05, allocations: 4 kB / 337 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 50.42 MB / 387.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4482, allocations: 93.79 MB / 481.3 MB, free: 1.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4485, allocations: 79.95 kB / 481.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1653/0.6138, allocations: 66.04 MB / 0.5345 GB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6138, allocations: 0 / 0.5345 GB, free: 14.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001463/0.614, allocations: 71.98 kB / 0.5346 GB, free: 14.24 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.008735/0.6227, allocations: 3.084 MB / 0.5376 GB, free: 11.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6228, allocations: 12.03 kB / 0.5376 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008216/0.631, allocations: 1.898 MB / 0.5395 GB, free: 9.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.636, allocations: 1.965 MB / 0.5414 GB, free: 7.156 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.6362, allocations: 100 kB / 0.5415 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.6373, allocations: 176 kB / 0.5417 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007295/0.6446, allocations: 4.193 MB / 0.5458 GB, free: 2.688 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2579/0.9025, allocations: 6.924 MB / 0.5525 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.9027, allocations: 46.44 kB / 0.5526 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004064/0.9031, allocations: 26.5 kB / 0.5526 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/0.9042, allocations: 0.7384 MB / 0.5533 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02965/0.9338, allocations: 33.71 MB / 0.5862 GB, free: 79.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.9358, allocations: 1.363 MB / 0.5876 GB, free: 78.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.9364, allocations: 427.1 kB / 0.588 GB, free: 78.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.9368, allocations: 355.3 kB / 0.5883 GB, free: 78.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.9368, allocations: 38.03 kB / 0.5883 GB, free: 78.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 4.939e-06/0.9368, allocations: 3.75 kB / 0.5884 GB, free: 78.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.002928/0.9397, allocations: 1.239 MB / 0.5896 GB, free: 77.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.9398, allocations: 188.2 kB / 0.5897 GB, free: 77.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004264/0.9441, allocations: 2.936 MB / 0.5926 GB, free: 77.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/0.9442, allocations: 26.7 kB / 0.5926 GB, free: 77.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.9456, allocations: 2.753 MB / 0.5953 GB, free: 75.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.9459, allocations: 387.7 kB / 0.5957 GB, free: 75.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.9461, allocations: 3.625 kB / 0.5957 GB, free: 75.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.9463, allocations: 0.5175 MB / 0.5962 GB, free: 75.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.9475, allocations: 1.151 MB / 0.5973 GB, free: 74.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.9499, allocations: 4.616 MB / 0.6018 GB, free: 69.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/0.9527, allocations: 2.325 MB / 0.6041 GB, free: 68.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.675e-05/0.9528, allocations: 36.31 kB / 0.6041 GB, free: 68.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.00699/0.9598, allocations: 4.941 MB / 0.609 GB, free: 67.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.9598, allocations: 56.97 kB / 0.609 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.35e-05/0.9599, allocations: 127.2 kB / 0.6091 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.9601, allocations: 182.5 kB / 0.6093 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/0.9629, allocations: 1.19 MB / 0.6105 GB, free: 66.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001141/0.9631, allocations: 250.8 kB / 0.6107 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/0.9664, allocations: 0.6082 MB / 0.6113 GB, free: 66.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003812/0.9668, allocations: 362.2 kB / 0.6117 GB, free: 66.43 MB / 426.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.0004431/0.9672, allocations: 410.3 kB / 0.612 GB, free: 66.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.9676, allocations: 277.7 kB / 0.6123 GB, free: 65.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008311/0.9684, allocations: 485.8 kB / 0.6128 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.9685, allocations: 11.62 kB / 0.6128 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.9685, allocations: 3.562 kB / 0.6128 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.9685, allocations: 7.938 kB / 0.6128 GB, free: 65.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004309/0.9728, allocations: 2.853 MB / 0.6156 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.9729, allocations: 3.531 kB / 0.6156 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.9733, allocations: 125.7 kB / 0.6157 GB, free: 64.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.9734, allocations: 3.938 kB / 0.6157 GB, free: 64.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.9734, allocations: 10.31 kB / 0.6157 GB, free: 64.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.9734, allocations: 9.625 kB / 0.6157 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.9734, allocations: 6.719 kB / 0.6157 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.9751, allocations: 2.388 MB / 0.6181 GB, free: 62.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006746/0.9758, allocations: 453.6 kB / 0.6185 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.976, allocations: 3.906 kB / 0.6185 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.9768, allocations: 33.19 kB / 0.6185 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.9769, allocations: 53.5 kB / 0.6186 GB, free: 62.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.977, allocations: 26.66 kB / 0.6186 GB, free: 62.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002343/0.9793, allocations: 2.011 MB / 0.6206 GB, free: 61.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.9793, allocations: 0 / 0.6206 GB, free: 61.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004009/0.9834, allocations: 0.757 MB / 0.6213 GB, free: 61.68 MB / 426.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.0003519/0.9837, allocations: 141.7 kB / 0.6214 GB, free: 61.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004455/0.9882, allocations: 2.642 MB / 0.624 GB, free: 60.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.9882, allocations: 0 / 0.624 GB, free: 60.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.9888, allocations: 418.9 kB / 0.6244 GB, free: 60.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.9909, allocations: 316.3 kB / 0.6247 GB, free: 60.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/1.001, allocations: 5.337 MB / 0.6299 GB, free: 58.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002221/1.004, allocations: 2.751 MB / 0.6326 GB, free: 57.31 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003785/1.007, allocations: 1.668 MB / 0.6343 GB, free: 57.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/1.008, allocations: 208.9 kB / 0.6345 GB, free: 57.12 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/1.008, allocations: 0 / 0.6345 GB, free: 57.12 MB / 426.7 MB Notification: Performance of Templates: time 0.03698/1.045, allocations: 19.69 MB / 0.6537 GB, free: 44.91 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches