Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001434/0.001434, allocations: 109.2 kB / 20.45 MB, free: 1.496 MB / 14.72 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.00161/0.00161, allocations: 224.8 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 207.6 MB / 234.5 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1976/0.1976, allocations: 44.25 MB / 331 MB, free: 9.594 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 72.22 kB / 468.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1123, allocations: 61.04 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01444/0.1267, allocations: 12.69 MB / 0.5298 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007321/0.1341, allocations: 3.4 MB / 0.5331 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.1358, allocations: 67.81 kB / 0.5331 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005023/0.1409, allocations: 2.695 MB / 0.5358 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.1451, allocations: 1.401 MB / 0.5371 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009827/0.146, allocations: 347.4 kB / 0.5375 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2112/0.3572, allocations: 2.869 MB / 0.5403 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002864/0.3601, allocations: 2.456 MB / 0.5427 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.3616, allocations: 1.218 MB / 0.5439 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.3636, allocations: 1.757 MB / 0.5456 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004363/0.3641, allocations: 297 kB / 0.5459 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.3653, allocations: 0.8039 MB / 0.5466 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.3664, allocations: 1.6 MB / 0.5482 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.3677, allocations: 1.839 MB / 0.55 GB, free: 9.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006515/0.3742, allocations: 6.013 MB / 0.5559 GB, free: 7.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3742, allocations: 0 / 0.5559 GB, free: 7.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3742, allocations: 0 / 0.5559 GB, free: 7.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001576/0.3744, allocations: 0 / 0.5559 GB, free: 7.926 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.00611/0.3805, allocations: 3.766 MB / 0.5596 GB, free: 5.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3805, allocations: 9.125 kB / 0.5596 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00498/0.3855, allocations: 1.742 MB / 0.5613 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.3884, allocations: 1.6 MB / 0.5628 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.3885, allocations: 206.8 kB / 0.563 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004985/0.389, allocations: 263.2 kB / 0.5633 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009938/0.3989, allocations: 8.373 MB / 0.5715 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-05/0.399, allocations: 16.47 kB / 0.5715 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.3993, allocations: 116.8 kB / 0.5716 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/0.4016, allocations: 1.768 MB / 0.5733 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.4126, allocations: 7.037 MB / 0.5802 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03274/0.4454, allocations: 25.67 MB / 0.6052 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004762/0.4501, allocations: 1.998 MB / 0.6072 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.4515, allocations: 0.8919 MB / 0.6081 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007235/0.4587, allocations: 3.995 MB / 0.612 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.4587, allocations: 38.94 kB / 0.612 GB, free: 13.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 3.416e-06/0.4587, allocations: 4 kB / 0.612 GB, free: 13.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.006863/0.4656, allocations: 2.733 MB / 0.6147 GB, free: 11.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.4656, allocations: 64.39 kB / 0.6147 GB, free: 11.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/0.4691, allocations: 2.266 MB / 0.617 GB, free: 8.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.4692, allocations: 41.7 kB / 0.617 GB, free: 8.734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.471, allocations: 2.415 MB / 0.6194 GB, free: 6.324 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.4714, allocations: 482.5 kB / 0.6198 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.4724, allocations: 0.7543 MB / 0.6205 GB, free: 5.102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4726, allocations: 305.1 kB / 0.6208 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.4743, allocations: 1.123 MB / 0.6219 GB, free: 3.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.4776, allocations: 3.288 MB / 0.6251 GB, free: 15.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/0.4829, allocations: 4.815 MB / 0.6298 GB, free: 9.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.077e-05/0.483, allocations: 20 kB / 0.6299 GB, free: 9.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006587/0.4896, allocations: 4.342 MB / 0.6341 GB, free: 5.648 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.4896, allocations: 36 kB / 0.6341 GB, free: 5.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.126e-05/0.4897, allocations: 76 kB / 0.6342 GB, free: 5.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/0.4898, allocations: 100 kB / 0.6343 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/0.4921, allocations: 0.8188 MB / 0.6351 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001239/0.4923, allocations: 147.4 kB / 0.6352 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.4944, allocations: 0.4967 MB / 0.6357 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.4947, allocations: 231.2 kB / 0.636 GB, free: 3.754 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 445 * 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.002776/0.4975, allocations: 1.71 MB / 0.6376 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.4978, allocations: 206.6 kB / 0.6378 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.5004, allocations: 1.514 MB / 0.6393 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.5004, allocations: 15.12 kB / 0.6393 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.5004, allocations: 3.938 kB / 0.6393 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5004, allocations: 3.984 kB / 0.6393 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.5126, allocations: 7.359 MB / 0.6465 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.5127, allocations: 12 kB / 0.6465 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.5133, allocations: 195.6 kB / 0.6467 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.141e-05/0.5134, allocations: 16 kB / 0.6467 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/0.5134, allocations: 46.91 kB / 0.6468 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-05/0.5135, allocations: 27.92 kB / 0.6468 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.699e-05/0.5135, allocations: 23.88 kB / 0.6468 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.516, allocations: 2.007 MB / 0.6488 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/0.5165, allocations: 258.1 kB / 0.649 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.5167, allocations: 39.98 kB / 0.6491 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/0.5174, allocations: 47.92 kB / 0.6491 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.5176, allocations: 131.4 kB / 0.6492 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-05/0.5177, allocations: 48 kB / 0.6493 GB, free: 5.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002125/0.5198, allocations: 1.574 MB / 0.6508 GB, free: 4.055 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5198, allocations: 0 / 0.6508 GB, free: 4.055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003085/0.5229, allocations: 0.9417 MB / 0.6517 GB, free: 3.113 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.000326/0.5232, allocations: 170.8 kB / 0.6519 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00385/0.527, allocations: 2.535 MB / 0.6544 GB, free: 432 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.5271, allocations: 4 kB / 0.6544 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009723/0.528, allocations: 0.6679 MB / 0.655 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.5297, allocations: 324.6 kB / 0.6553 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.5421, allocations: 7.448 MB / 0.6626 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/0.5452, allocations: 2.831 MB / 0.6654 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/0.5458, allocations: 195.4 kB / 0.6656 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.5458, allocations: 0 / 0.6656 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of Templates: time 0.06241/0.6082, allocations: 40.17 MB / 0.7048 GB, free: 12.55 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.806549156084657]