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.001052/0.001052, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.00255, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001046/0.001046, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002367, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08898/1.113, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.29/0.29, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02317/0.3132, allocations: 13.09 MB / 291.3 MB, free: 7.379 MB / 282.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.188e-05, allocations: 3.297 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.007393/0.007415, allocations: 9.674 MB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00413/0.01155, allocations: 3.146 MB / 305.4 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.01203, allocations: 59.81 kB / 305.5 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003214/0.01525, allocations: 2.648 MB / 308.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.01687, allocations: 1.237 MB / 309.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.01754, allocations: 359.1 kB / 309.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.01951, allocations: 2.442 MB / 312.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.02149, allocations: 2.29 MB / 314.5 MB, free: 344 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.02265, allocations: 1.613 MB / 316.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.02366, allocations: 1.301 MB / 317.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.02387, allocations: 252 kB / 317.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007432/0.02461, allocations: 0.7138 MB / 318.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006746/0.02528, allocations: 1.274 MB / 319.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007906/0.02607, allocations: 0.7244 MB / 320.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.02799, allocations: 2.97 MB / 323.3 MB, free: 7.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.028, allocations: 0 / 323.3 MB, free: 7.469 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.028, allocations: 0 / 323.3 MB, free: 7.469 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.098e-05/0.02803, allocations: 4 kB / 323.3 MB, free: 7.465 MB / 314.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.003133/0.03117, allocations: 3.727 MB / 327 MB, free: 3.672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.03122, allocations: 8.625 kB / 327 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.03337, allocations: 0.8241 MB / 327.9 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.03466, allocations: 1.182 MB / 329.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-05/0.03475, allocations: 176.9 kB / 329.2 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.035, allocations: 236.3 kB / 329.5 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.03811, allocations: 3.244 MB / 332.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.03815, allocations: 11.88 kB / 332.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.03831, allocations: 107.9 kB / 332.8 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/0.03933, allocations: 1.299 MB / 334.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.04182, allocations: 1.69 MB / 335.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.05329, allocations: 16.36 MB / 352.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.05496, allocations: 0.9701 MB / 353.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.05517, allocations: 170.4 kB / 353.3 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002383/0.05755, allocations: 2.182 MB / 355.5 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.05757, allocations: 35.22 kB / 355.5 MB, free: 6.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 2.925e-06/0.05758, allocations: 8 kB / 355.5 MB, free: 6.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.002629/0.06021, allocations: 1.226 MB / 356.8 MB, free: 4.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.06024, allocations: 60.06 kB / 356.8 MB, free: 4.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/0.06109, allocations: 1.489 MB / 358.3 MB, free: 3.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.06113, allocations: 33.7 kB / 358.3 MB, free: 3.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007072/0.06183, allocations: 2.037 MB / 360.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.06199, allocations: 349.2 kB / 360.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.06239, allocations: 0.6119 MB / 361.3 MB, free: 320 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.06248, allocations: 349.9 kB / 361.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.0628, allocations: 330.6 kB / 362 MB, free: 15.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.06403, allocations: 2.173 MB / 364.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.06563, allocations: 2.862 MB / 367 MB, free: 8.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/0.06564, allocations: 20 kB / 367 MB, free: 8.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.001768/0.06741, allocations: 2.054 MB / 369.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.06745, allocations: 36.25 kB / 369.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.566e-05/0.06749, allocations: 71.94 kB / 369.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-05/0.06755, allocations: 92 kB / 369.3 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.06867, allocations: 0.7526 MB / 370 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.777e-05/0.06874, allocations: 135.5 kB / 370.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000821/0.06956, allocations: 424.8 kB / 370.6 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.0697, allocations: 168 kB / 370.8 MB, free: 4.93 MB / 362.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.0004682/0.07017, allocations: 379 kB / 371.1 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.07027, allocations: 107.9 kB / 371.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.07043, allocations: 176.9 kB / 371.4 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.07044, allocations: 8 kB / 371.4 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.07044, allocations: 8 kB / 371.4 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.07045, allocations: 3.984 kB / 371.4 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.07265, allocations: 2.208 MB / 373.6 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.07265, allocations: 8 kB / 373.6 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.07287, allocations: 119.8 kB / 373.8 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.07299, allocations: 166.7 kB / 373.9 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.073, allocations: 12 kB / 373.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.07303, allocations: 20.61 kB / 374 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.07304, allocations: 19.94 kB / 374 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.07305, allocations: 8 kB / 374 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.07351, allocations: 0.7093 MB / 374.7 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/0.07359, allocations: 27.97 kB / 374.7 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.0738, allocations: 23.94 kB / 374.7 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.07386, allocations: 71.67 kB / 374.8 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.07389, allocations: 31.98 kB / 374.8 MB, free: 0.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003857/0.07427, allocations: 0.5665 MB / 375.4 MB, free: 20 kB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07427, allocations: 0 / 375.4 MB, free: 20 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001313/0.07559, allocations: 0.8056 MB / 376.2 MB, free: 15.21 MB / 378.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.0001996/0.07579, allocations: 132 kB / 376.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009351/0.07672, allocations: 1.168 MB / 377.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.568e-05/0.07681, allocations: 63.86 kB / 377.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.07699, allocations: 186 kB / 377.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.07821, allocations: 336 kB / 378.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.0835, allocations: 5.282 MB / 383.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.08416, allocations: 0.8642 MB / 384.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005074/0.08467, allocations: 251.5 kB / 384.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.08499, allocations: 291.3 kB / 384.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.08499, allocations: 0 / 384.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of Templates: time 0.02114/0.1061, allocations: 13.79 MB / 398.5 MB, free: 8.867 MB / 394.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 -ignoreHideResult -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","",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.148835653439164]