Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 99.44 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3065/0.3065, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003393, allocations: 16 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 61.89 MB / 0.5096 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.4285, allocations: 110.4 MB / 0.6173 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4287, allocations: 79.95 kB / 0.6174 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4126/0.8414, allocations: 83.79 MB / 0.6992 GB, free: 97.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.8414, allocations: 0 / 0.6992 GB, free: 97.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001437/0.8416, allocations: 75.22 kB / 0.6993 GB, free: 97.99 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.009628/0.8512, allocations: 4.047 MB / 0.7033 GB, free: 96.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8513, allocations: 13.12 kB / 0.7033 GB, free: 96.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.8676, allocations: 4.341 MB / 0.7075 GB, free: 95.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.879, allocations: 4.412 MB / 0.7118 GB, free: 95.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/0.8793, allocations: 319 kB / 0.7121 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/0.8811, allocations: 420.4 kB / 0.7125 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/0.8997, allocations: 9.617 MB / 0.7219 GB, free: 91.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/0.8999, allocations: 63.84 kB / 0.722 GB, free: 91.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006855/0.9006, allocations: 204.5 kB / 0.7222 GB, free: 91.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.9016, allocations: 0.8492 MB / 0.723 GB, free: 91.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.9141, allocations: 7.665 MB / 0.7305 GB, free: 88.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03429/0.9484, allocations: 43.21 MB / 0.7727 GB, free: 54.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004024/0.9525, allocations: 2.398 MB / 0.775 GB, free: 53.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.9528, allocations: 326.4 kB / 0.7753 GB, free: 53.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.9528, allocations: 53.62 kB / 0.7754 GB, free: 53.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 4.137e-06/0.9528, allocations: 4 kB / 0.7754 GB, free: 53.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.02017/0.973, allocations: 10.9 MB / 0.786 GB, free: 48.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.9731, allocations: 194.5 kB / 0.7862 GB, free: 48.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/0.9765, allocations: 3.205 MB / 0.7894 GB, free: 47.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.9766, allocations: 48.64 kB / 0.7894 GB, free: 46.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.9777, allocations: 2.966 MB / 0.7923 GB, free: 44.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.9781, allocations: 0.5604 MB / 0.7928 GB, free: 44.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.9782, allocations: 105 kB / 0.7929 GB, free: 44.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.9785, allocations: 0.5331 MB / 0.7935 GB, free: 43.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.9805, allocations: 1.681 MB / 0.7951 GB, free: 43.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/0.9834, allocations: 5.103 MB / 0.8001 GB, free: 36.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.9863, allocations: 2.878 MB / 0.8029 GB, free: 34.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.385e-05/0.9863, allocations: 36 kB / 0.8029 GB, free: 33.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.008282/0.9946, allocations: 6.724 MB / 0.8095 GB, free: 28.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.9947, allocations: 56 kB / 0.8096 GB, free: 28.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.521e-05/0.9948, allocations: 123.2 kB / 0.8097 GB, free: 27.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/0.9955, allocations: 377 kB / 0.81 GB, free: 27.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.9984, allocations: 1.238 MB / 0.8112 GB, free: 26.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/1.001, allocations: 3.029 MB / 0.8142 GB, free: 23.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/1.004, allocations: 301.8 kB / 0.8145 GB, free: 23.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/1.005, allocations: 338.8 kB / 0.8148 GB, free: 23.03 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.002801/1.007, allocations: 2.04 MB / 0.8168 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/1.008, allocations: 304.1 kB / 0.8171 GB, free: 20.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/1.011, allocations: 1.815 MB / 0.8189 GB, free: 19.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/1.011, allocations: 16 kB / 0.8189 GB, free: 19.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.011, allocations: 4 kB / 0.8189 GB, free: 19.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.011, allocations: 7.516 kB / 0.8189 GB, free: 19.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00924/1.02, allocations: 5.786 MB / 0.8245 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.02, allocations: 0 / 0.8245 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.021, allocations: 231.7 kB / 0.8248 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/1.021, allocations: 184.6 kB / 0.8249 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/1.022, allocations: 23.98 kB / 0.825 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/1.024, allocations: 2.599 MB / 0.8275 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.024, allocations: 3.938 kB / 0.8275 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/1.028, allocations: 3.923 MB / 0.8313 GB, free: 6.688 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008426/1.029, allocations: 360.9 kB / 0.8317 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/1.03, allocations: 24 kB / 0.8317 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.031, allocations: 80.19 kB / 0.8318 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.031, allocations: 104.4 kB / 0.8319 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/1.031, allocations: 39.98 kB / 0.8319 GB, free: 6.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002667/1.034, allocations: 2.227 MB / 0.8341 GB, free: 3.855 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.034, allocations: 0 / 0.8341 GB, free: 3.855 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00398/1.038, allocations: 0.8583 MB / 0.8349 GB, free: 3 MB / 490.7 MB 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.0003169/1.038, allocations: 162.6 kB / 0.8351 GB, free: 2.836 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005335/1.043, allocations: 4.069 MB / 0.8391 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.043, allocations: 0 / 0.8391 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.045, allocations: 1.158 MB / 0.8402 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.046, allocations: 390.4 kB / 0.8406 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.06, allocations: 9.678 MB / 0.85 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003544/1.064, allocations: 3.244 MB / 0.8532 GB, free: 276 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004189/1.068, allocations: 1.729 MB / 0.8549 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006065/1.069, allocations: 211.4 kB / 0.8551 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of SimCode: time 8.31e-07/1.069, allocations: 4 kB / 0.8551 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.05167/1.12, allocations: 26.99 MB / 0.8814 GB, free: 3.656 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches