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.001822/0.001822, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.002156/0.002156, allocations: 206.7 kB / 23.72 MB, free: 4.492 MB / 14.72 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 1.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2385/0.2385, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] 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.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 87.81 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3742, allocations: 66.09 MB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01482/0.389, allocations: 8.914 MB / 0.5699 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008073/0.3971, allocations: 2.921 MB / 0.5727 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.399, allocations: 59.81 kB / 0.5728 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005814/0.4048, allocations: 2.531 MB / 0.5753 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.4092, allocations: 1.21 MB / 0.5764 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.4105, allocations: 355.3 kB / 0.5768 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00442/0.4149, allocations: 2.545 MB / 0.5793 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003686/0.4186, allocations: 2.236 MB / 0.5814 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.4205, allocations: 1.067 MB / 0.5825 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.423, allocations: 1.382 MB / 0.5838 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005007/0.4235, allocations: 259.9 kB / 0.5841 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.4249, allocations: 0.6632 MB / 0.5847 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.4264, allocations: 1.367 MB / 0.5861 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.4278, allocations: 1.134 MB / 0.5872 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006367/0.4341, allocations: 5.136 MB / 0.5922 GB, free: 4.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4341, allocations: 4 kB / 0.5922 GB, free: 4.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4341, allocations: 3.938 kB / 0.5922 GB, free: 4.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.4343, allocations: 0 / 0.5922 GB, free: 4.062 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.006276/0.4406, allocations: 3.274 MB / 0.5954 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4406, allocations: 8.031 kB / 0.5954 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005471/0.4461, allocations: 1.629 MB / 0.597 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.45, allocations: 1.447 MB / 0.5984 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.4502, allocations: 188.9 kB / 0.5986 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005851/0.4508, allocations: 231.8 kB / 0.5988 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.4636, allocations: 7.106 MB / 0.6058 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-05/0.4637, allocations: 15.88 kB / 0.6058 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003533/0.464, allocations: 107.9 kB / 0.6059 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002401/0.4664, allocations: 1.447 MB / 0.6073 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.4798, allocations: 5.933 MB / 0.6131 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03665/0.5165, allocations: 20.23 MB / 0.6328 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/0.5215, allocations: 1.666 MB / 0.6345 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.5227, allocations: 0.6995 MB / 0.6351 GB, free: 7.066 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007399/0.5301, allocations: 3.223 MB / 0.6383 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.5301, allocations: 39.22 kB / 0.6383 GB, free: 3.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.477e-06/0.5301, allocations: 0 / 0.6383 GB, free: 3.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006571/0.5367, allocations: 2.253 MB / 0.6405 GB, free: 1.512 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.5367, allocations: 60 kB / 0.6406 GB, free: 1.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/0.5402, allocations: 2.009 MB / 0.6425 GB, free: 15.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.429e-05/0.5403, allocations: 41.69 kB / 0.6426 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001801/0.5421, allocations: 2.121 MB / 0.6447 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.5425, allocations: 357.3 kB / 0.645 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009961/0.5435, allocations: 0.659 MB / 0.6456 GB, free: 12.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.5437, allocations: 349.9 kB / 0.646 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.5453, allocations: 0.9313 MB / 0.6469 GB, free: 10.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/0.5488, allocations: 2.868 MB / 0.6497 GB, free: 7.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005416/0.5542, allocations: 4.155 MB / 0.6537 GB, free: 1.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.257e-05/0.5543, allocations: 23.94 kB / 0.6538 GB, free: 1.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006779/0.5611, allocations: 3.702 MB / 0.6574 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.5612, allocations: 35.98 kB / 0.6574 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.5613, allocations: 72.88 kB / 0.6575 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.5614, allocations: 88 kB / 0.6576 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.5635, allocations: 0.6862 MB / 0.6582 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/0.5636, allocations: 135.4 kB / 0.6584 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.5656, allocations: 432.8 kB / 0.6588 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002917/0.5659, allocations: 196 kB / 0.659 GB, free: 12.62 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.002358/0.5682, allocations: 1.503 MB / 0.6604 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.5685, allocations: 162.9 kB / 0.6606 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.5689, allocations: 201 kB / 0.6608 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.569, allocations: 12 kB / 0.6608 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.569, allocations: 4 kB / 0.6608 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.569, allocations: 3.984 kB / 0.6608 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007463/0.5764, allocations: 3.768 MB / 0.6645 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.5765, allocations: 12 kB / 0.6645 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.5769, allocations: 123.7 kB / 0.6646 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/0.577, allocations: 15.94 kB / 0.6646 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.577, allocations: 23.94 kB / 0.6647 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.662e-05/0.577, allocations: 15.98 kB / 0.6647 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.577, allocations: 11.94 kB / 0.6647 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.5789, allocations: 1.393 MB / 0.666 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.5792, allocations: 162.7 kB / 0.6662 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.5794, allocations: 27.92 kB / 0.6662 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.58, allocations: 27.97 kB / 0.6662 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5801, allocations: 71.73 kB / 0.6663 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.5802, allocations: 39.92 kB / 0.6664 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001773/0.5819, allocations: 1.155 MB / 0.6675 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5819, allocations: 0 / 0.6675 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002704/0.5846, allocations: 0.8133 MB / 0.6683 GB, free: 2.816 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.0003293/0.585, allocations: 143 kB / 0.6684 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003345/0.5883, allocations: 2.083 MB / 0.6704 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.5883, allocations: 1 kB / 0.6704 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006749/0.589, allocations: 487.9 kB / 0.6709 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.5903, allocations: 208.1 kB / 0.6711 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.6009, allocations: 5.759 MB / 0.6767 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/0.6044, allocations: 1.961 MB / 0.6787 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002384/0.6068, allocations: 0.9866 MB / 0.6796 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.6071, allocations: 123.4 kB / 0.6797 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of SimCode: time 1.011e-06/0.6071, allocations: 0 / 0.6797 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.03443/0.6415, allocations: 15.62 MB / 0.695 GB, free: 7.473 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.95088435523212]