Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002483/0.002483, allocations: 91.61 kB / 20.95 MB, free: 3.465 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.002678/0.002678, allocations: 165.6 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.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4296/0.4296, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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 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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.32e-05, allocations: 6.25 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01399/0.01402, allocations: 9.741 MB / 385 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007172/0.02119, allocations: 3.006 MB / 388 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.02228, allocations: 59.81 kB / 388.1 MB, free: 8.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00562/0.0279, allocations: 2.796 MB / 390.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.03129, allocations: 1.241 MB / 392.1 MB, free: 4.066 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.03239, allocations: 387.1 kB / 392.5 MB, free: 3.688 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003927/0.03632, allocations: 2.582 MB / 395.1 MB, free: 1.098 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.03952, allocations: 2.316 MB / 397.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.0418, allocations: 1.559 MB / 398.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.04423, allocations: 1.376 MB / 400.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004685/0.0447, allocations: 252 kB / 400.6 MB, free: 11.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.04609, allocations: 0.6981 MB / 401.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.04762, allocations: 1.426 MB / 402.7 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.04888, allocations: 0.8839 MB / 403.6 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006661/0.05554, allocations: 5.093 MB / 408.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.05555, allocations: 7.938 kB / 408.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.05555, allocations: 0 / 408.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001268/0.05568, allocations: 0 / 408.7 MB, free: 3.426 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.007815/0.06349, allocations: 3.879 MB / 412.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.06354, allocations: 8.031 kB / 412.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006377/0.06992, allocations: 1.961 MB / 414.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/0.0739, allocations: 1.375 MB / 415.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.07408, allocations: 181 kB / 416.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005398/0.07462, allocations: 228.3 kB / 416.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009136/0.08375, allocations: 4.13 MB / 420.4 MB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-05/0.08381, allocations: 11.88 kB / 420.4 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.08411, allocations: 107.9 kB / 420.5 MB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002582/0.08669, allocations: 1.443 MB / 422 MB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007659/0.09435, allocations: 2.276 MB / 424.2 MB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.205/0.2994, allocations: 26.9 MB / 451.1 MB, free: 82.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003337/0.3027, allocations: 1.027 MB / 452.2 MB, free: 82.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.3033, allocations: 283.9 kB / 452.5 MB, free: 82.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005856/0.3091, allocations: 2.841 MB / 455.3 MB, free: 81.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3091, allocations: 41.02 kB / 455.3 MB, free: 81.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.747e-06/0.3091, allocations: 7.188 kB / 455.3 MB, free: 81.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.004915/0.314, allocations: 1.541 MB / 456.9 MB, free: 81.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.3141, allocations: 58.22 kB / 456.9 MB, free: 81.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.3166, allocations: 2.342 MB / 459.3 MB, free: 80.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.3166, allocations: 36.58 kB / 459.3 MB, free: 80.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.3176, allocations: 2.316 MB / 461.6 MB, free: 79.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.3179, allocations: 395.7 kB / 462 MB, free: 79.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000874/0.3188, allocations: 0.8609 MB / 462.9 MB, free: 78.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3189, allocations: 0.545 MB / 463.4 MB, free: 78.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.3195, allocations: 342.1 kB / 463.8 MB, free: 78.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.3213, allocations: 3.302 MB / 467.1 MB, free: 74.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.3241, allocations: 3.997 MB / 471.1 MB, free: 69.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.454e-05/0.3241, allocations: 22.25 kB / 471.1 MB, free: 69.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003886/0.328, allocations: 2.67 MB / 473.8 MB, free: 68.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.3281, allocations: 35.25 kB / 473.8 MB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.087e-05/0.3281, allocations: 66.19 kB / 473.8 MB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.079e-05/0.3282, allocations: 90.84 kB / 473.9 MB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.33, allocations: 0.6873 MB / 474.6 MB, free: 68.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.411e-05/0.3301, allocations: 128.5 kB / 474.8 MB, free: 68.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.332, allocations: 431.4 kB / 475.2 MB, free: 68.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.3321, allocations: 200.5 kB / 475.4 MB, free: 68.38 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.001039/0.3332, allocations: 494.5 kB / 475.9 MB, free: 68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.3334, allocations: 186.7 kB / 476 MB, free: 67.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.3337, allocations: 170 kB / 476.2 MB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.3337, allocations: 9.094 kB / 476.2 MB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.3337, allocations: 0 / 476.2 MB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3337, allocations: 6.406 kB / 476.2 MB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006733/0.3405, allocations: 4.383 MB / 480.6 MB, free: 65.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.3405, allocations: 6.625 kB / 480.6 MB, free: 65.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.3409, allocations: 116.9 kB / 480.7 MB, free: 65.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.3409, allocations: 19.41 kB / 480.7 MB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.3409, allocations: 19.75 kB / 480.8 MB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.341, allocations: 19.38 kB / 480.8 MB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.341, allocations: 10 kB / 480.8 MB, free: 65.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.342, allocations: 1.087 MB / 481.9 MB, free: 64.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.3423, allocations: 167.1 kB / 482 MB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.3424, allocations: 27.73 kB / 482.1 MB, free: 64.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.3429, allocations: 30.05 kB / 482.1 MB, free: 64.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.343, allocations: 68.62 kB / 482.2 MB, free: 64.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.3431, allocations: 39.3 kB / 482.2 MB, free: 64.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.3443, allocations: 0.9662 MB / 483.2 MB, free: 64.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3443, allocations: 0 / 483.2 MB, free: 64.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002792/0.3471, allocations: 0.8058 MB / 484 MB, free: 63.94 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.0002997/0.3474, allocations: 153.3 kB / 484.1 MB, free: 63.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.35, allocations: 1.523 MB / 485.6 MB, free: 63.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.35, allocations: 1.062 kB / 485.6 MB, free: 63.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.3505, allocations: 285.9 kB / 485.9 MB, free: 63.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.3516, allocations: 232.3 kB / 486.1 MB, free: 63.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007749/0.3593, allocations: 5.091 MB / 491.2 MB, free: 60.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/0.3615, allocations: 1.736 MB / 493 MB, free: 59.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001977/0.3635, allocations: 0.8573 MB / 493.8 MB, free: 59.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.3638, allocations: 123.3 kB / 494 MB, free: 59.64 MB / 410.7 MB Notification: Performance of SimCode: time 3.206e-06/0.3638, allocations: 0 / 494 MB, free: 59.64 MB / 410.7 MB Notification: Performance of Templates: time 0.02547/0.3892, allocations: 12.63 MB / 0.4947 GB, free: 57.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.719412453006953]