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.001743/0.001743, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.00235/0.00235, allocations: 161.6 kB / 24.27 MB, free: 172 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.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3519/0.3519, allocations: 32.79 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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.232e-06/1.232e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.529e-05, allocations: 6.312 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01378/0.01381, allocations: 8.934 MB / 384.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008086/0.0219, allocations: 2.931 MB / 387.1 MB, free: 9.078 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.02337, allocations: 59.81 kB / 387.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005859/0.02923, allocations: 2.714 MB / 389.9 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.03261, allocations: 1.248 MB / 391.1 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.03364, allocations: 383.1 kB / 391.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003888/0.03753, allocations: 2.59 MB / 394.1 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003356/0.04088, allocations: 2.308 MB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.04311, allocations: 1.555 MB / 398 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.0452, allocations: 1.329 MB / 399.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004228/0.04562, allocations: 252 kB / 399.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.04694, allocations: 0.702 MB / 400.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.04849, allocations: 1.422 MB / 401.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.0497, allocations: 0.8722 MB / 402.5 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006671/0.05637, allocations: 5.093 MB / 407.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.05638, allocations: 0 / 407.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05638, allocations: 0 / 407.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001358/0.05652, allocations: 0 / 407.6 MB, free: 4.477 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.006708/0.06322, allocations: 3.239 MB / 410.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.06326, allocations: 12.03 kB / 410.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006114/0.06938, allocations: 2.008 MB / 412.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.0726, allocations: 1.458 MB / 414.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.07279, allocations: 184.9 kB / 414.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004785/0.07327, allocations: 224.3 kB / 414.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.08663, allocations: 7.13 MB / 421.9 MB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.973e-05/0.08669, allocations: 11.88 kB / 421.9 MB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.08699, allocations: 107.9 kB / 422 MB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002493/0.08948, allocations: 1.447 MB / 423.4 MB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.102, allocations: 5.941 MB / 429.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2108/0.3128, allocations: 20.36 MB / 449.7 MB, free: 88.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/0.3171, allocations: 1.764 MB / 451.5 MB, free: 88.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009504/0.318, allocations: 0.7056 MB / 452.2 MB, free: 88.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006319/0.3244, allocations: 3.318 MB / 455.5 MB, free: 87.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3244, allocations: 38.38 kB / 455.6 MB, free: 87.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.767e-06/0.3244, allocations: 3.438 kB / 455.6 MB, free: 87.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.005854/0.3302, allocations: 2.426 MB / 458 MB, free: 87.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.3303, allocations: 63.28 kB / 458 MB, free: 87.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.3324, allocations: 2.01 MB / 460.1 MB, free: 86.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.3325, allocations: 41.95 kB / 460.1 MB, free: 86.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008296/0.3333, allocations: 2.105 MB / 462.2 MB, free: 84.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.3335, allocations: 356.4 kB / 462.6 MB, free: 84.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/0.3341, allocations: 0.641 MB / 463.2 MB, free: 84.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.3342, allocations: 356.3 kB / 463.5 MB, free: 83.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3353, allocations: 0.9336 MB / 464.5 MB, free: 83.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.337, allocations: 2.87 MB / 467.3 MB, free: 80.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.3404, allocations: 4.153 MB / 471.5 MB, free: 77.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.367e-05/0.3405, allocations: 22.47 kB / 471.5 MB, free: 77.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005134/0.3456, allocations: 3.863 MB / 475.4 MB, free: 75.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.3456, allocations: 33.5 kB / 475.4 MB, free: 75.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.253e-05/0.3457, allocations: 67.44 kB / 475.5 MB, free: 75.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/0.3458, allocations: 91.31 kB / 475.6 MB, free: 75.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.3476, allocations: 0.6896 MB / 476.3 MB, free: 75.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.684e-05/0.3477, allocations: 130.6 kB / 476.4 MB, free: 75.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.3496, allocations: 436.5 kB / 476.8 MB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/0.3498, allocations: 195.3 kB / 477 MB, free: 75.52 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.001918/0.3517, allocations: 1.509 MB / 478.5 MB, free: 74.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.352, allocations: 183.2 kB / 478.7 MB, free: 74.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.3523, allocations: 201.8 kB / 478.9 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.3523, allocations: 10.06 kB / 478.9 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.3523, allocations: 1.344 kB / 478.9 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3523, allocations: 3.328 kB / 478.9 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006085/0.3584, allocations: 3.793 MB / 482.7 MB, free: 73.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.3584, allocations: 8.656 kB / 482.7 MB, free: 73.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.3589, allocations: 115.5 kB / 482.8 MB, free: 73.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.3589, allocations: 10.38 kB / 482.8 MB, free: 73.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.3589, allocations: 31.88 kB / 482.9 MB, free: 73.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.3589, allocations: 13.88 kB / 482.9 MB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.3589, allocations: 13.25 kB / 482.9 MB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.3605, allocations: 1.39 MB / 484.3 MB, free: 72.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.3608, allocations: 161.4 kB / 484.4 MB, free: 72.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.3609, allocations: 29.88 kB / 484.5 MB, free: 72.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.3614, allocations: 25.92 kB / 484.5 MB, free: 72.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3615, allocations: 74.77 kB / 484.6 MB, free: 72.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.3615, allocations: 31.69 kB / 484.6 MB, free: 72.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001428/0.363, allocations: 1.158 MB / 485.8 MB, free: 71.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.363, allocations: 0 / 485.8 MB, free: 71.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00281/0.3658, allocations: 0.8128 MB / 486.6 MB, free: 71.42 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.0002867/0.3661, allocations: 152.2 kB / 486.7 MB, free: 71.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002819/0.3689, allocations: 2.08 MB / 488.8 MB, free: 70.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.3689, allocations: 0 / 488.8 MB, free: 70.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.3694, allocations: 482.8 kB / 489.3 MB, free: 70.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3705, allocations: 220.4 kB / 489.5 MB, free: 70.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/0.3786, allocations: 5.842 MB / 495.3 MB, free: 67.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/0.3806, allocations: 1.946 MB / 497.3 MB, free: 67.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001795/0.3824, allocations: 0.9995 MB / 498.3 MB, free: 66.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.3826, allocations: 119 kB / 498.4 MB, free: 66.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3826, allocations: 0 / 498.4 MB, free: 66.92 MB / 410.7 MB Notification: Performance of Templates: time 0.02409/0.4067, allocations: 12.79 MB / 0.4992 GB, free: 58.91 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] 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.53342969994992]