Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001856/0.001856, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002251/0.002251, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 46.97 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.89 kB / 0.4966 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3831, allocations: 66.03 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01225/0.3953, allocations: 8.906 MB / 0.5698 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007617/0.4029, allocations: 2.936 MB / 0.5726 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.4043, allocations: 59.81 kB / 0.5727 GB, free: 8.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004886/0.4091, allocations: 2.528 MB / 0.5752 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.4125, allocations: 1.21 MB / 0.5763 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.4134, allocations: 351.4 kB / 0.5767 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00357/0.4169, allocations: 2.544 MB / 0.5792 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.4204, allocations: 2.24 MB / 0.5814 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.4221, allocations: 1.067 MB / 0.5824 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.4241, allocations: 1.382 MB / 0.5837 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004342/0.4245, allocations: 252 kB / 0.584 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.4258, allocations: 0.6632 MB / 0.5846 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.4271, allocations: 1.367 MB / 0.586 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.4284, allocations: 1.142 MB / 0.5871 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00571/0.4341, allocations: 5.14 MB / 0.5921 GB, free: 4.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4341, allocations: 0 / 0.5921 GB, free: 4.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4341, allocations: 3.938 kB / 0.5921 GB, free: 4.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.019e-05/0.4342, allocations: 0 / 0.5921 GB, free: 4.227 MB / 430.1 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.005506/0.4397, allocations: 3.274 MB / 0.5953 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.4397, allocations: 15.97 kB / 0.5953 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/0.4449, allocations: 1.621 MB / 0.5969 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/0.4484, allocations: 1.447 MB / 0.5983 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.4486, allocations: 184.9 kB / 0.5985 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.449, allocations: 231.8 kB / 0.5987 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.4602, allocations: 7.11 MB / 0.6057 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/0.4602, allocations: 11.88 kB / 0.6057 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/0.4605, allocations: 111.9 kB / 0.6058 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002252/0.4628, allocations: 1.447 MB / 0.6072 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.4743, allocations: 5.929 MB / 0.613 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/0.5074, allocations: 20.23 MB / 0.6327 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/0.5125, allocations: 1.676 MB / 0.6344 GB, free: 7.938 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.5138, allocations: 0.7034 MB / 0.6351 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007707/0.5215, allocations: 3.223 MB / 0.6382 GB, free: 3.977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.5215, allocations: 39.22 kB / 0.6382 GB, free: 3.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.769e-06/0.5215, allocations: 0 / 0.6382 GB, free: 3.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006563/0.5281, allocations: 2.249 MB / 0.6404 GB, free: 1.676 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.5282, allocations: 60.06 kB / 0.6405 GB, free: 1.605 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.5317, allocations: 2.013 MB / 0.6425 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.5317, allocations: 37.69 kB / 0.6425 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.5335, allocations: 2.121 MB / 0.6446 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.5339, allocations: 357.3 kB / 0.6449 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009813/0.5349, allocations: 0.6551 MB / 0.6455 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.5351, allocations: 345.9 kB / 0.6459 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.5366, allocations: 0.9352 MB / 0.6468 GB, free: 11.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/0.54, allocations: 2.872 MB / 0.6496 GB, free: 7.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005353/0.5453, allocations: 4.156 MB / 0.6537 GB, free: 2.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-05/0.5454, allocations: 23.75 kB / 0.6537 GB, free: 2.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006907/0.5523, allocations: 3.695 MB / 0.6573 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.5524, allocations: 36 kB / 0.6573 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/0.5525, allocations: 68 kB / 0.6574 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.5526, allocations: 92 kB / 0.6575 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.5548, allocations: 0.6823 MB / 0.6581 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001522/0.555, allocations: 139.4 kB / 0.6583 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.5573, allocations: 432.8 kB / 0.6587 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/0.5576, allocations: 196.3 kB / 0.6589 GB, free: 12.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (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.003137/0.5607, allocations: 1.511 MB / 0.6603 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.5611, allocations: 166.9 kB / 0.6605 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.5617, allocations: 204.9 kB / 0.6607 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.5617, allocations: 8 kB / 0.6607 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.5617, allocations: 4 kB / 0.6607 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5617, allocations: 3.984 kB / 0.6607 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008692/0.5704, allocations: 3.763 MB / 0.6644 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.5704, allocations: 12.97 kB / 0.6644 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.5709, allocations: 119.8 kB / 0.6645 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/0.5709, allocations: 11.94 kB / 0.6645 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.571, allocations: 35.92 kB / 0.6646 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/0.571, allocations: 15.94 kB / 0.6646 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.571, allocations: 8 kB / 0.6646 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.5728, allocations: 1.385 MB / 0.6659 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.5732, allocations: 166.7 kB / 0.6661 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.5735, allocations: 31.92 kB / 0.6661 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.5741, allocations: 31.97 kB / 0.6662 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.5742, allocations: 67.78 kB / 0.6662 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/0.5743, allocations: 35.94 kB / 0.6663 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001888/0.5761, allocations: 1.151 MB / 0.6674 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5761, allocations: 0 / 0.6674 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003127/0.5793, allocations: 0.8172 MB / 0.6682 GB, free: 2.988 MB / 0.4981 GB 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.0004002/0.5797, allocations: 151.4 kB / 0.6683 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003631/0.5833, allocations: 2.074 MB / 0.6704 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.5833, allocations: 0 / 0.6704 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007322/0.584, allocations: 483 kB / 0.6708 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.5854, allocations: 221.2 kB / 0.671 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.5973, allocations: 5.763 MB / 0.6767 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/0.6011, allocations: 1.95 MB / 0.6786 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002707/0.6038, allocations: 0.9944 MB / 0.6795 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.6043, allocations: 119.4 kB / 0.6796 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.6043, allocations: 0 / 0.6796 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of Templates: time 0.0357/0.64, allocations: 15.62 MB / 0.6949 GB, free: 7.652 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.826643710955977]