Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 196.1 kB / 18.1 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 226.5 MB / 245.4 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007843/0.0007844, allocations: 101.3 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3729/0.3729, allocations: 44.83 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.000261, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3219, allocations: 62.95 MB / 0.5184 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4639, allocations: 111.3 MB / 0.6271 GB, free: 10 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4642, allocations: 83.89 kB / 0.6271 GB, free: 9.926 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4424/0.9066, allocations: 82.87 MB / 0.7081 GB, free: 101.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.9067, allocations: 5.094 kB / 0.7081 GB, free: 101.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001775/0.9069, allocations: 78.62 kB / 0.7081 GB, free: 101.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.01201/0.9189, allocations: 3.97 MB / 0.712 GB, free: 99.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9189, allocations: 9.969 kB / 0.712 GB, free: 99.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/0.9333, allocations: 3.589 MB / 0.7155 GB, free: 99.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007642/0.941, allocations: 3.24 MB / 0.7187 GB, free: 98.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.9413, allocations: 316.3 kB / 0.719 GB, free: 98.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.9427, allocations: 418.2 kB / 0.7194 GB, free: 98.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.9556, allocations: 9.618 MB / 0.7288 GB, free: 93.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.9558, allocations: 58.38 kB / 0.7289 GB, free: 93.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006508/0.9564, allocations: 209.9 kB / 0.7291 GB, free: 93.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00091/0.9574, allocations: 0.8465 MB / 0.7299 GB, free: 93.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.968, allocations: 7.631 MB / 0.7373 GB, free: 91.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03524/1.003, allocations: 43.21 MB / 0.7795 GB, free: 57.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/1.007, allocations: 2.391 MB / 0.7819 GB, free: 56.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/1.008, allocations: 1.188 MB / 0.783 GB, free: 55.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/1.009, allocations: 321.2 kB / 0.7833 GB, free: 55.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/1.009, allocations: 57.52 kB / 0.7834 GB, free: 55.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.447e-06/1.009, allocations: 0 / 0.7834 GB, free: 55.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.02001/1.029, allocations: 10.65 MB / 0.7938 GB, free: 47.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/1.029, allocations: 196.6 kB / 0.794 GB, free: 46.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004365/1.033, allocations: 3.597 MB / 0.7975 GB, free: 43.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003119/1.034, allocations: 45.7 kB / 0.7975 GB, free: 43.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/1.035, allocations: 2.971 MB / 0.8004 GB, free: 40.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005702/1.035, allocations: 0.5551 MB / 0.801 GB, free: 39.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/1.036, allocations: 103.9 kB / 0.8011 GB, free: 39.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002336/1.036, allocations: 0.5331 MB / 0.8016 GB, free: 39.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/1.038, allocations: 1.685 MB / 0.8032 GB, free: 37.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003228/1.041, allocations: 5.121 MB / 0.8082 GB, free: 30.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006028/1.047, allocations: 7.404 MB / 0.8155 GB, free: 21.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.771e-05/1.047, allocations: 36 kB / 0.8155 GB, free: 21.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.009069/1.057, allocations: 6.718 MB / 0.8221 GB, free: 14.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/1.057, allocations: 56.09 kB / 0.8221 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.528e-05/1.057, allocations: 131.9 kB / 0.8222 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000654/1.057, allocations: 353.2 kB / 0.8226 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/1.06, allocations: 1.236 MB / 0.8238 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/1.063, allocations: 2.992 MB / 0.8267 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/1.066, allocations: 303.7 kB / 0.827 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/1.067, allocations: 336 kB / 0.8273 GB, free: 9.184 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 36 (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],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (655): * Single equations (assignments): 651 * 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 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002984/1.07, allocations: 2.037 MB / 0.8293 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/1.07, allocations: 312 kB / 0.8296 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/1.073, allocations: 1.824 MB / 0.8314 GB, free: 4.992 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.073, allocations: 16 kB / 0.8314 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.073, allocations: 4 kB / 0.8314 GB, free: 4.973 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.073, allocations: 3.984 kB / 0.8314 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008891/1.082, allocations: 5.786 MB / 0.8371 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.082, allocations: 0 / 0.8371 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.083, allocations: 235.6 kB / 0.8373 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/1.083, allocations: 176.7 kB / 0.8375 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.783e-05/1.084, allocations: 27.98 kB / 0.8375 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/1.086, allocations: 2.562 MB / 0.84 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.086, allocations: 0 / 0.84 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/1.092, allocations: 3.847 MB / 0.8437 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.094, allocations: 357 kB / 0.8441 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004827/1.094, allocations: 18.89 kB / 0.8441 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.095, allocations: 83.98 kB / 0.8442 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/1.095, allocations: 100.4 kB / 0.8443 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.694e-05/1.096, allocations: 39.98 kB / 0.8443 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003792/1.099, allocations: 2.227 MB / 0.8465 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.099, allocations: 4 kB / 0.8465 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004538/1.104, allocations: 0.8593 MB / 0.8473 GB, free: 4.453 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (107): * Single equations (assignments): 103 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003759/1.104, allocations: 162.1 kB / 0.8475 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006403/1.111, allocations: 4.078 MB / 0.8515 GB, free: 236 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.111, allocations: 0 / 0.8515 GB, free: 236 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/1.112, allocations: 1.164 MB / 0.8526 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/1.115, allocations: 404.2 kB / 0.853 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/1.131, allocations: 9.704 MB / 0.8625 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00361/1.135, allocations: 3.155 MB / 0.8655 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004762/1.14, allocations: 1.74 MB / 0.8672 GB, free: 28 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/1.14, allocations: 211.4 kB / 0.8674 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/1.14, allocations: 0 / 0.8674 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.3086/1.449, allocations: 27.07 MB / 0.8939 GB, free: 131.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches