Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002405/0.002405, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002679/0.002679, allocations: 164.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3505/0.3505, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.461e-05, allocations: 3.859 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.02134/0.02136, allocations: 9.733 MB / 386.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.03176, allocations: 3.006 MB / 389.9 MB, free: 6.117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.03356, allocations: 59.81 kB / 390 MB, free: 6.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008558/0.04212, allocations: 2.8 MB / 392.8 MB, free: 3.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005076/0.0472, allocations: 1.248 MB / 394 MB, free: 1.996 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.04857, allocations: 379.2 kB / 394.4 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005257/0.05383, allocations: 2.589 MB / 397 MB, free: 15.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004686/0.05851, allocations: 2.316 MB / 399.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.06204, allocations: 1.555 MB / 400.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003681/0.06572, allocations: 1.368 MB / 402.2 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008231/0.06654, allocations: 252 kB / 402.5 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.06872, allocations: 0.702 MB / 403.2 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002439/0.07116, allocations: 1.43 MB / 404.6 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002127/0.07328, allocations: 0.8762 MB / 405.5 MB, free: 6.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.08364, allocations: 5.105 MB / 410.6 MB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.08365, allocations: 0 / 410.6 MB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.08365, allocations: 0 / 410.6 MB, free: 1.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001659/0.08382, allocations: 0 / 410.6 MB, free: 1.363 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01301/0.09683, allocations: 3.878 MB / 414.5 MB, free: 13.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.09689, allocations: 12.02 kB / 414.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.108, allocations: 1.957 MB / 416.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005841/0.1138, allocations: 1.375 MB / 417.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/0.1142, allocations: 180.9 kB / 418 MB, free: 9.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/0.1155, allocations: 228.3 kB / 418.2 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.1326, allocations: 4.123 MB / 422.4 MB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.1327, allocations: 15.88 kB / 422.4 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009747/0.1337, allocations: 111.9 kB / 422.5 MB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004011/0.1377, allocations: 1.447 MB / 423.9 MB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.15, allocations: 2.274 MB / 426.2 MB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.196/0.346, allocations: 26.9 MB / 453.1 MB, free: 81.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.3494, allocations: 1.03 MB / 454.1 MB, free: 81.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.3499, allocations: 287.5 kB / 454.4 MB, free: 81.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005982/0.3559, allocations: 2.829 MB / 457.2 MB, free: 80.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3559, allocations: 44.14 kB / 457.3 MB, free: 80.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.387e-06/0.3559, allocations: 0 / 457.3 MB, free: 80.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.005111/0.3611, allocations: 1.543 MB / 458.8 MB, free: 80.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.3611, allocations: 58.38 kB / 458.9 MB, free: 80.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.3637, allocations: 2.346 MB / 461.2 MB, free: 79.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.3637, allocations: 36.45 kB / 461.3 MB, free: 79.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.3648, allocations: 2.32 MB / 463.6 MB, free: 77.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.365, allocations: 391.3 kB / 464 MB, free: 77.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008353/0.3659, allocations: 0.8656 MB / 464.8 MB, free: 76.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.366, allocations: 0.5423 MB / 465.4 MB, free: 76.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.3666, allocations: 340.4 kB / 465.7 MB, free: 76.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.3682, allocations: 3.303 MB / 469 MB, free: 72.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.3711, allocations: 3.998 MB / 473 MB, free: 68.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.725e-05/0.3712, allocations: 19.19 kB / 473 MB, free: 68.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003718/0.3749, allocations: 2.672 MB / 475.7 MB, free: 66.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.3749, allocations: 36.84 kB / 475.7 MB, free: 66.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.583e-05/0.375, allocations: 68.22 kB / 475.8 MB, free: 66.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.46e-05/0.3751, allocations: 100.1 kB / 475.9 MB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.3768, allocations: 0.6863 MB / 476.6 MB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-05/0.3769, allocations: 134.3 kB / 476.7 MB, free: 66.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.3785, allocations: 432.4 kB / 477.1 MB, free: 66.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.3787, allocations: 195.8 kB / 477.3 MB, free: 66.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009625/0.3797, allocations: 491.8 kB / 477.8 MB, free: 66.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.3799, allocations: 189.1 kB / 478 MB, free: 66.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.3802, allocations: 167.4 kB / 478.2 MB, free: 65.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.3802, allocations: 17.31 kB / 478.2 MB, free: 65.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3802, allocations: 0 / 478.2 MB, free: 65.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3802, allocations: 3.375 kB / 478.2 MB, free: 65.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006705/0.3869, allocations: 4.379 MB / 482.6 MB, free: 63.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.387, allocations: 8.938 kB / 482.6 MB, free: 63.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.3874, allocations: 116.6 kB / 482.7 MB, free: 63.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.3874, allocations: 15.61 kB / 482.7 MB, free: 63.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.3875, allocations: 21.31 kB / 482.7 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.3875, allocations: 16.48 kB / 482.7 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.3875, allocations: 12.41 kB / 482.7 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.3886, allocations: 1.09 MB / 483.8 MB, free: 62.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.3889, allocations: 159.6 kB / 484 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.389, allocations: 23.97 kB / 484 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.3895, allocations: 29.56 kB / 484 MB, free: 62.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3897, allocations: 69.06 kB / 484.1 MB, free: 62.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.3897, allocations: 36.19 kB / 484.1 MB, free: 62.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001317/0.391, allocations: 0.9659 MB / 485.1 MB, free: 62.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.391, allocations: 4 kB / 485.1 MB, free: 62.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002688/0.3937, allocations: 0.8135 MB / 485.9 MB, free: 62.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * 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 (63): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002743/0.394, allocations: 149 kB / 486.1 MB, free: 62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002661/0.3967, allocations: 1.526 MB / 487.6 MB, free: 61.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.3967, allocations: 1.656 kB / 487.6 MB, free: 61.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.3971, allocations: 295 kB / 487.9 MB, free: 61.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.3983, allocations: 210.7 kB / 488.1 MB, free: 61.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/0.4061, allocations: 5.101 MB / 493.2 MB, free: 58.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/0.4081, allocations: 1.735 MB / 494.9 MB, free: 57.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00175/0.4098, allocations: 0.8506 MB / 495.8 MB, free: 57.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.4101, allocations: 125.5 kB / 495.9 MB, free: 57.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.4101, allocations: 0 / 495.9 MB, free: 57.82 MB / 410.7 MB Notification: Performance of Templates: time 0.02449/0.4346, allocations: 12.64 MB / 0.4966 GB, free: 55.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.681510993978009]