Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.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.001456/0.001456, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001053/0.001053, allocations: 168.7 kB / 24.91 MB, free: 9.195 MB / 18.57 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 0.9529/0.9529, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.2673/0.2673, allocations: 34.26 MB / 296.1 MB, free: 0.6602 MB / 266.7 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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.48e-05, allocations: 3.188 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01072/0.01074, allocations: 14.14 MB / 339.4 MB, free: 9.418 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008763/0.0195, allocations: 5.146 MB / 344.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.02055, allocations: 139.3 kB / 344.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005551/0.0261, allocations: 6.327 MB / 351 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.02978, allocations: 2.892 MB / 353.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.03199, allocations: 1.789 MB / 355.7 MB, free: 9.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006208/0.0382, allocations: 9.086 MB / 364.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004389/0.04259, allocations: 6.323 MB / 371.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.04596, allocations: 4.44 MB / 375.6 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.04966, allocations: 4.256 MB / 379.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000566/0.05022, allocations: 0.5859 MB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.05192, allocations: 1.397 MB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00231/0.05423, allocations: 3.822 MB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.05581, allocations: 2.286 MB / 387.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005629/0.06143, allocations: 7.59 MB / 395.5 MB, free: 1.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.06144, allocations: 0 / 395.5 MB, free: 1.082 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.06144, allocations: 0 / 395.5 MB, free: 1.082 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.337e-05/0.06151, allocations: 0 / 395.5 MB, free: 1.082 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.007472/0.06899, allocations: 7.815 MB / 403.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.06902, allocations: 12.03 kB / 403.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/0.07294, allocations: 1.647 MB / 405 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003571/0.07651, allocations: 3.646 MB / 408.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.07671, allocations: 415 kB / 409 MB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.07725, allocations: 0.547 MB / 409.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008148/0.0854, allocations: 8.285 MB / 417.9 MB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.08551, allocations: 71.39 kB / 417.9 MB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003856/0.0859, allocations: 259.8 kB / 418.2 MB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002692/0.08859, allocations: 2.67 MB / 420.9 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00837/0.09696, allocations: 4.081 MB / 424.9 MB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3243/0.4213, allocations: 51.08 MB / 476 MB, free: 71.39 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006749/0.428, allocations: 3.054 MB / 479.1 MB, free: 70.76 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008334/0.4288, allocations: 0.5206 MB / 479.6 MB, free: 70.24 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007956/0.4368, allocations: 5.677 MB / 485.3 MB, free: 64.85 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.4368, allocations: 55.25 kB / 485.3 MB, free: 64.79 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 3.917e-06/0.4368, allocations: 0 / 485.3 MB, free: 64.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01643/0.4533, allocations: 7.203 MB / 492.5 MB, free: 58.28 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.4533, allocations: 153.3 kB / 492.7 MB, free: 58.1 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.4567, allocations: 4.933 MB / 497.6 MB, free: 53.65 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.4569, allocations: 61.69 kB / 497.7 MB, free: 53.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.4583, allocations: 4.84 MB / 0.4907 GB, free: 48.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/0.4588, allocations: 0.8373 MB / 0.4915 GB, free: 48.09 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.4599, allocations: 1.596 MB / 0.4931 GB, free: 46.47 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.042e-05/0.46, allocations: 301.1 kB / 0.4934 GB, free: 46.18 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.4616, allocations: 0.9576 MB / 0.4943 GB, free: 45.21 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/0.4645, allocations: 6.126 MB / 0.5003 GB, free: 36.51 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005682/0.4701, allocations: 7.967 MB / 0.5081 GB, free: 26.17 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.4702, allocations: 52 kB / 0.5081 GB, free: 26.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.007793/0.478, allocations: 5.662 MB / 0.5137 GB, free: 20.42 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/0.4781, allocations: 86.03 kB / 0.5138 GB, free: 20.34 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/0.4782, allocations: 192 kB / 0.5139 GB, free: 20.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.4784, allocations: 251.2 kB / 0.5142 GB, free: 19.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004057/0.4825, allocations: 1.997 MB / 0.5161 GB, free: 17.91 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001872/0.4826, allocations: 370.6 kB / 0.5165 GB, free: 17.55 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/0.4874, allocations: 371.5 kB / 0.5168 GB, free: 17.19 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/0.4878, allocations: 460 kB / 0.5173 GB, free: 16.74 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.001994/0.4898, allocations: 0.824 MB / 0.5181 GB, free: 15.9 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/0.4905, allocations: 323.6 kB / 0.5184 GB, free: 15.58 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005186/0.491, allocations: 490 kB / 0.5189 GB, free: 15.09 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.491, allocations: 28 kB / 0.5189 GB, free: 15.07 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.491, allocations: 0 / 0.5189 GB, free: 15.07 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.491, allocations: 19.94 kB / 0.5189 GB, free: 15.05 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009855/0.5009, allocations: 8.695 MB / 0.5274 GB, free: 5.547 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/0.5009, allocations: 44 kB / 0.5274 GB, free: 5.504 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009548/0.5019, allocations: 451.2 kB / 0.5279 GB, free: 5.062 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.89e-05/0.5019, allocations: 64 kB / 0.5279 GB, free: 5 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.502, allocations: 95.98 kB / 0.528 GB, free: 4.906 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.206e-05/0.5021, allocations: 99.58 kB / 0.5281 GB, free: 4.809 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-05/0.5021, allocations: 71.69 kB / 0.5282 GB, free: 4.738 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.5047, allocations: 3.316 MB / 0.5314 GB, free: 0.6055 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008864/0.5056, allocations: 0.5587 MB / 0.532 GB, free: 44 kB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005361/0.5061, allocations: 112 kB / 0.5321 GB, free: 15.93 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.5077, allocations: 91.89 kB / 0.5322 GB, free: 15.84 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.508, allocations: 314.5 kB / 0.5325 GB, free: 15.54 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.5081, allocations: 112 kB / 0.5326 GB, free: 15.43 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002698/0.5108, allocations: 2.152 MB / 0.5347 GB, free: 13.3 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5108, allocations: 3.938 kB / 0.5347 GB, free: 13.29 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007058/0.5179, allocations: 1.492 MB / 0.5361 GB, free: 11.8 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0005015/0.5184, allocations: 274 kB / 0.5364 GB, free: 11.52 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004974/0.5234, allocations: 3.286 MB / 0.5396 GB, free: 8.266 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003133/0.5237, allocations: 133.5 kB / 0.5397 GB, free: 8.129 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.5247, allocations: 0.6755 MB / 0.5404 GB, free: 7.453 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/0.5289, allocations: 0.8183 MB / 0.5412 GB, free: 6.66 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.5493, allocations: 13.66 MB / 0.5545 GB, free: 8.184 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/0.5522, allocations: 2.099 MB / 0.5566 GB, free: 6.055 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002292/0.5544, allocations: 0.7591 MB / 0.5573 GB, free: 5.293 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.5555, allocations: 0.8252 MB / 0.5581 GB, free: 4.465 MB / 442.8 MB Notification: Performance of SimCode: time 2.184e-06/0.5555, allocations: 0 / 0.5581 GB, free: 4.465 MB / 442.8 MB Notification: Performance of Templates: time 0.06422/0.6198, allocations: 37.76 MB / 0.595 GB, free: 15.18 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.741566899698228]