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.0007628/0.0007628, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001827, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007562/0.0007562, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008828/0.001639, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9476/0.9476, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1124/1.06, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.2799/0.2799, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02843/0.3083, allocations: 13.23 MB / 292.6 MB, free: 6.484 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.523e-06/1.523e-06, allocations: 0 / 293.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.001e-05, allocations: 6.312 kB / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.007979/0.007999, allocations: 9.668 MB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006096/0.0141, allocations: 3.139 MB / 306.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.01567, allocations: 59.81 kB / 306.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.01849, allocations: 2.656 MB / 309.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.02091, allocations: 1.237 MB / 310.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.02166, allocations: 371.1 kB / 311 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002638/0.0243, allocations: 2.426 MB / 313.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.02631, allocations: 2.298 MB / 315.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.02792, allocations: 1.617 MB / 317.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.02927, allocations: 1.305 MB / 318.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003315/0.0296, allocations: 252 kB / 318.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.03063, allocations: 0.7138 MB / 319.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008468/0.03148, allocations: 1.27 MB / 320.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000792/0.03227, allocations: 0.7244 MB / 321.6 MB, free: 9.352 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.03501, allocations: 2.97 MB / 324.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.424e-05/0.03502, allocations: 0 / 324.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03502, allocations: 0 / 324.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.979e-05/0.03509, allocations: 0 / 324.5 MB, free: 6.371 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.003829/0.03892, allocations: 3.735 MB / 328.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.03895, allocations: 12.03 kB / 328.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.04079, allocations: 0.8046 MB / 329.1 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.04223, allocations: 1.19 MB / 330.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.423e-05/0.04232, allocations: 180.9 kB / 330.5 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/0.04257, allocations: 232.3 kB / 330.7 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003878/0.04645, allocations: 3.233 MB / 333.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.04649, allocations: 11.88 kB / 333.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.04671, allocations: 111.9 kB / 334 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001256/0.04797, allocations: 1.31 MB / 335.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/0.05157, allocations: 1.689 MB / 337 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.06706, allocations: 16.36 MB / 353.4 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.06898, allocations: 0.9608 MB / 354.4 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.06922, allocations: 173.2 kB / 354.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003153/0.07237, allocations: 2.182 MB / 356.7 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.07241, allocations: 39.22 kB / 356.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 5.23e-06/0.07241, allocations: 0 / 356.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.002694/0.07511, allocations: 1.241 MB / 358 MB, free: 3.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.07515, allocations: 60.06 kB / 358.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.07647, allocations: 1.486 MB / 359.5 MB, free: 2.281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.07651, allocations: 37.7 kB / 359.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008756/0.07738, allocations: 2.029 MB / 361.6 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.07758, allocations: 353.2 kB / 362 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004571/0.07803, allocations: 0.6119 MB / 362.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.07814, allocations: 349.8 kB / 362.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.07848, allocations: 330.7 kB / 363.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.07969, allocations: 2.177 MB / 365.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.08161, allocations: 2.85 MB / 368.3 MB, free: 7.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-05/0.08164, allocations: 20 kB / 368.3 MB, free: 7.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002061/0.0837, allocations: 2.047 MB / 370.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.08374, allocations: 39.94 kB / 370.4 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/0.08379, allocations: 72.84 kB / 370.4 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.855e-05/0.08385, allocations: 91.98 kB / 370.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.08508, allocations: 0.7526 MB / 371.3 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.88e-05/0.08515, allocations: 135.5 kB / 371.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.08631, allocations: 420.8 kB / 371.8 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.08647, allocations: 172 kB / 372 MB, free: 3.848 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.0009188/0.08739, allocations: 390.9 kB / 372.4 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.08751, allocations: 99.89 kB / 372.5 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.08769, allocations: 172.9 kB / 372.6 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.0877, allocations: 16 kB / 372.7 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.08771, allocations: 0 / 372.7 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.08771, allocations: 0 / 372.7 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.09116, allocations: 2.22 MB / 374.9 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.09117, allocations: 8 kB / 374.9 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.09142, allocations: 123.8 kB / 375 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.09163, allocations: 158.7 kB / 375.2 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.09164, allocations: 8 kB / 375.2 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.09167, allocations: 24 kB / 375.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.09168, allocations: 15.92 kB / 375.2 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.09169, allocations: 11.94 kB / 375.2 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/0.09231, allocations: 0.7177 MB / 375.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.09242, allocations: 23.94 kB / 376 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.09265, allocations: 19.98 kB / 376 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.09271, allocations: 67.67 kB / 376 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.09276, allocations: 28 kB / 376.1 MB, free: 15.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004971/0.09325, allocations: 0.5704 MB / 376.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.09325, allocations: 4 kB / 376.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002003/0.09526, allocations: 0.8095 MB / 377.5 MB, free: 14.12 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.0002837/0.09554, allocations: 128.1 kB / 377.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.09697, allocations: 1.166 MB / 378.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.786e-05/0.09707, allocations: 68.34 kB / 378.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.09725, allocations: 181 kB / 379 MB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.09798, allocations: 337.2 kB / 379.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007043/0.105, allocations: 5.279 MB / 384.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008103/0.1058, allocations: 0.8603 MB / 385.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000659/0.1065, allocations: 253.5 kB / 385.7 MB, free: 5.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.1069, allocations: 291.3 kB / 386 MB, free: 5.395 MB / 378.7 MB Notification: Performance of SimCode: time 2.314e-06/0.1069, allocations: 0 / 386 MB, free: 5.395 MB / 378.7 MB Notification: Performance of Templates: time 0.0261/0.133, allocations: 13.79 MB / 399.8 MB, free: 7.805 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1544303707778454]