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.001657/0.001657, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002053/0.002053, allocations: 211.6 kB / 23.73 MB, free: 4.523 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.512/1.512, 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.2345/0.2345, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.00195/0.00195, allocations: 71.78 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 66.05 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01251/0.3771, allocations: 8.904 MB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007875/0.385, allocations: 2.936 MB / 0.5726 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.3877, allocations: 59.81 kB / 0.5727 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006031/0.3937, allocations: 2.524 MB / 0.5752 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.3979, allocations: 1.222 MB / 0.5764 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.399, allocations: 347.3 kB / 0.5767 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004389/0.4034, allocations: 2.543 MB / 0.5792 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003557/0.407, allocations: 2.253 MB / 0.5814 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.409, allocations: 1.067 MB / 0.5824 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.4119, allocations: 1.488 MB / 0.5839 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009602/0.4128, allocations: 252 kB / 0.5841 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.4146, allocations: 0.6787 MB / 0.5848 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002195/0.4168, allocations: 1.36 MB / 0.5861 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.4193, allocations: 1.141 MB / 0.5872 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006866/0.4262, allocations: 5.14 MB / 0.5922 GB, free: 4.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.4262, allocations: 4 kB / 0.5922 GB, free: 4.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4262, allocations: 0 / 0.5922 GB, free: 4.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001814/0.4264, allocations: 3.938 kB / 0.5922 GB, free: 4.141 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.007753/0.4342, allocations: 3.27 MB / 0.5954 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4342, allocations: 12.03 kB / 0.5954 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/0.4394, allocations: 1.625 MB / 0.597 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004333/0.4437, allocations: 1.451 MB / 0.5984 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.4438, allocations: 177 kB / 0.5986 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000548/0.4444, allocations: 239.8 kB / 0.5988 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.4571, allocations: 7.11 MB / 0.6058 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/0.4571, allocations: 15.81 kB / 0.6058 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/0.4574, allocations: 111.9 kB / 0.6059 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.4596, allocations: 1.443 MB / 0.6073 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.4729, allocations: 5.937 MB / 0.6131 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03265/0.5055, allocations: 20.23 MB / 0.6329 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004641/0.5102, allocations: 1.666 MB / 0.6345 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.5113, allocations: 0.7099 MB / 0.6352 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00777/0.519, allocations: 3.215 MB / 0.6383 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.5191, allocations: 43.22 kB / 0.6384 GB, free: 3.844 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.519e-06/0.5191, allocations: 0 / 0.6384 GB, free: 3.844 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006565/0.5256, allocations: 2.249 MB / 0.6406 GB, free: 1.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.5257, allocations: 60.06 kB / 0.6406 GB, free: 1.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/0.5287, allocations: 2.017 MB / 0.6426 GB, free: 15.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.465e-05/0.5288, allocations: 33.7 kB / 0.6426 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.5304, allocations: 2.118 MB / 0.6447 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.5308, allocations: 357.3 kB / 0.645 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009255/0.5317, allocations: 0.659 MB / 0.6457 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.5319, allocations: 345.9 kB / 0.646 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.5334, allocations: 0.9391 MB / 0.6469 GB, free: 11.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003244/0.5366, allocations: 2.868 MB / 0.6497 GB, free: 7.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005261/0.5419, allocations: 4.152 MB / 0.6538 GB, free: 2.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.599e-05/0.5419, allocations: 23.94 kB / 0.6538 GB, free: 2.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006257/0.5482, allocations: 3.703 MB / 0.6574 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.5482, allocations: 36 kB / 0.6575 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.19e-05/0.5483, allocations: 71.94 kB / 0.6575 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.5484, allocations: 88 kB / 0.6576 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.5504, allocations: 0.6901 MB / 0.6583 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001251/0.5505, allocations: 127.5 kB / 0.6584 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.5523, allocations: 440.8 kB / 0.6588 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/0.5526, allocations: 196 kB / 0.659 GB, free: 12.71 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.002405/0.555, allocations: 1.511 MB / 0.6605 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.5552, allocations: 162.9 kB / 0.6606 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.5556, allocations: 201 kB / 0.6608 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.5556, allocations: 11.98 kB / 0.6608 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.5556, allocations: 0 / 0.6608 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5556, allocations: 0 / 0.6608 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007077/0.5627, allocations: 3.771 MB / 0.6645 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5627, allocations: 8 kB / 0.6645 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/0.5632, allocations: 115.8 kB / 0.6646 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/0.5632, allocations: 11.94 kB / 0.6647 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.107e-05/0.5632, allocations: 32.67 kB / 0.6647 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/0.5633, allocations: 15.88 kB / 0.6647 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.5633, allocations: 15.94 kB / 0.6647 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.5651, allocations: 1.393 MB / 0.6661 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.5655, allocations: 166.7 kB / 0.6662 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.5656, allocations: 23.94 kB / 0.6663 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.5661, allocations: 27.97 kB / 0.6663 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.5662, allocations: 71.73 kB / 0.6664 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/0.5663, allocations: 36 kB / 0.6664 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001569/0.5679, allocations: 1.159 MB / 0.6675 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.5679, allocations: 0 / 0.6675 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002746/0.5706, allocations: 0.8094 MB / 0.6683 GB, free: 2.898 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.0003311/0.5709, allocations: 147.5 kB / 0.6685 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003245/0.5742, allocations: 2.079 MB / 0.6705 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5742, allocations: 4 kB / 0.6705 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.5748, allocations: 478.2 kB / 0.6709 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.576, allocations: 216.2 kB / 0.6711 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00933/0.5853, allocations: 5.755 MB / 0.6768 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/0.588, allocations: 1.953 MB / 0.6787 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002215/0.5902, allocations: 0.9944 MB / 0.6796 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.5905, allocations: 123.4 kB / 0.6798 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.5905, allocations: 0 / 0.6798 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of Templates: time 0.05087/0.6414, allocations: 16.98 MB / 0.6963 GB, free: 6.203 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.859529091976583]