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.001268/0.001268, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001382/0.001382, allocations: 166 kB / 25.61 MB, free: 8.582 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.9777/0.9777, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] 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.1679/0.1679, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.513e-05, allocations: 6.141 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.007025/0.00705, allocations: 9.545 MB / 386.8 MB, free: 16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005069/0.01212, allocations: 2.984 MB / 389.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.01338, allocations: 59.81 kB / 389.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.01585, allocations: 2.757 MB / 392.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.01784, allocations: 1.264 MB / 393.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.01848, allocations: 387 kB / 394.2 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.02066, allocations: 2.58 MB / 396.8 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.02244, allocations: 2.32 MB / 399.1 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.02379, allocations: 1.567 MB / 400.7 MB, free: 2.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.02495, allocations: 1.372 MB / 402.1 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.02522, allocations: 252 kB / 402.3 MB, free: 412 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008312/0.02605, allocations: 0.7059 MB / 403 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008435/0.02689, allocations: 1.418 MB / 404.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009332/0.02782, allocations: 0.8878 MB / 405.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.0307, allocations: 3.164 MB / 408.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.03071, allocations: 3.938 kB / 408.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.03071, allocations: 0 / 408.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001499/0.03086, allocations: 0 / 408.5 MB, free: 10.2 MB / 330.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.004116/0.03498, allocations: 3.543 MB / 412 MB, free: 6.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.03501, allocations: 11.98 kB / 412.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.03726, allocations: 1.072 MB / 413.1 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.0391, allocations: 1.279 MB / 414.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.765e-05/0.03919, allocations: 181 kB / 414.6 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.03943, allocations: 232.3 kB / 414.8 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/0.04353, allocations: 3.422 MB / 418.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.071e-05/0.04358, allocations: 19.81 kB / 418.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.04377, allocations: 107.9 kB / 418.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/0.04489, allocations: 1.299 MB / 419.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/0.04855, allocations: 1.613 MB / 421.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.07183, allocations: 21.59 MB / 442.9 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.07423, allocations: 0.9484 MB / 443.8 MB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.0745, allocations: 216 kB / 444 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003596/0.0781, allocations: 2.536 MB / 446.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.07813, allocations: 42.05 kB / 446.6 MB, free: 2.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.07813, allocations: 0 / 446.6 MB, free: 2.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.003151/0.08128, allocations: 1.429 MB / 448 MB, free: 1.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.08132, allocations: 56.06 kB / 448.1 MB, free: 1.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.08352, allocations: 1.857 MB / 449.9 MB, free: 15.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.08358, allocations: 41.69 kB / 450 MB, free: 15.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.08522, allocations: 2.233 MB / 452.2 MB, free: 13.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.08558, allocations: 373.2 kB / 452.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008258/0.08641, allocations: 0.7245 MB / 453.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.08658, allocations: 0.5316 MB / 453.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.08691, allocations: 246 kB / 454.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.08852, allocations: 3.116 MB / 457.2 MB, free: 6.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004987/0.09351, allocations: 3.762 MB / 460.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.66e-05/0.09358, allocations: 24 kB / 461 MB, free: 1.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003436/0.09701, allocations: 2.442 MB / 463.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.09705, allocations: 43.73 kB / 463.5 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/0.0971, allocations: 68 kB / 463.5 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.092e-05/0.09719, allocations: 88.78 kB / 463.6 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.0983, allocations: 0.6706 MB / 464.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.498e-05/0.09836, allocations: 143.4 kB / 464.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.09952, allocations: 416.8 kB / 464.8 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.0997, allocations: 172 kB / 465 MB, free: 13.68 MB / 394.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 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],cutForceAndTorque.forceColor[1],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[3],cutForceAndTorque.torqueColor[1],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],frame_b.color_x[1],frame_b.color_x[2],frame_b.color_x[3],forceAndTorque.forceColor[1],forceAndTorque.forceColor[2],forceAndTorque.forceColor[3],forceAndTorque.torqueColor[1],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[3],cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueArrow.twoHeadedArrow) * 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.0007683/0.1005, allocations: 422.9 kB / 465.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.1006, allocations: 190.8 kB / 465.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.1008, allocations: 176.9 kB / 465.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.1008, allocations: 8 kB / 465.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1008, allocations: 0 / 465.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1008, allocations: 4 kB / 465.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.1039, allocations: 2.496 MB / 468.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.1039, allocations: 8 kB / 468.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.1041, allocations: 111.8 kB / 468.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.1042, allocations: 8 kB / 468.4 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.1042, allocations: 23.94 kB / 468.4 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/0.1042, allocations: 15.92 kB / 468.4 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.1042, allocations: 8 kB / 468.4 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.1049, allocations: 0.9687 MB / 469.4 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.105, allocations: 166.6 kB / 469.6 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.1051, allocations: 20 kB / 469.6 MB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.1053, allocations: 20 kB / 469.6 MB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.1054, allocations: 67.72 kB / 469.7 MB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.1054, allocations: 28 kB / 469.7 MB, free: 8.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000561/0.106, allocations: 0.7563 MB / 470.5 MB, free: 7.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.106, allocations: 0 / 470.5 MB, free: 7.852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001627/0.1076, allocations: 0.8094 MB / 471.3 MB, free: 7.039 MB / 394.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.0002235/0.1078, allocations: 154.8 kB / 471.4 MB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.109, allocations: 1.267 MB / 472.7 MB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.109, allocations: 0 / 472.7 MB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.1092, allocations: 207.4 kB / 472.9 MB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007039/0.1099, allocations: 239.2 kB / 473.1 MB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.1152, allocations: 5.021 MB / 478.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.1159, allocations: 0.872 MB / 479 MB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005507/0.1165, allocations: 247.5 kB / 479.3 MB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.1168, allocations: 314.1 kB / 479.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1168, allocations: 0 / 479.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of Templates: time 0.02444/0.1413, allocations: 13.89 MB / 493.5 MB, free: 0.8359 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.71398059790954]