Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 170 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9925/0.9925, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2838/0.2838, allocations: 34.26 MB / 296.1 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.333e-05, allocations: 3.672 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01124/0.01127, allocations: 9.083 MB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008482/0.01975, allocations: 3.864 MB / 338.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.02161, allocations: 63.69 kB / 338.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004424/0.02603, allocations: 2.912 MB / 341.2 MB, free: 7.625 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004618/0.03065, allocations: 1.723 MB / 342.9 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.0324, allocations: 0.7639 MB / 343.7 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005633/0.03803, allocations: 4.291 MB / 348 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004165/0.0422, allocations: 3.082 MB / 351.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004426/0.04662, allocations: 2.589 MB / 353.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.04985, allocations: 1.98 MB / 355.6 MB, free: 9.078 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008831/0.05073, allocations: 320 kB / 356 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.05297, allocations: 1.182 MB / 357.1 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002012/0.05498, allocations: 1.87 MB / 359 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.05695, allocations: 1.172 MB / 360.2 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005484/0.06243, allocations: 4.403 MB / 364.6 MB, free: 116 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.06244, allocations: 0 / 364.6 MB, free: 116 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.06244, allocations: 4 kB / 364.6 MB, free: 112 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002627/0.06271, allocations: 0 / 364.6 MB, free: 112 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.007294/0.07, allocations: 4.081 MB / 368.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.07004, allocations: 8.031 kB / 368.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.0732, allocations: 1.121 MB / 369.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.07561, allocations: 1.721 MB / 371.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.07571, allocations: 222 kB / 371.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.07606, allocations: 296.2 kB / 372 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005116/0.08117, allocations: 4.376 MB / 376.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.941e-05/0.08127, allocations: 31.7 kB / 376.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.08153, allocations: 147.8 kB / 376.6 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/0.08276, allocations: 1.451 MB / 378 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004142/0.0869, allocations: 2.062 MB / 380.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02591/0.1128, allocations: 27.29 MB / 407.4 MB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.1147, allocations: 0.8432 MB / 408.2 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.115, allocations: 211 kB / 408.4 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003495/0.1185, allocations: 2.445 MB / 410.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.1186, allocations: 47 kB / 410.9 MB, free: 15.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 3.176e-06/0.1186, allocations: 0 / 410.9 MB, free: 15.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.006836/0.1254, allocations: 3.019 MB / 413.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.1255, allocations: 196.4 kB / 414.1 MB, free: 12.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.1278, allocations: 2.889 MB / 417 MB, free: 9.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.1279, allocations: 37.7 kB / 417.1 MB, free: 9.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.1291, allocations: 2.848 MB / 419.9 MB, free: 6.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.1294, allocations: 492.4 kB / 420.4 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007631/0.1301, allocations: 1.032 MB / 421.4 MB, free: 5.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.1302, allocations: 305.1 kB / 421.7 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008791/0.1311, allocations: 0.6192 MB / 422.3 MB, free: 4.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.1334, allocations: 4.047 MB / 426.4 MB, free: 14.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/0.1374, allocations: 5.102 MB / 431.5 MB, free: 7.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.148e-05/0.1375, allocations: 36 kB / 431.5 MB, free: 7.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.004485/0.142, allocations: 3.605 MB / 435.1 MB, free: 3.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.142, allocations: 60 kB / 435.2 MB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.1421, allocations: 127.9 kB / 435.3 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/0.1424, allocations: 199.6 kB / 435.5 MB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.1444, allocations: 1.279 MB / 436.8 MB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008808/0.1453, allocations: 1.443 MB / 438.2 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.1474, allocations: 263.8 kB / 438.5 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.1477, allocations: 288 kB / 438.8 MB, free: 184 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],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 (670): * Single equations (assignments): 666 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.1487, allocations: 0.568 MB / 439.3 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.149, allocations: 171.8 kB / 439.5 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/0.1497, allocations: 0.5203 MB / 440 MB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.1497, allocations: 12 kB / 440 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1497, allocations: 4 kB / 440 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1497, allocations: 7.984 kB / 440 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.1531, allocations: 2.795 MB / 442.8 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.1531, allocations: 3.984 kB / 442.8 MB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.1536, allocations: 187.9 kB / 443 MB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.1539, allocations: 208.7 kB / 443.2 MB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.154, allocations: 19.98 kB / 443.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006588/0.1546, allocations: 1.217 MB / 444.5 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1546, allocations: 4 kB / 444.5 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.1559, allocations: 1.242 MB / 445.7 MB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.1564, allocations: 257.9 kB / 446 MB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.1565, allocations: 19.98 kB / 446 MB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.157, allocations: 48.06 kB / 446 MB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.1572, allocations: 68.31 kB / 446.1 MB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.1572, allocations: 27.98 kB / 446.1 MB, free: 8.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009653/0.1582, allocations: 1.023 MB / 447.1 MB, free: 7.555 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1582, allocations: 0 / 447.1 MB, free: 7.555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002745/0.1609, allocations: 0.8397 MB / 448 MB, free: 6.715 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (90): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/0.1612, allocations: 144.1 kB / 448.1 MB, free: 6.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.1638, allocations: 2.067 MB / 450.2 MB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001478/0.1639, allocations: 92.16 kB / 450.3 MB, free: 4.398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.1643, allocations: 361.3 kB / 450.6 MB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.1659, allocations: 0.5499 MB / 451.2 MB, free: 3.484 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1501/0.316, allocations: 6.297 MB / 457.5 MB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009976/0.317, allocations: 1.108 MB / 458.6 MB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00113/0.3181, allocations: 421.8 kB / 459 MB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/0.3187, allocations: 464.5 kB / 459.5 MB, free: 121.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.445e-06/0.3187, allocations: 0 / 459.5 MB, free: 121.5 MB / 426.7 MB Notification: Performance of Templates: time 0.03606/0.3548, allocations: 21.58 MB / 481 MB, free: 108.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.023184297140688]