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.00112/0.00112, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.3 MB / 235.5 MB, free: 2.961 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.0008546/0.0008546, allocations: 87.81 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.255e-05, allocations: 0 / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.09987, allocations: 50.41 MB / 394.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.331/0.4309, allocations: 94.45 MB / 488.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.4312, allocations: 91.78 kB / 488.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1727/0.6039, allocations: 67.59 MB / 0.5433 GB, free: 4.859 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.604, allocations: 4 kB / 0.5433 GB, free: 4.855 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000182/0.6042, allocations: 68 kB / 0.5434 GB, free: 4.789 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.008677/0.6129, allocations: 3.08 MB / 0.5464 GB, free: 1.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.6129, allocations: 16.03 kB / 0.5464 GB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2389/0.8519, allocations: 1.89 MB / 0.5483 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006121/0.8581, allocations: 1.967 MB / 0.5502 GB, free: 102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.8584, allocations: 234.2 kB / 0.5504 GB, free: 102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/0.8598, allocations: 308.1 kB / 0.5507 GB, free: 102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.8738, allocations: 7.4 MB / 0.5579 GB, free: 99.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.8739, allocations: 43.38 kB / 0.558 GB, free: 99.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000442/0.8744, allocations: 161.2 kB / 0.5581 GB, free: 99.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001104/0.8755, allocations: 0.7377 MB / 0.5589 GB, free: 99.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.887, allocations: 5.603 MB / 0.5643 GB, free: 99.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03457/0.9216, allocations: 35.32 MB / 0.5988 GB, free: 73.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.9245, allocations: 1.643 MB / 0.6004 GB, free: 72.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.9252, allocations: 470.9 kB / 0.6009 GB, free: 72.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003991/0.9292, allocations: 2.924 MB / 0.6037 GB, free: 70.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.9292, allocations: 48.66 kB / 0.6038 GB, free: 70.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 4.117e-06/0.9292, allocations: 0 / 0.6038 GB, free: 70.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.003391/0.9326, allocations: 1.419 MB / 0.6052 GB, free: 69.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.9327, allocations: 217.2 kB / 0.6054 GB, free: 69.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004562/0.9373, allocations: 3.282 MB / 0.6086 GB, free: 68.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/0.9374, allocations: 35.12 kB / 0.6086 GB, free: 68.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.9387, allocations: 2.702 MB / 0.6112 GB, free: 66.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.939, allocations: 368.3 kB / 0.6116 GB, free: 65.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.9391, allocations: 94.02 kB / 0.6117 GB, free: 65.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.9394, allocations: 0.5052 MB / 0.6122 GB, free: 65.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.9408, allocations: 1.186 MB / 0.6133 GB, free: 64.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/0.9438, allocations: 4.518 MB / 0.6177 GB, free: 59.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.9465, allocations: 2.341 MB / 0.62 GB, free: 59.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-05/0.9465, allocations: 36.81 kB / 0.6201 GB, free: 59.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.007858/0.9544, allocations: 5.428 MB / 0.6254 GB, free: 57.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.9545, allocations: 56.19 kB / 0.6254 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.9546, allocations: 123.5 kB / 0.6255 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.9548, allocations: 172.3 kB / 0.6257 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.9577, allocations: 1.143 MB / 0.6268 GB, free: 57.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001403/0.9578, allocations: 237.2 kB / 0.627 GB, free: 56.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/0.9613, allocations: 0.6983 MB / 0.6277 GB, free: 56.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004087/0.9617, allocations: 349 kB / 0.6281 GB, free: 56.48 MB / 426.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.0005018/0.9622, allocations: 496 kB / 0.6285 GB, free: 56.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.9627, allocations: 298.2 kB / 0.6288 GB, free: 55.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.9637, allocations: 0.5001 MB / 0.6293 GB, free: 55.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.9638, allocations: 10.56 kB / 0.6293 GB, free: 55.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.9638, allocations: 7.938 kB / 0.6293 GB, free: 55.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.9638, allocations: 10.95 kB / 0.6293 GB, free: 55.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005387/0.9692, allocations: 3.29 MB / 0.6325 GB, free: 54.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.9693, allocations: 3.688 kB / 0.6325 GB, free: 54.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.9698, allocations: 114.2 kB / 0.6327 GB, free: 54.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.9698, allocations: 7.344 kB / 0.6327 GB, free: 54.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.9699, allocations: 18.98 kB / 0.6327 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/0.9699, allocations: 11.22 kB / 0.6327 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.9699, allocations: 10.78 kB / 0.6327 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.9724, allocations: 2.46 MB / 0.6351 GB, free: 52.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.9735, allocations: 477.4 kB / 0.6356 GB, free: 52.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/0.9738, allocations: 20.06 kB / 0.6356 GB, free: 52.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.9747, allocations: 38.03 kB / 0.6356 GB, free: 52.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.9749, allocations: 49.44 kB / 0.6357 GB, free: 52.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.9749, allocations: 33.56 kB / 0.6357 GB, free: 52.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003626/0.9786, allocations: 2.327 MB / 0.638 GB, free: 50.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9786, allocations: 4 kB / 0.638 GB, free: 50.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004598/0.9832, allocations: 0.8262 MB / 0.6388 GB, free: 49.29 MB / 426.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.0005132/0.9837, allocations: 147.8 kB / 0.6389 GB, free: 49.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004645/0.9884, allocations: 2.773 MB / 0.6416 GB, free: 46.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.9884, allocations: 7.938 kB / 0.6416 GB, free: 46.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.9889, allocations: 405.8 kB / 0.642 GB, free: 46.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.9912, allocations: 351.5 kB / 0.6424 GB, free: 45.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00936/1.001, allocations: 5.35 MB / 0.6476 GB, free: 41.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/1.003, allocations: 2.745 MB / 0.6503 GB, free: 38.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003914/1.007, allocations: 1.583 MB / 0.6518 GB, free: 37.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/1.007, allocations: 221.6 kB / 0.652 GB, free: 37.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/1.007, allocations: 3.938 kB / 0.652 GB, free: 37.77 MB / 426.7 MB Notification: Performance of Templates: time 0.04228/1.05, allocations: 22.11 MB / 0.6736 GB, free: 20.23 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