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.00102/0.00102, allocations: 88.73 kB / 21.5 MB, free: 2.98 MB / 18.57 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.004359/0.004359, allocations: 166.2 kB / 24.91 MB, free: 8.758 MB / 18.57 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.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.43 MB / 186.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.2655/0.2655, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.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.092e-06/1.092e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.241e-05, allocations: 6.969 kB / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008707/0.008729, allocations: 9.607 MB / 335.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005759/0.01449, allocations: 3.125 MB / 338.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.01574, allocations: 63.81 kB / 338.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003213/0.01895, allocations: 2.741 MB / 341.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.02135, allocations: 1.24 MB / 342.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.02208, allocations: 391.1 kB / 343.1 MB, free: 5.898 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002905/0.02498, allocations: 2.419 MB / 345.5 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.02782, allocations: 2.379 MB / 347.9 MB, free: 1.043 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.02979, allocations: 1.555 MB / 349.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.03157, allocations: 1.313 MB / 350.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004902/0.03206, allocations: 252 kB / 351 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.03312, allocations: 0.7177 MB / 351.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.03416, allocations: 1.43 MB / 353.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.0353, allocations: 0.8801 MB / 354 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.03887, allocations: 3.161 MB / 357.2 MB, free: 7.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.03888, allocations: 0 / 357.2 MB, free: 7.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.03888, allocations: 0 / 357.2 MB, free: 7.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001546/0.03904, allocations: 0 / 357.2 MB, free: 7.715 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.003916/0.04295, allocations: 3.078 MB / 360.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.043, allocations: 12.03 kB / 360.3 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.04501, allocations: 0.8046 MB / 361.1 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.04688, allocations: 1.186 MB / 362.3 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.697e-05/0.04698, allocations: 176.9 kB / 362.5 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.04722, allocations: 236.2 kB / 362.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.05142, allocations: 3.244 MB / 365.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/0.05146, allocations: 11.88 kB / 365.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.05163, allocations: 111.9 kB / 366 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00111/0.05274, allocations: 1.299 MB / 367.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003357/0.0561, allocations: 1.69 MB / 369 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.07162, allocations: 16.36 MB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.07363, allocations: 0.9818 MB / 386.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.07387, allocations: 164.6 kB / 386.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003142/0.07701, allocations: 2.233 MB / 388.8 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.07704, allocations: 43.2 kB / 388.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/0.07705, allocations: 0 / 388.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.002882/0.07993, allocations: 1.276 MB / 390.1 MB, free: 5.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.07996, allocations: 60.06 kB / 390.2 MB, free: 5.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.08142, allocations: 1.478 MB / 391.6 MB, free: 4.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.08146, allocations: 41.62 kB / 391.7 MB, free: 4.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008082/0.08227, allocations: 2.029 MB / 393.7 MB, free: 2.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.08245, allocations: 353.2 kB / 394 MB, free: 1.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004545/0.08291, allocations: 0.6041 MB / 394.6 MB, free: 1.145 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.08301, allocations: 361.8 kB / 395 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.08336, allocations: 326.7 kB / 395.3 MB, free: 472 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.08478, allocations: 2.177 MB / 397.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.08679, allocations: 2.869 MB / 400.4 MB, free: 9.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-05/0.08682, allocations: 20 kB / 400.4 MB, free: 9.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002196/0.08902, allocations: 2.038 MB / 402.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.08905, allocations: 37.88 kB / 402.5 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.126e-05/0.08911, allocations: 72.78 kB / 402.5 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-05/0.08917, allocations: 92 kB / 402.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.0907, allocations: 0.7096 MB / 403.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.867e-05/0.09077, allocations: 131.5 kB / 403.5 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.0919, allocations: 420.8 kB / 403.9 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.09207, allocations: 172 kB / 404 MB, free: 5.809 MB / 378.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.0009544/0.09302, allocations: 382.9 kB / 404.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.09316, allocations: 95.89 kB / 404.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.09333, allocations: 176.9 kB / 404.7 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.09334, allocations: 12 kB / 404.7 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.09335, allocations: 4 kB / 404.7 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.09336, allocations: 3.984 kB / 404.7 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/0.09652, allocations: 2.224 MB / 406.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.09653, allocations: 12 kB / 406.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.09679, allocations: 107.8 kB / 407 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.0968, allocations: 12 kB / 407.1 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.09684, allocations: 23.98 kB / 407.1 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.09685, allocations: 11.94 kB / 407.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.09685, allocations: 15.94 kB / 407.1 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.09754, allocations: 0.7173 MB / 407.8 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.09776, allocations: 154.7 kB / 408 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.09786, allocations: 20 kB / 408 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.09812, allocations: 19.98 kB / 408 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.0982, allocations: 71.66 kB / 408.1 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.09824, allocations: 28 kB / 408.1 MB, free: 1.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005452/0.09878, allocations: 0.5704 MB / 408.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.09878, allocations: 0 / 408.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002164/0.1009, allocations: 0.8133 MB / 409.5 MB, free: 104 kB / 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.0003086/0.1013, allocations: 128.1 kB / 409.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.1031, allocations: 1.171 MB / 410.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-05/0.1031, allocations: 51.94 kB / 410.8 MB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.1033, allocations: 185.4 kB / 411 MB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.1042, allocations: 213.5 kB / 411.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.1113, allocations: 5.143 MB / 416.4 MB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.1124, allocations: 0.8642 MB / 417.2 MB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007031/0.1131, allocations: 251.5 kB / 417.5 MB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.1134, allocations: 287.3 kB / 417.8 MB, free: 7.637 MB / 394.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1134, allocations: 11.88 kB / 417.8 MB, free: 7.625 MB / 394.7 MB Notification: Performance of Templates: time 0.02668/0.1401, allocations: 13.62 MB / 431.4 MB, free: 10.21 MB / 410.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 -s gbode -gbm=radauIIA3 -emit_protected -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.2900232230313122]