Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001457/0.001457, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.00146/0.00146, allocations: 167.9 kB / 24.5 MB, free: 3.453 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.451/1.451, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 32.8 MB / 294.1 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002186/0.002186, allocations: 71.89 kB / 440.6 MB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3228, allocations: 65.44 MB / 0.4941 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.00785/0.3306, allocations: 8.922 MB / 0.5029 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005135/0.3358, allocations: 2.931 MB / 0.5057 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008411/0.3366, allocations: 61.72 kB / 0.5058 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.3403, allocations: 2.522 MB / 0.5082 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.3422, allocations: 1.216 MB / 0.5094 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.3429, allocations: 358.5 kB / 0.5098 GB, free: 22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.3451, allocations: 2.534 MB / 0.5122 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.3475, allocations: 2.242 MB / 0.5144 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.3487, allocations: 1.067 MB / 0.5155 GB, free: 19.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.3504, allocations: 1.376 MB / 0.5168 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.3508, allocations: 251.3 kB / 0.5171 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.3522, allocations: 0.6729 MB / 0.5177 GB, free: 18.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.3538, allocations: 1.368 MB / 0.519 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.3554, allocations: 1.136 MB / 0.5202 GB, free: 17.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005767/0.3612, allocations: 5.138 MB / 0.5252 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3612, allocations: 1.406 kB / 0.5252 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3612, allocations: 0.7031 kB / 0.5252 GB, free: 15.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000134/0.3613, allocations: 0 / 0.5252 GB, free: 15.83 MB / 446.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.00573/0.367, allocations: 3.28 MB / 0.5284 GB, free: 13.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3671, allocations: 9.094 kB / 0.5284 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/0.3724, allocations: 1.638 MB / 0.53 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.3755, allocations: 1.449 MB / 0.5314 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.3756, allocations: 179.1 kB / 0.5316 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004145/0.376, allocations: 229.9 kB / 0.5318 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.3864, allocations: 7.129 MB / 0.5388 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/0.3865, allocations: 13 kB / 0.5388 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.3868, allocations: 107.6 kB / 0.5389 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/0.3888, allocations: 1.448 MB / 0.5403 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.3992, allocations: 5.949 MB / 0.5461 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03156/0.4307, allocations: 20.34 MB / 0.566 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.4354, allocations: 1.767 MB / 0.5677 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.4365, allocations: 0.7052 MB / 0.5684 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006487/0.443, allocations: 3.322 MB / 0.5716 GB, free: 8.609 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.443, allocations: 39.22 kB / 0.5716 GB, free: 8.562 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 2.956e-06/0.443, allocations: 0 / 0.5716 GB, free: 8.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.00648/0.4495, allocations: 2.406 MB / 0.574 GB, free: 6.152 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.4495, allocations: 56.06 kB / 0.5741 GB, free: 6.086 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.4524, allocations: 2.017 MB / 0.576 GB, free: 4.062 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.4524, allocations: 41.69 kB / 0.5761 GB, free: 4.016 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00162/0.4541, allocations: 2.118 MB / 0.5781 GB, free: 1.875 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.4544, allocations: 357.3 kB / 0.5785 GB, free: 1.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000916/0.4554, allocations: 0.659 MB / 0.5791 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.4556, allocations: 345.9 kB / 0.5794 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.457, allocations: 0.9352 MB / 0.5804 GB, free: 15.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.4601, allocations: 2.872 MB / 0.5832 GB, free: 11.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005086/0.4652, allocations: 4.154 MB / 0.5872 GB, free: 6.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.262e-05/0.4652, allocations: 23.94 kB / 0.5872 GB, free: 6.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005972/0.4712, allocations: 3.695 MB / 0.5908 GB, free: 2.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.4713, allocations: 32 kB / 0.5909 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.711e-05/0.4713, allocations: 71.94 kB / 0.5909 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/0.4715, allocations: 95.94 kB / 0.591 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/0.4735, allocations: 0.6862 MB / 0.5917 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001163/0.4736, allocations: 136 kB / 0.5918 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.4756, allocations: 432.8 kB / 0.5923 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/0.4759, allocations: 196 kB / 0.5924 GB, free: 1.266 MB / 494.1 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 (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.00264/0.4785, allocations: 1.508 MB / 0.5939 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.4788, allocations: 162.9 kB / 0.5941 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.4791, allocations: 201 kB / 0.5943 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.4792, allocations: 12 kB / 0.5943 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.4792, allocations: 0 / 0.5943 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4792, allocations: 0 / 0.5943 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006935/0.4861, allocations: 3.792 MB / 0.598 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.4861, allocations: 12.09 kB / 0.598 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.4866, allocations: 115.8 kB / 0.5981 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.4866, allocations: 19.92 kB / 0.5981 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/0.4867, allocations: 20 kB / 0.5981 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/0.4867, allocations: 15.94 kB / 0.5981 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.4867, allocations: 11.94 kB / 0.5982 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.4885, allocations: 1.394 MB / 0.5995 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.4888, allocations: 170.7 kB / 0.5997 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.489, allocations: 27.94 kB / 0.5997 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.4895, allocations: 31.95 kB / 0.5997 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.4896, allocations: 71.73 kB / 0.5998 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/0.4897, allocations: 32 kB / 0.5998 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001661/0.4914, allocations: 1.159 MB / 0.601 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4914, allocations: 0 / 0.601 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002842/0.4942, allocations: 0.8094 MB / 0.6018 GB, free: 7.441 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.0003021/0.4945, allocations: 151.5 kB / 0.6019 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003198/0.4977, allocations: 2.079 MB / 0.6039 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4977, allocations: 4 kB / 0.6039 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006437/0.4983, allocations: 481.1 kB / 0.6044 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.4995, allocations: 215.3 kB / 0.6046 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.5096, allocations: 5.764 MB / 0.6102 GB, free: 14.65 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002666/0.5123, allocations: 1.953 MB / 0.6121 GB, free: 12.66 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002235/0.5145, allocations: 0.9944 MB / 0.6131 GB, free: 11.66 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.5148, allocations: 124.5 kB / 0.6132 GB, free: 11.54 MB / 0.5138 GB Notification: Performance of SimCode: time 1.062e-06/0.5148, allocations: 0 / 0.6132 GB, free: 11.54 MB / 0.5138 GB Notification: Performance of Templates: time 0.02982/0.5446, allocations: 12.72 MB / 0.6257 GB, free: 15 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.488753343001008]