Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001757/0.002888, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002977/0.004161, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.013/1.013, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09752/1.111, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2739/0.2739, allocations: 34.89 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02454/0.2984, allocations: 13.23 MB / 292.8 MB, free: 6.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.355e-05, allocations: 4.656 kB / 294.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.007306/0.00732, allocations: 9.673 MB / 303.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005128/0.01245, allocations: 3.146 MB / 306.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008086/0.01326, allocations: 59.81 kB / 307 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.01561, allocations: 2.648 MB / 309.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.01742, allocations: 1.24 MB / 310.9 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.01797, allocations: 363.1 kB / 311.2 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002354/0.02033, allocations: 2.44 MB / 313.6 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.02191, allocations: 2.29 MB / 315.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.02303, allocations: 1.613 MB / 317.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009861/0.02402, allocations: 1.298 MB / 318.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.02423, allocations: 255.8 kB / 319.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007779/0.02501, allocations: 0.7061 MB / 319.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009535/0.02596, allocations: 1.282 MB / 321.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005051/0.02647, allocations: 0.7244 MB / 321.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.02841, allocations: 2.962 MB / 324.8 MB, free: 6.281 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.02842, allocations: 0 / 324.8 MB, free: 6.281 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.02842, allocations: 0 / 324.8 MB, free: 6.281 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.02845, allocations: 0 / 324.8 MB, free: 6.281 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.003065/0.03151, allocations: 3.731 MB / 328.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.03154, allocations: 12.03 kB / 328.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.03324, allocations: 0.8163 MB / 329.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.03433, allocations: 1.186 MB / 330.5 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.203e-05/0.03441, allocations: 180.9 kB / 330.7 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.03463, allocations: 228.3 kB / 330.9 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.03777, allocations: 3.241 MB / 334.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.0378, allocations: 15.81 kB / 334.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.03798, allocations: 107.9 kB / 334.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001002/0.03898, allocations: 1.24 MB / 335.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.04127, allocations: 1.687 MB / 337.2 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.05288, allocations: 16.38 MB / 353.6 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.05462, allocations: 0.9648 MB / 354.5 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.05483, allocations: 168.6 kB / 354.7 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/0.05746, allocations: 2.198 MB / 356.9 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.05748, allocations: 39.22 kB / 356.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 2.114e-06/0.05748, allocations: 0 / 356.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.002445/0.05993, allocations: 1.237 MB / 358.2 MB, free: 3.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.05996, allocations: 60.06 kB / 358.2 MB, free: 3.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/0.06084, allocations: 1.486 MB / 359.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.06088, allocations: 33.7 kB / 359.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.06158, allocations: 2.037 MB / 361.8 MB, free: 140 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.06174, allocations: 353.6 kB / 362.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/0.06216, allocations: 0.6198 MB / 362.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.06238, allocations: 349.9 kB / 363.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.06262, allocations: 234.1 kB / 363.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.06364, allocations: 2.225 MB / 365.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/0.06568, allocations: 3.15 MB / 368.7 MB, free: 7.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.279e-05/0.06571, allocations: 24 kB / 368.7 MB, free: 7.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.001782/0.06749, allocations: 2.08 MB / 370.8 MB, free: 5.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.06753, allocations: 39.94 kB / 370.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-05/0.06758, allocations: 76 kB / 370.9 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.451e-05/0.06763, allocations: 92 kB / 371 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.06889, allocations: 0.776 MB / 371.8 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.899e-05/0.06895, allocations: 139.4 kB / 371.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/0.06983, allocations: 424.8 kB / 372.3 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.06997, allocations: 168.3 kB / 372.5 MB, free: 3.406 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * 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 (392): * Single equations (assignments): 389 * 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 prepare postOptimizeDAE: time 0.0006288/0.07059, allocations: 394.9 kB / 372.9 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.07069, allocations: 99.89 kB / 373 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.07085, allocations: 176.9 kB / 373.2 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.07086, allocations: 8 kB / 373.2 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.07086, allocations: 0 / 373.2 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.07087, allocations: 3.984 kB / 373.2 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.07317, allocations: 2.208 MB / 375.4 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.07319, allocations: 19.98 kB / 375.4 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.07357, allocations: 119.8 kB / 375.5 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.07368, allocations: 170.7 kB / 375.7 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.07369, allocations: 12 kB / 375.7 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.07372, allocations: 23.94 kB / 375.7 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.07373, allocations: 8 kB / 375.7 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.07374, allocations: 23.86 kB / 375.8 MB, free: 16 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.07423, allocations: 0.7211 MB / 376.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.0743, allocations: 20 kB / 376.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.07451, allocations: 16 kB / 376.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.07458, allocations: 71.66 kB / 376.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.07462, allocations: 28 kB / 376.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004007/0.07502, allocations: 0.5704 MB / 377.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07502, allocations: 0 / 377.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001482/0.0765, allocations: 0.8133 MB / 378 MB, free: 13.66 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.0002244/0.07672, allocations: 136.1 kB / 378.1 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.07773, allocations: 1.243 MB / 379.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.873e-05/0.0778, allocations: 55.94 kB / 379.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.07804, allocations: 239.9 kB / 379.7 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.07907, allocations: 1.207 MB / 380.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/0.08452, allocations: 5.27 MB / 386.1 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/0.08528, allocations: 0.8565 MB / 387 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005743/0.08585, allocations: 250.8 kB / 387.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.08618, allocations: 275.2 kB / 387.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.08619, allocations: 0 / 387.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of Templates: time 0.02125/0.1074, allocations: 10.97 MB / 398.5 MB, free: 8.875 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.051451001316309]