Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001056, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.2 MB / 245 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007983/0.0007984, allocations: 95.55 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002056/0.0002056, allocations: 8 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2054, allocations: 51.5 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.3165, allocations: 101.2 MB / 0.4986 GB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.3168, allocations: 95.94 kB / 0.4987 GB, free: 5.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3676/0.6844, allocations: 93.42 MB / 0.5899 GB, free: 20.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6845, allocations: 0 / 0.5899 GB, free: 20.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001573/0.6846, allocations: 92.12 kB / 0.59 GB, free: 20.17 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: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.009672/0.6943, allocations: 4.769 MB / 0.5947 GB, free: 15.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6944, allocations: 16.03 kB / 0.5947 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.7096, allocations: 4.432 MB / 0.599 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.7217, allocations: 4.266 MB / 0.6032 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004203/0.7221, allocations: 336.8 kB / 0.6035 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/0.7243, allocations: 439.8 kB / 0.6039 GB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/0.7482, allocations: 11.29 MB / 0.615 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002505/0.7485, allocations: 63.47 kB / 0.615 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001544/0.7501, allocations: 211.9 kB / 0.6152 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/0.7517, allocations: 1.101 MB / 0.6163 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.7701, allocations: 9.253 MB / 0.6253 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.275/1.045, allocations: 50.31 MB / 0.6745 GB, free: 64.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/1.055, allocations: 4.776 MB / 0.6791 GB, free: 63.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009984/1.065, allocations: 7.265 MB / 0.6862 GB, free: 62.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.066, allocations: 51.91 kB / 0.6863 GB, free: 62.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 3.847e-06/1.066, allocations: 2.406 kB / 0.6863 GB, free: 62.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=198): time 0.03583/1.101, allocations: 17.84 MB / 0.7037 GB, free: 58.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/1.101, allocations: 172.8 kB / 0.7039 GB, free: 58.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/1.106, allocations: 4.079 MB / 0.7079 GB, free: 58.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/1.106, allocations: 57.2 kB / 0.7079 GB, free: 58.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/1.108, allocations: 3.254 MB / 0.7111 GB, free: 56.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000483/1.108, allocations: 0.7553 MB / 0.7118 GB, free: 56.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/1.108, allocations: 125.7 kB / 0.7119 GB, free: 56.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000234/1.109, allocations: 0.5602 MB / 0.7125 GB, free: 55.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/1.111, allocations: 2.195 MB / 0.7146 GB, free: 55.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/1.115, allocations: 5.911 MB / 0.7204 GB, free: 51.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/1.119, allocations: 3.552 MB / 0.7239 GB, free: 50.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.036e-05/1.119, allocations: 36.38 kB / 0.7239 GB, free: 50.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01024/1.129, allocations: 8.669 MB / 0.7324 GB, free: 47.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.051e-05/1.129, allocations: 63.38 kB / 0.7324 GB, free: 47.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.862e-05/1.129, allocations: 128.9 kB / 0.7326 GB, free: 47.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/1.131, allocations: 0.9075 MB / 0.7334 GB, free: 47.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/1.134, allocations: 1.467 MB / 0.7349 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005676/1.14, allocations: 5.917 MB / 0.7407 GB, free: 44.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00415/1.144, allocations: 356.9 kB / 0.741 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005828/1.145, allocations: 378 kB / 0.7414 GB, free: 44.28 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 46 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (753): * Single equations (assignments): 749 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003706/1.149, allocations: 2.227 MB / 0.7435 GB, free: 43.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006751/1.149, allocations: 390.9 kB / 0.7439 GB, free: 42.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/1.154, allocations: 3.584 MB / 0.7474 GB, free: 40 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/1.154, allocations: 23.69 kB / 0.7474 GB, free: 39.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.154, allocations: 8 kB / 0.7474 GB, free: 39.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/1.154, allocations: 14.22 kB / 0.7475 GB, free: 39.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/1.166, allocations: 9.117 MB / 0.7564 GB, free: 32.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.166, allocations: 4 kB / 0.7564 GB, free: 32.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.168, allocations: 394.6 kB / 0.7567 GB, free: 32.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/1.169, allocations: 0.7149 MB / 0.7574 GB, free: 31.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.169, allocations: 43.8 kB / 0.7575 GB, free: 31.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005417/1.175, allocations: 5.477 MB / 0.7628 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.175, allocations: 11.94 kB / 0.7628 GB, free: 26.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00696/1.182, allocations: 7.185 MB / 0.7699 GB, free: 20.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.183, allocations: 474.4 kB / 0.7703 GB, free: 19.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003766/1.183, allocations: 43.92 kB / 0.7703 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.185, allocations: 122.1 kB / 0.7705 GB, free: 19.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/1.185, allocations: 120.4 kB / 0.7706 GB, free: 19.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.185, allocations: 61.05 kB / 0.7706 GB, free: 19.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003728/1.189, allocations: 2.921 MB / 0.7735 GB, free: 17.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.189, allocations: 0 / 0.7735 GB, free: 17.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004224/1.193, allocations: 1.057 MB / 0.7745 GB, free: 16.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * 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 (157): * Single equations (assignments): 153 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003827/1.193, allocations: 180.6 kB / 0.7747 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005839/1.199, allocations: 5.402 MB / 0.78 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.199, allocations: 0 / 0.78 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/1.201, allocations: 1.922 MB / 0.7818 GB, free: 9.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/1.203, allocations: 486 kB / 0.7823 GB, free: 9.105 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.217, allocations: 11.8 MB / 0.7938 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/1.221, allocations: 3.537 MB / 0.7973 GB, free: 11.65 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004723/1.225, allocations: 2.049 MB / 0.7993 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007341/1.226, allocations: 263.4 kB / 0.7995 GB, free: 9.938 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/1.226, allocations: 0 / 0.7995 GB, free: 9.938 MB / 458.7 MB Notification: Performance of Templates: time 0.06463/1.291, allocations: 38.91 MB / 0.8375 GB, free: 3.828 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches