Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 195.4 kB / 18.06 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 226.5 MB / 245.4 MB, free: 8.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007736/0.0007733, allocations: 89.53 kB / 297.4 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002248/0.0002249, allocations: 4 kB / 357.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2435, allocations: 51.3 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.3606, allocations: 95.35 MB / 0.4922 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.3609, allocations: 92.91 kB / 0.4923 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3418/0.7028, allocations: 67.35 MB / 0.5581 GB, free: 53.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.7029, allocations: 0 / 0.5581 GB, free: 53.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001219/0.703, allocations: 64 kB / 0.5581 GB, free: 53.56 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.00889/0.7119, allocations: 3.308 MB / 0.5614 GB, free: 50.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.712, allocations: 8.031 kB / 0.5614 GB, free: 50.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008534/0.7205, allocations: 1.946 MB / 0.5633 GB, free: 48.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004836/0.7254, allocations: 2.055 MB / 0.5653 GB, free: 46.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.7256, allocations: 230.5 kB / 0.5655 GB, free: 45.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.7268, allocations: 316.2 kB / 0.5658 GB, free: 45.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.7388, allocations: 7.452 MB / 0.5731 GB, free: 37.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.957e-05/0.739, allocations: 43.81 kB / 0.5731 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.7396, allocations: 151.9 kB / 0.5733 GB, free: 37.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007847/0.7404, allocations: 0.7465 MB / 0.574 GB, free: 36.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009184/0.7495, allocations: 5.666 MB / 0.5795 GB, free: 30.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03217/0.7818, allocations: 35.31 MB / 0.614 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.7848, allocations: 1.66 MB / 0.6156 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.7856, allocations: 489.7 kB / 0.6161 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004835/0.7904, allocations: 3.187 MB / 0.6192 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.7905, allocations: 46.56 kB / 0.6192 GB, free: 4.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 3.897e-06/0.7905, allocations: 0 / 0.6192 GB, free: 4.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.003849/0.7944, allocations: 1.652 MB / 0.6209 GB, free: 2.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.7945, allocations: 195.9 kB / 0.621 GB, free: 2.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005917/0.8004, allocations: 3.741 MB / 0.6247 GB, free: 14.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.8006, allocations: 37.69 kB / 0.6247 GB, free: 14.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002005/0.8026, allocations: 2.714 MB / 0.6274 GB, free: 11.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005277/0.8031, allocations: 356 kB / 0.6277 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.8033, allocations: 92 kB / 0.6278 GB, free: 11.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003607/0.8037, allocations: 0.5044 MB / 0.6283 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.8058, allocations: 1.219 MB / 0.6295 GB, free: 9.672 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003958/0.8097, allocations: 4.579 MB / 0.634 GB, free: 3.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006813/0.8166, allocations: 6.32 MB / 0.6401 GB, free: 11.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.762e-05/0.8167, allocations: 32 kB / 0.6402 GB, free: 11.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01077/0.8275, allocations: 5.53 MB / 0.6456 GB, free: 5.789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.8276, allocations: 56 kB / 0.6456 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/0.8278, allocations: 120.1 kB / 0.6457 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.8279, allocations: 160.5 kB / 0.6459 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.8312, allocations: 1.135 MB / 0.647 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001845/0.8314, allocations: 239.1 kB / 0.6472 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/0.8356, allocations: 0.6921 MB / 0.6479 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007205/0.8364, allocations: 351.9 kB / 0.6482 GB, free: 3.047 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.003168/0.8396, allocations: 1.712 MB / 0.6499 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/0.8401, allocations: 307.9 kB / 0.6502 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000992/0.8411, allocations: 0.4939 MB / 0.6507 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/0.8412, allocations: 12 kB / 0.6507 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.8412, allocations: 0 / 0.6507 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.8412, allocations: 11.98 kB / 0.6507 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/0.8469, allocations: 3.162 MB / 0.6538 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.8469, allocations: 4 kB / 0.6538 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.8474, allocations: 103.9 kB / 0.6539 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.8474, allocations: 4 kB / 0.6539 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.8475, allocations: 12 kB / 0.6539 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.8475, allocations: 19.86 kB / 0.6539 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8475, allocations: 4.281 kB / 0.6539 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.8497, allocations: 2.029 MB / 0.6559 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008678/0.8506, allocations: 476.7 kB / 0.6564 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.8508, allocations: 15.94 kB / 0.6564 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/0.8517, allocations: 47.89 kB / 0.6564 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.8518, allocations: 35.95 kB / 0.6565 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/0.8519, allocations: 28.06 kB / 0.6565 GB, free: 10.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00406/0.8559, allocations: 2.388 MB / 0.6588 GB, free: 8.039 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.825e-06/0.8559, allocations: 0 / 0.6588 GB, free: 8.039 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004232/0.8602, allocations: 0.8372 MB / 0.6596 GB, free: 7.199 MB / 442.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.0003806/0.8606, allocations: 143.1 kB / 0.6598 GB, free: 7.051 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00451/0.8651, allocations: 2.812 MB / 0.6625 GB, free: 4.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.8651, allocations: 0 / 0.6625 GB, free: 4.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005175/0.8657, allocations: 404.3 kB / 0.6629 GB, free: 3.871 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/0.8693, allocations: 361.5 kB / 0.6633 GB, free: 3.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2161/1.085, allocations: 8.253 MB / 0.6713 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002254/1.088, allocations: 2.684 MB / 0.6739 GB, free: 113.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007468/1.088, allocations: 262.6 kB / 0.6742 GB, free: 113.7 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/1.088, allocations: 0 / 0.6742 GB, free: 113.7 MB / 442.7 MB Notification: Performance of Templates: time 0.06328/1.152, allocations: 44.54 MB / 0.7177 GB, free: 98.08 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches