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.001343/0.001343, allocations: 197.2 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007898/0.0007897, allocations: 99.33 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002264/0.0002264, allocations: 7.984 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1935, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.3513, allocations: 95.35 MB / 0.4929 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/0.3517, allocations: 95.94 kB / 0.493 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3465/0.6983, allocations: 67.34 MB / 0.5588 GB, free: 53.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6983, allocations: 0 / 0.5588 GB, free: 53.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000171/0.6985, allocations: 68 kB / 0.5588 GB, free: 53.53 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.008188/0.7067, allocations: 3.308 MB / 0.562 GB, free: 50.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.7067, allocations: 12.03 kB / 0.5621 GB, free: 50.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007998/0.7147, allocations: 1.942 MB / 0.564 GB, free: 48.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/0.7195, allocations: 2.063 MB / 0.566 GB, free: 46.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.7197, allocations: 234.5 kB / 0.5662 GB, free: 45.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.721, allocations: 312.1 kB / 0.5665 GB, free: 45.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.7326, allocations: 7.448 MB / 0.5738 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.7327, allocations: 39.81 kB / 0.5738 GB, free: 37.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007043/0.7334, allocations: 159.8 kB / 0.574 GB, free: 37.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007671/0.7342, allocations: 0.7387 MB / 0.5747 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008468/0.7427, allocations: 5.674 MB / 0.5802 GB, free: 30.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02711/0.7698, allocations: 35.3 MB / 0.6147 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.7728, allocations: 1.657 MB / 0.6163 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007129/0.7736, allocations: 485.7 kB / 0.6168 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004681/0.7782, allocations: 3.199 MB / 0.6199 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.7783, allocations: 42.5 kB / 0.6199 GB, free: 4.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.685e-06/0.7783, allocations: 0 / 0.6199 GB, free: 4.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.003676/0.782, allocations: 1.662 MB / 0.6216 GB, free: 2.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.7821, allocations: 183.9 kB / 0.6217 GB, free: 2.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005773/0.7879, allocations: 3.741 MB / 0.6254 GB, free: 14.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.788, allocations: 38.11 kB / 0.6254 GB, free: 14.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/0.79, allocations: 2.71 MB / 0.6281 GB, free: 11.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004238/0.7905, allocations: 360 kB / 0.6284 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.7906, allocations: 95.94 kB / 0.6285 GB, free: 11.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003383/0.791, allocations: 0.5044 MB / 0.629 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.7929, allocations: 1.216 MB / 0.6302 GB, free: 9.637 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/0.7969, allocations: 4.583 MB / 0.6347 GB, free: 3.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00643/0.8034, allocations: 6.327 MB / 0.6408 GB, free: 11.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.822e-05/0.8035, allocations: 36 kB / 0.6409 GB, free: 11.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.009901/0.8134, allocations: 5.52 MB / 0.6463 GB, free: 5.746 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.678e-05/0.8135, allocations: 58.34 kB / 0.6463 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/0.8137, allocations: 124 kB / 0.6464 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.8138, allocations: 159.9 kB / 0.6466 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.817, allocations: 1.131 MB / 0.6477 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001981/0.8172, allocations: 239.1 kB / 0.6479 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/0.8209, allocations: 0.6922 MB / 0.6486 GB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006332/0.8215, allocations: 352 kB / 0.6489 GB, free: 3.004 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.003068/0.8246, allocations: 1.712 MB / 0.6506 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/0.8252, allocations: 304 kB / 0.6509 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.8264, allocations: 0.4941 MB / 0.6514 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/0.8265, allocations: 12 kB / 0.6514 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.8265, allocations: 0 / 0.6514 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.8265, allocations: 3.984 kB / 0.6514 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007209/0.8337, allocations: 3.162 MB / 0.6545 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.8337, allocations: 8.281 kB / 0.6545 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.8342, allocations: 107.8 kB / 0.6546 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.8343, allocations: 4 kB / 0.6546 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.8343, allocations: 20.27 kB / 0.6546 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.8343, allocations: 11.94 kB / 0.6546 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8343, allocations: 4 kB / 0.6546 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.8367, allocations: 2.029 MB / 0.6566 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.8377, allocations: 468.7 kB / 0.6571 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/0.8382, allocations: 23.92 kB / 0.6571 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.8393, allocations: 47.95 kB / 0.6571 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.8394, allocations: 43.89 kB / 0.6572 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/0.8395, allocations: 24 kB / 0.6572 GB, free: 10.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004193/0.8437, allocations: 2.388 MB / 0.6595 GB, free: 8 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8437, allocations: 4 kB / 0.6595 GB, free: 7.996 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003945/0.8476, allocations: 0.8294 MB / 0.6603 GB, free: 7.164 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.0003688/0.848, allocations: 143.1 kB / 0.6605 GB, free: 7.016 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00455/0.8526, allocations: 2.812 MB / 0.6632 GB, free: 4.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.8526, allocations: 0 / 0.6632 GB, free: 4.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.8532, allocations: 404.4 kB / 0.6636 GB, free: 3.836 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/0.8569, allocations: 358.1 kB / 0.6639 GB, free: 3.484 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1859/1.043, allocations: 7.882 MB / 0.6716 GB, free: 115 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/1.045, allocations: 2.685 MB / 0.6743 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003873/1.049, allocations: 1.576 MB / 0.6758 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/1.049, allocations: 215.2 kB / 0.676 GB, free: 114.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.083e-06/1.049, allocations: 0 / 0.676 GB, free: 114.2 MB / 442.7 MB Notification: Performance of Templates: time 0.04046/1.09, allocations: 22.18 MB / 0.6977 GB, free: 113.4 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/jenkins1/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