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.001823/0.001823, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002112/0.002112, allocations: 206.1 kB / 24.48 MB, free: 3.695 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.598/1.598, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2514/0.2514, allocations: 46.96 MB / 361.6 MB, free: 4.07 MB / 286.1 MB " [Timeout remaining time 179] 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.002048/0.002048, allocations: 67.88 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4489, allocations: 66.04 MB / 0.5618 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01288/0.4618, allocations: 8.907 MB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007806/0.4696, allocations: 2.932 MB / 0.5734 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.4715, allocations: 59.81 kB / 0.5734 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005526/0.477, allocations: 2.535 MB / 0.5759 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003519/0.4805, allocations: 1.218 MB / 0.5771 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.4816, allocations: 343.4 kB / 0.5774 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004151/0.4857, allocations: 2.555 MB / 0.5799 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004541/0.4903, allocations: 2.245 MB / 0.5821 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.4933, allocations: 1.067 MB / 0.5832 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.4965, allocations: 1.484 MB / 0.5846 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009587/0.4975, allocations: 252 kB / 0.5848 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.4993, allocations: 0.6787 MB / 0.5855 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.5013, allocations: 1.363 MB / 0.5868 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.5037, allocations: 1.138 MB / 0.5879 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007033/0.5108, allocations: 5.144 MB / 0.593 GB, free: 4.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.5108, allocations: 4 kB / 0.593 GB, free: 4.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5108, allocations: 0 / 0.593 GB, free: 4.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002105/0.511, allocations: 0 / 0.593 GB, free: 4.168 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.008782/0.5198, allocations: 3.274 MB / 0.5962 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5198, allocations: 12.03 kB / 0.5962 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005181/0.525, allocations: 1.621 MB / 0.5978 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.5289, allocations: 1.451 MB / 0.5992 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.5291, allocations: 177 kB / 0.5994 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005497/0.5297, allocations: 235.8 kB / 0.5996 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.5425, allocations: 7.106 MB / 0.6065 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/0.5426, allocations: 15.88 kB / 0.6065 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003045/0.5429, allocations: 115.9 kB / 0.6066 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002331/0.5452, allocations: 1.447 MB / 0.6081 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.5573, allocations: 5.933 MB / 0.6138 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03269/0.59, allocations: 20.23 MB / 0.6336 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/0.5946, allocations: 1.665 MB / 0.6352 GB, free: 7.883 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.5957, allocations: 0.7113 MB / 0.6359 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007516/0.6032, allocations: 3.223 MB / 0.6391 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.6033, allocations: 39.22 kB / 0.6391 GB, free: 3.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.807e-06/0.6033, allocations: 0 / 0.6391 GB, free: 3.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006449/0.6097, allocations: 2.245 MB / 0.6413 GB, free: 1.621 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.6098, allocations: 60.06 kB / 0.6414 GB, free: 1.551 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.6128, allocations: 2.013 MB / 0.6433 GB, free: 15.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.6129, allocations: 37.7 kB / 0.6434 GB, free: 15.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.6146, allocations: 2.125 MB / 0.6454 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/0.615, allocations: 357.3 kB / 0.6458 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009367/0.616, allocations: 0.6551 MB / 0.6464 GB, free: 12.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.6162, allocations: 353.9 kB / 0.6468 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.6176, allocations: 0.9313 MB / 0.6477 GB, free: 11.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/0.6214, allocations: 2.872 MB / 0.6505 GB, free: 7.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005911/0.6274, allocations: 4.158 MB / 0.6545 GB, free: 2.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.898e-05/0.6274, allocations: 27.94 kB / 0.6546 GB, free: 2.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006841/0.6343, allocations: 3.691 MB / 0.6582 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.6343, allocations: 32 kB / 0.6582 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.549e-05/0.6344, allocations: 72 kB / 0.6583 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001046/0.6345, allocations: 88 kB / 0.6583 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.6366, allocations: 0.694 MB / 0.659 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001736/0.6368, allocations: 131.5 kB / 0.6591 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.6389, allocations: 428.8 kB / 0.6596 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003022/0.6392, allocations: 196 kB / 0.6597 GB, free: 12.74 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.002759/0.642, allocations: 1.511 MB / 0.6612 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.6423, allocations: 166.8 kB / 0.6614 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.6427, allocations: 201 kB / 0.6616 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/0.6427, allocations: 12 kB / 0.6616 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.6428, allocations: 0 / 0.6616 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6428, allocations: 0 / 0.6616 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008433/0.6512, allocations: 3.771 MB / 0.6653 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.6512, allocations: 8 kB / 0.6653 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.6518, allocations: 116.7 kB / 0.6654 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.6518, allocations: 15.94 kB / 0.6654 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.6519, allocations: 27.98 kB / 0.6654 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/0.6519, allocations: 23.86 kB / 0.6654 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.6519, allocations: 11.94 kB / 0.6655 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.6538, allocations: 1.393 MB / 0.6668 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/0.6542, allocations: 162.7 kB / 0.667 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.6544, allocations: 27.94 kB / 0.667 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.6549, allocations: 27.97 kB / 0.667 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.6551, allocations: 67.8 kB / 0.6671 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.6551, allocations: 35.98 kB / 0.6671 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001798/0.6569, allocations: 1.159 MB / 0.6683 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.6569, allocations: 0 / 0.6683 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003143/0.6601, allocations: 0.8094 MB / 0.669 GB, free: 2.926 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.0003811/0.6604, allocations: 151.5 kB / 0.6692 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00368/0.6641, allocations: 2.078 MB / 0.6712 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.6641, allocations: 4 kB / 0.6712 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.6649, allocations: 482.9 kB / 0.6717 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.6662, allocations: 207.3 kB / 0.6719 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.6781, allocations: 6.123 MB / 0.6779 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/0.6808, allocations: 1.953 MB / 0.6798 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.6813, allocations: 147.4 kB / 0.6799 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.6813, allocations: 0 / 0.6799 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of Templates: time 0.06007/0.7414, allocations: 33.28 MB / 0.7124 GB, free: 6.398 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/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: 10.962709810002707]