Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009933/0.0009934, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.2 MB / 245 MB, free: 7.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009433/0.0009432, allocations: 104 kB / 297.3 MB, free: 6.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000223/0.000223, allocations: 8 kB / 357.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3078, allocations: 95.32 MB / 0.4929 GB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.3081, allocations: 95.94 kB / 0.493 GB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3138/0.6219, allocations: 68.89 MB / 0.5603 GB, free: 50.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.622, allocations: 0 / 0.5603 GB, free: 50.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.6221, allocations: 60 kB / 0.5603 GB, free: 50.59 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.009135/0.6313, allocations: 3.351 MB / 0.5636 GB, free: 47.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.6313, allocations: 8.031 kB / 0.5636 GB, free: 47.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007841/0.6392, allocations: 1.945 MB / 0.5655 GB, free: 45.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004999/0.6442, allocations: 2.008 MB / 0.5675 GB, free: 43.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.6444, allocations: 234.1 kB / 0.5677 GB, free: 42.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.6455, allocations: 303.9 kB / 0.568 GB, free: 42.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.6562, allocations: 7.467 MB / 0.5753 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.6564, allocations: 43.58 kB / 0.5753 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005748/0.657, allocations: 155.9 kB / 0.5755 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007362/0.6577, allocations: 0.7387 MB / 0.5762 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007787/0.6655, allocations: 5.713 MB / 0.5818 GB, free: 27.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02952/0.695, allocations: 35.31 MB / 0.6163 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.6983, allocations: 1.67 MB / 0.6179 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004484/0.7028, allocations: 2.911 MB / 0.6207 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.7029, allocations: 50.5 kB / 0.6208 GB, free: 2.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 2.885e-06/0.7029, allocations: 0 / 0.6208 GB, free: 2.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.004156/0.707, allocations: 2.049 MB / 0.6228 GB, free: 15.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.7071, allocations: 221.7 kB / 0.623 GB, free: 15.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005665/0.7128, allocations: 3.321 MB / 0.6262 GB, free: 12.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.7129, allocations: 37.7 kB / 0.6263 GB, free: 12.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002057/0.715, allocations: 2.702 MB / 0.6289 GB, free: 9.605 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.7153, allocations: 375.7 kB / 0.6293 GB, free: 9.234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.7156, allocations: 92 kB / 0.6294 GB, free: 9.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003176/0.7159, allocations: 0.5083 MB / 0.6298 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.7177, allocations: 1.216 MB / 0.631 GB, free: 7.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/0.7218, allocations: 4.559 MB / 0.6355 GB, free: 1.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/0.725, allocations: 2.32 MB / 0.6378 GB, free: 14.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-05/0.7251, allocations: 36 kB / 0.6378 GB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.008374/0.7335, allocations: 5.511 MB / 0.6432 GB, free: 9.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.067e-05/0.7336, allocations: 56 kB / 0.6432 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001645/0.7337, allocations: 120 kB / 0.6433 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.7339, allocations: 176.8 kB / 0.6435 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.7367, allocations: 1.131 MB / 0.6446 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001554/0.7369, allocations: 243.1 kB / 0.6448 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.7401, allocations: 0.7075 MB / 0.6455 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000377/0.7405, allocations: 344 kB / 0.6459 GB, free: 6.488 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 () * 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.002541/0.743, allocations: 1.708 MB / 0.6475 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/0.7435, allocations: 304 kB / 0.6478 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008232/0.7444, allocations: 494.4 kB / 0.6483 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.7444, allocations: 19.92 kB / 0.6483 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.7444, allocations: 8 kB / 0.6483 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.7444, allocations: 11.88 kB / 0.6483 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/0.7497, allocations: 3.3 MB / 0.6516 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.7498, allocations: 4 kB / 0.6516 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.7502, allocations: 112.2 kB / 0.6517 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.7502, allocations: 12.05 kB / 0.6517 GB, free: 432 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.7503, allocations: 23.97 kB / 0.6517 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.7503, allocations: 8 kB / 0.6517 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.7503, allocations: 4 kB / 0.6517 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.7526, allocations: 2.518 MB / 0.6542 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009749/0.7535, allocations: 464.8 kB / 0.6546 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.7538, allocations: 16 kB / 0.6546 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008506/0.7546, allocations: 39.97 kB / 0.6547 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.7547, allocations: 55.89 kB / 0.6547 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.7548, allocations: 28 kB / 0.6547 GB, free: 13.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002934/0.7577, allocations: 2.38 MB / 0.6571 GB, free: 10.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7578, allocations: 0 / 0.6571 GB, free: 10.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003363/0.7611, allocations: 0.8216 MB / 0.6579 GB, free: 9.926 MB / 442.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.0003146/0.7614, allocations: 171 kB / 0.658 GB, free: 9.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003857/0.7653, allocations: 2.808 MB / 0.6608 GB, free: 6.961 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7653, allocations: 1.688 kB / 0.6608 GB, free: 6.961 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.7658, allocations: 425.1 kB / 0.6612 GB, free: 6.547 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.7672, allocations: 352.7 kB / 0.6615 GB, free: 6.203 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1838/0.951, allocations: 7.873 MB / 0.6692 GB, free: 113.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/0.9534, allocations: 2.757 MB / 0.6719 GB, free: 112.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003908/0.9573, allocations: 1.579 MB / 0.6734 GB, free: 112.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/0.9578, allocations: 210.2 kB / 0.6736 GB, free: 112.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/0.9578, allocations: 2.656 kB / 0.6736 GB, free: 112.7 MB / 442.7 MB Notification: Performance of Templates: time 0.04037/0.9982, allocations: 22.12 MB / 0.6952 GB, free: 111.8 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches