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.001098/0.001098, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.278/1.278, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009098, allocations: 97.72 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002372, allocations: 8 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2361, allocations: 50.42 MB / 401.5 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3484, allocations: 94.52 MB / 496 MB, free: 1.883 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.3487, allocations: 91.89 kB / 496.1 MB, free: 1.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3516/0.7003, allocations: 67.56 MB / 0.5505 GB, free: 62.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.7004, allocations: 0 / 0.5505 GB, free: 62.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001308/0.7005, allocations: 64 kB / 0.5505 GB, free: 62.63 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.006812/0.7073, allocations: 3.343 MB / 0.5538 GB, free: 59.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.7074, allocations: 12.02 kB / 0.5538 GB, free: 59.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/0.714, allocations: 1.895 MB / 0.5557 GB, free: 57.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0039/0.7179, allocations: 2.004 MB / 0.5576 GB, free: 55.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.7181, allocations: 230.1 kB / 0.5578 GB, free: 55.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000432/0.7185, allocations: 307.9 kB / 0.5581 GB, free: 54.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008174/0.7267, allocations: 7.454 MB / 0.5654 GB, free: 46.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/0.7268, allocations: 43.62 kB / 0.5654 GB, free: 46.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.7271, allocations: 147.9 kB / 0.5656 GB, free: 46.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000642/0.7278, allocations: 0.7527 MB / 0.5663 GB, free: 45.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007296/0.7351, allocations: 5.709 MB / 0.5719 GB, free: 39.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/0.7587, allocations: 35.3 MB / 0.6064 GB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.7612, allocations: 1.672 MB / 0.608 GB, free: 1.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003888/0.7651, allocations: 2.903 MB / 0.6108 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.7652, allocations: 54.59 kB / 0.6109 GB, free: 14.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 3.256e-06/0.7652, allocations: 3.938 kB / 0.6109 GB, free: 14.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.004226/0.7695, allocations: 2.047 MB / 0.6129 GB, free: 12.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.7696, allocations: 213.7 kB / 0.6131 GB, free: 11.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005683/0.7753, allocations: 3.328 MB / 0.6163 GB, free: 8.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.7754, allocations: 33.7 kB / 0.6164 GB, free: 8.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/0.7773, allocations: 2.698 MB / 0.619 GB, free: 5.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.7777, allocations: 375.7 kB / 0.6194 GB, free: 5.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.7778, allocations: 92 kB / 0.6195 GB, free: 5.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003051/0.7781, allocations: 0.5044 MB / 0.62 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.7799, allocations: 1.227 MB / 0.6212 GB, free: 3.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/0.7837, allocations: 4.559 MB / 0.6256 GB, free: 13.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/0.7866, allocations: 2.317 MB / 0.6279 GB, free: 10.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.31e-05/0.7867, allocations: 36 kB / 0.6279 GB, free: 10.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.00779/0.7945, allocations: 5.511 MB / 0.6333 GB, free: 5.367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.847e-05/0.7946, allocations: 62.02 kB / 0.6333 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.7947, allocations: 120 kB / 0.6335 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.7949, allocations: 172 kB / 0.6336 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/0.7977, allocations: 1.131 MB / 0.6347 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001681/0.7979, allocations: 239.1 kB / 0.635 GB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003256/0.8012, allocations: 0.7036 MB / 0.6356 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003871/0.8016, allocations: 344.5 kB / 0.636 GB, free: 2.609 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 () * 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.002943/0.8045, allocations: 1.723 MB / 0.6377 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005146/0.8051, allocations: 300.1 kB / 0.6379 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008717/0.8059, allocations: 498.5 kB / 0.6384 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.806, allocations: 12 kB / 0.6384 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.806, allocations: 4 kB / 0.6384 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.806, allocations: 19.91 kB / 0.6384 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/0.8115, allocations: 3.296 MB / 0.6417 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.8115, allocations: 4 kB / 0.6417 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.812, allocations: 111.8 kB / 0.6418 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.812, allocations: 12.33 kB / 0.6418 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.8121, allocations: 23.98 kB / 0.6418 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/0.8121, allocations: 11.94 kB / 0.6418 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8121, allocations: 4 kB / 0.6418 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.8145, allocations: 2.502 MB / 0.6443 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009682/0.8154, allocations: 472.8 kB / 0.6447 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.8157, allocations: 16 kB / 0.6447 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008483/0.8165, allocations: 47.91 kB / 0.6448 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.8166, allocations: 47.94 kB / 0.6448 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.8167, allocations: 28 kB / 0.6449 GB, free: 9.227 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003378/0.8201, allocations: 2.388 MB / 0.6472 GB, free: 6.855 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.463e-06/0.8201, allocations: 0 / 0.6472 GB, free: 6.855 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003628/0.8237, allocations: 0.8255 MB / 0.648 GB, free: 6.027 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 () * Number of clocked 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.0003353/0.8241, allocations: 159 kB / 0.6481 GB, free: 5.859 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004241/0.8283, allocations: 2.804 MB / 0.6509 GB, free: 3.082 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8283, allocations: 0 / 0.6509 GB, free: 3.082 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.8289, allocations: 417.6 kB / 0.6513 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.8305, allocations: 361.8 kB / 0.6516 GB, free: 2.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.8422, allocations: 7.875 MB / 0.6593 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/0.845, allocations: 2.753 MB / 0.662 GB, free: 7.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003891/0.8489, allocations: 1.58 MB / 0.6635 GB, free: 6.004 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.8493, allocations: 215.4 kB / 0.6638 GB, free: 5.793 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.8494, allocations: 0 / 0.6638 GB, free: 5.793 MB / 442.7 MB Notification: Performance of Templates: time 0.2389/1.088, allocations: 22.1 MB / 0.6853 GB, free: 117.9 MB / 442.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