Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.002535/0.002535, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002902/0.002902, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.4105/0.4105, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.173e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0141/0.01413, allocations: 9.725 MB / 387 MB, free: 9.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007105/0.02124, allocations: 3.01 MB / 390 MB, free: 6.172 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.02242, allocations: 59.81 kB / 390.1 MB, free: 6.113 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005956/0.02838, allocations: 2.792 MB / 392.9 MB, free: 3.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.03169, allocations: 1.256 MB / 394.1 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009328/0.03262, allocations: 375.2 kB / 394.5 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.03677, allocations: 2.59 MB / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003586/0.04036, allocations: 2.32 MB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.04261, allocations: 1.548 MB / 400.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.04509, allocations: 1.376 MB / 402.3 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005236/0.04562, allocations: 259.9 kB / 402.6 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.04704, allocations: 0.6943 MB / 403.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.04871, allocations: 1.426 MB / 404.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.05035, allocations: 0.8801 MB / 405.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007847/0.0582, allocations: 5.105 MB / 410.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.05821, allocations: 0 / 410.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.05821, allocations: 0 / 410.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001727/0.05838, allocations: 0 / 410.7 MB, free: 1.418 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.008511/0.06689, allocations: 3.879 MB / 414.6 MB, free: 13.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.06694, allocations: 12.03 kB / 414.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006296/0.07324, allocations: 1.957 MB / 416.5 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003792/0.07703, allocations: 1.375 MB / 417.9 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.07721, allocations: 184.9 kB / 418.1 MB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004684/0.07768, allocations: 228.3 kB / 418.3 MB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009839/0.08752, allocations: 4.118 MB / 422.4 MB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.269e-05/0.08758, allocations: 15.86 kB / 422.4 MB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.08789, allocations: 111.9 kB / 422.5 MB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002532/0.09042, allocations: 1.443 MB / 424 MB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007918/0.09834, allocations: 2.274 MB / 426.3 MB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2085/0.3069, allocations: 26.9 MB / 453.2 MB, free: 80.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/0.3103, allocations: 1.029 MB / 454.2 MB, free: 80.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/0.3108, allocations: 290.3 kB / 454.5 MB, free: 80.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005807/0.3166, allocations: 2.833 MB / 457.3 MB, free: 79.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.3166, allocations: 40.89 kB / 457.3 MB, free: 79.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 2.575e-06/0.3166, allocations: 1.25 kB / 457.3 MB, free: 79.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.004971/0.3216, allocations: 1.543 MB / 458.9 MB, free: 79.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.3216, allocations: 58.34 kB / 458.9 MB, free: 79.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.3241, allocations: 2.351 MB / 461.3 MB, free: 78.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.3242, allocations: 33.7 kB / 461.3 MB, free: 78.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.3252, allocations: 2.319 MB / 463.7 MB, free: 77.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.3255, allocations: 397.5 kB / 464 MB, free: 77.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009058/0.3264, allocations: 0.8549 MB / 464.9 MB, free: 76.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3265, allocations: 0.5458 MB / 465.4 MB, free: 76.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.3272, allocations: 336.6 kB / 465.8 MB, free: 76.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.3288, allocations: 3.303 MB / 469.1 MB, free: 72.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.3314, allocations: 3.997 MB / 473.1 MB, free: 67.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/0.3314, allocations: 20.38 kB / 473.1 MB, free: 67.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003628/0.3351, allocations: 2.678 MB / 475.8 MB, free: 66.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.3351, allocations: 38.66 kB / 475.8 MB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.695e-05/0.3352, allocations: 72 kB / 475.9 MB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.322e-05/0.3353, allocations: 87.97 kB / 476 MB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.337, allocations: 0.6862 MB / 476.6 MB, free: 66.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.164e-05/0.3371, allocations: 135.7 kB / 476.8 MB, free: 66.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.3387, allocations: 426.1 kB / 477.2 MB, free: 66.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.3389, allocations: 197.8 kB / 477.4 MB, free: 66.25 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.0009821/0.3399, allocations: 492.3 kB / 477.9 MB, free: 65.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.3401, allocations: 190.6 kB / 478.1 MB, free: 65.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.3404, allocations: 174.4 kB / 478.2 MB, free: 65.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.3404, allocations: 11.75 kB / 478.2 MB, free: 65.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3404, allocations: 3.891 kB / 478.2 MB, free: 65.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3404, allocations: 7.172 kB / 478.2 MB, free: 65.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006781/0.3472, allocations: 4.369 MB / 482.6 MB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.3472, allocations: 9.406 kB / 482.6 MB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.3477, allocations: 120.7 kB / 482.7 MB, free: 63.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.3477, allocations: 11.75 kB / 482.8 MB, free: 63.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.3477, allocations: 20.84 kB / 482.8 MB, free: 63.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.3477, allocations: 18.86 kB / 482.8 MB, free: 63.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.3477, allocations: 13.22 kB / 482.8 MB, free: 63.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.3488, allocations: 1.085 MB / 483.9 MB, free: 62.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.3492, allocations: 168.4 kB / 484.1 MB, free: 62.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.3493, allocations: 24.03 kB / 484.1 MB, free: 62.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.3498, allocations: 29.41 kB / 484.1 MB, free: 62.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3499, allocations: 74.03 kB / 484.2 MB, free: 62.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.35, allocations: 35.97 kB / 484.2 MB, free: 62.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001325/0.3513, allocations: 0.9588 MB / 485.2 MB, free: 62.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 485.2 MB, free: 62.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002837/0.3541, allocations: 0.8129 MB / 486 MB, free: 61.81 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.0003248/0.3545, allocations: 154.7 kB / 486.1 MB, free: 61.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002886/0.3574, allocations: 1.521 MB / 487.7 MB, free: 61.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.3574, allocations: 1.344 kB / 487.7 MB, free: 61.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.3578, allocations: 288 kB / 487.9 MB, free: 61.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.3591, allocations: 239.4 kB / 488.2 MB, free: 60.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008255/0.3673, allocations: 5.091 MB / 493.3 MB, free: 58.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/0.3694, allocations: 1.732 MB / 495 MB, free: 57.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001812/0.3712, allocations: 0.8491 MB / 495.8 MB, free: 57.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.3715, allocations: 122.9 kB / 496 MB, free: 57.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/0.3715, allocations: 0 / 496 MB, free: 57.51 MB / 410.7 MB Notification: Performance of Templates: time 0.02771/0.3992, allocations: 12.64 MB / 0.4967 GB, free: 55.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.741334180929698]