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.001256/0.001256, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008791/0.0008791, allocations: 89.66 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2804/0.2804, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002445/0.0002445, allocations: 8 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2871, allocations: 63.25 MB / 0.5192 GB, free: 43.7 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.406, allocations: 111.3 MB / 0.6278 GB, free: 10.35 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.4063, allocations: 79.95 kB / 0.6279 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4164/0.8227, allocations: 84.4 MB / 0.7103 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8227, allocations: 0 / 0.7103 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002223/0.823, allocations: 82.78 kB / 0.7104 GB, free: 97.03 MB / 0.4948 GB 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.01135/0.8343, allocations: 4.068 MB / 0.7144 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.8344, allocations: 10.97 kB / 0.7144 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/0.8498, allocations: 4.414 MB / 0.7187 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.8608, allocations: 3.898 MB / 0.7225 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000406/0.8612, allocations: 310.5 kB / 0.7228 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.8632, allocations: 425.7 kB / 0.7232 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/0.8848, allocations: 9.614 MB / 0.7326 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002805/0.8851, allocations: 60.95 kB / 0.7327 GB, free: 91.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001315/0.8864, allocations: 199.1 kB / 0.7329 GB, free: 91.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001405/0.8878, allocations: 0.8509 MB / 0.7337 GB, free: 91.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.902, allocations: 7.674 MB / 0.7412 GB, free: 91.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03509/0.9372, allocations: 43.21 MB / 0.7834 GB, free: 58.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/0.9411, allocations: 2.404 MB / 0.7857 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.9414, allocations: 326.4 kB / 0.786 GB, free: 56.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.9415, allocations: 48.41 kB / 0.7861 GB, free: 56.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=122): time 4.358e-06/0.9415, allocations: 0 / 0.7861 GB, free: 56.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=140): time 0.02108/0.9626, allocations: 10.9 MB / 0.7967 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.9627, allocations: 205.9 kB / 0.7969 GB, free: 51.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/0.9662, allocations: 3.214 MB / 0.8001 GB, free: 50.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.9663, allocations: 41.14 kB / 0.8001 GB, free: 50.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.9675, allocations: 2.969 MB / 0.803 GB, free: 47.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.9678, allocations: 0.556 MB / 0.8035 GB, free: 47.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.968, allocations: 108.7 kB / 0.8037 GB, free: 47.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.9682, allocations: 0.5232 MB / 0.8042 GB, free: 47.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/0.9702, allocations: 1.683 MB / 0.8058 GB, free: 46.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002969/0.9732, allocations: 5.105 MB / 0.8108 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.9763, allocations: 2.881 MB / 0.8136 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.784e-05/0.9763, allocations: 35.88 kB / 0.8136 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.008395/0.9848, allocations: 6.722 MB / 0.8202 GB, free: 37.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.9848, allocations: 61.81 kB / 0.8203 GB, free: 37.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.949e-05/0.9849, allocations: 119.4 kB / 0.8204 GB, free: 37.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006772/0.9856, allocations: 374.5 kB / 0.8207 GB, free: 37.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/0.9886, allocations: 1.234 MB / 0.8219 GB, free: 37.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.9913, allocations: 3.029 MB / 0.8249 GB, free: 35.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/0.9946, allocations: 302.2 kB / 0.8252 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000422/0.995, allocations: 334.5 kB / 0.8255 GB, free: 34.73 MB / 0.4948 GB 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.002641/0.9977, allocations: 2.043 MB / 0.8275 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004269/0.9981, allocations: 304.1 kB / 0.8278 GB, free: 32.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/1.001, allocations: 1.821 MB / 0.8296 GB, free: 31.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/1.001, allocations: 16 kB / 0.8296 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.001, allocations: 4 kB / 0.8296 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/1.001, allocations: 3.562 kB / 0.8296 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008648/1.01, allocations: 5.786 MB / 0.8352 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.01, allocations: 0 / 0.8352 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/1.011, allocations: 233.6 kB / 0.8355 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004619/1.011, allocations: 181.2 kB / 0.8356 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/1.011, allocations: 23.56 kB / 0.8357 GB, free: 26.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/1.013, allocations: 2.607 MB / 0.8382 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.013, allocations: 3.953 kB / 0.8382 GB, free: 23.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004371/1.018, allocations: 3.918 MB / 0.842 GB, free: 20.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007526/1.018, allocations: 363.4 kB / 0.8424 GB, free: 19.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/1.019, allocations: 20 kB / 0.8424 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009842/1.02, allocations: 88.53 kB / 0.8425 GB, free: 19.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.02, allocations: 96.17 kB / 0.8426 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/1.02, allocations: 39.94 kB / 0.8426 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002835/1.023, allocations: 2.23 MB / 0.8448 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.5e-07/1.023, allocations: 0 / 0.8448 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003811/1.027, allocations: 0.8549 MB / 0.8456 GB, free: 16.95 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.0003391/1.027, allocations: 166.4 kB / 0.8458 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005386/1.032, allocations: 4.078 MB / 0.8498 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.032, allocations: 0 / 0.8498 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.034, allocations: 1.146 MB / 0.8509 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.036, allocations: 383.5 kB / 0.8513 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/1.047, allocations: 9.676 MB / 0.8607 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/1.05, allocations: 3.245 MB / 0.8639 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003876/1.054, allocations: 1.733 MB / 0.8656 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/1.054, allocations: 215.3 kB / 0.8658 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of SimCode: time 7.32e-07/1.054, allocations: 0 / 0.8658 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.05031/1.105, allocations: 27 MB / 0.8921 GB, free: 4.234 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/jenkins/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