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.001526/0.001526, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001379/0.001379, allocations: 165.6 kB / 24.91 MB, free: 8.77 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 0.9874/0.9874, allocations: 177 MB / 205.2 MB, free: 5.449 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.2547/0.2547, allocations: 34.86 MB / 296.6 MB, free: 448 kB / 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.503e-06/1.503e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.37e-05, allocations: 3.078 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.006937/0.006951, allocations: 9.567 MB / 335.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.01114, allocations: 3.128 MB / 338.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/0.01161, allocations: 59.81 kB / 338.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.01402, allocations: 2.784 MB / 341.4 MB, free: 7.551 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.01545, allocations: 1.26 MB / 342.7 MB, free: 6.285 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.0159, allocations: 391 kB / 343.1 MB, free: 5.902 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001688/0.01759, allocations: 2.428 MB / 345.5 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.01905, allocations: 2.364 MB / 347.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000959/0.02001, allocations: 1.559 MB / 349.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009486/0.02096, allocations: 1.317 MB / 350.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.02116, allocations: 248 kB / 351 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006252/0.02178, allocations: 0.702 MB / 351.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007239/0.02251, allocations: 1.426 MB / 353.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005623/0.02307, allocations: 0.8839 MB / 354 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.02504, allocations: 3.16 MB / 357.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.02504, allocations: 0 / 357.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.02504, allocations: 0 / 357.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.02506, allocations: 4 kB / 357.2 MB, free: 7.73 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.002474/0.02754, allocations: 3.074 MB / 360.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.02757, allocations: 12.03 kB / 360.2 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.02928, allocations: 0.8202 MB / 361.1 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.03046, allocations: 1.182 MB / 362.3 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.611e-05/0.03055, allocations: 176.9 kB / 362.4 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.03078, allocations: 236.3 kB / 362.7 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.0338, allocations: 3.237 MB / 365.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.03384, allocations: 15.81 kB / 365.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.03401, allocations: 111.9 kB / 366 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001055/0.03507, allocations: 1.295 MB / 367.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.03734, allocations: 1.688 MB / 369 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.04947, allocations: 16.35 MB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/0.05217, allocations: 0.9857 MB / 386.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.0525, allocations: 168.6 kB / 386.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003837/0.05634, allocations: 2.229 MB / 388.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.05637, allocations: 43.22 kB / 388.8 MB, free: 7.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 3.767e-06/0.05637, allocations: 7.938 kB / 388.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.003954/0.06033, allocations: 1.276 MB / 390.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.06037, allocations: 60.06 kB / 390.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.06176, allocations: 1.478 MB / 391.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.06181, allocations: 37.7 kB / 391.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.06287, allocations: 2.037 MB / 393.7 MB, free: 2.117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.0631, allocations: 349.2 kB / 394 MB, free: 1.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/0.06379, allocations: 0.6119 MB / 394.6 MB, free: 1.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.0639, allocations: 353.8 kB / 395 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.06445, allocations: 326.6 kB / 395.3 MB, free: 488 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.06601, allocations: 2.173 MB / 397.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/0.06844, allocations: 2.858 MB / 400.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/0.06846, allocations: 20 kB / 400.3 MB, free: 9.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.00279/0.07125, allocations: 2.044 MB / 402.4 MB, free: 7.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.0713, allocations: 40.25 kB / 402.4 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.881e-05/0.07137, allocations: 71.94 kB / 402.5 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.639e-05/0.07146, allocations: 92 kB / 402.6 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.07303, allocations: 0.6706 MB / 403.3 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.667e-05/0.07313, allocations: 139.4 kB / 403.4 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.07459, allocations: 420.8 kB / 403.8 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.0748, allocations: 172 kB / 404 MB, free: 5.859 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.0007915/0.07559, allocations: 383 kB / 404.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.07576, allocations: 99.89 kB / 404.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.07597, allocations: 173 kB / 404.6 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.07599, allocations: 12 kB / 404.6 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.07599, allocations: 0 / 404.6 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.076, allocations: 3.984 kB / 404.6 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.07948, allocations: 2.223 MB / 406.8 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.07949, allocations: 8 kB / 406.9 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.0798, allocations: 107.8 kB / 407 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.07981, allocations: 12 kB / 407 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.07985, allocations: 23.98 kB / 407 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.07985, allocations: 8 kB / 407 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.07986, allocations: 16.47 kB / 407 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.08064, allocations: 0.721 MB / 407.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.0808, allocations: 150.7 kB / 407.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.08093, allocations: 23.98 kB / 407.9 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.08129, allocations: 19.98 kB / 407.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.08137, allocations: 75.67 kB / 408 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.08141, allocations: 31.98 kB / 408 MB, free: 1.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004115/0.08182, allocations: 0.5704 MB / 408.6 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08182, allocations: 0 / 408.6 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001409/0.08323, allocations: 0.8132 MB / 409.4 MB, free: 152 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.0001967/0.08342, allocations: 132.1 kB / 409.5 MB, free: 8 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009226/0.08435, allocations: 1.162 MB / 410.7 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.069e-05/0.08442, allocations: 55.94 kB / 410.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.08458, allocations: 180.7 kB / 410.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000782/0.08536, allocations: 225.3 kB / 411.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.08995, allocations: 5.147 MB / 416.3 MB, free: 9.094 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/0.09064, allocations: 0.8603 MB / 417.2 MB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005136/0.09116, allocations: 251.5 kB / 417.4 MB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.09148, allocations: 291.3 kB / 417.7 MB, free: 7.676 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.09148, allocations: 0 / 417.7 MB, free: 7.676 MB / 394.7 MB Notification: Performance of Templates: time 0.02195/0.1134, allocations: 13.62 MB / 431.3 MB, free: 10.27 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 -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.261155627667904]