Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 104 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 192.1 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2005/0.2005, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 60.5 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1041, allocations: 60.83 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01126/0.1154, allocations: 9.736 MB / 479 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006115/0.1216, allocations: 2.916 MB / 481.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.1229, allocations: 51.88 kB / 481.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.1264, allocations: 1.998 MB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.1289, allocations: 1.129 MB / 485.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.1296, allocations: 295.5 kB / 485.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003022/0.1326, allocations: 2.322 MB / 487.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.1352, allocations: 2.344 MB / 490 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.1364, allocations: 0.8917 MB / 490.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.1378, allocations: 1.176 MB / 492.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003269/0.1381, allocations: 204 kB / 492.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.1393, allocations: 0.706 MB / 493 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008595/0.1402, allocations: 1.138 MB / 494.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.1413, allocations: 1.343 MB / 495.5 MB, free: 4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.1449, allocations: 4.287 MB / 499.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1449, allocations: 0 / 499.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1449, allocations: 0 / 499.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.351e-05/0.145, allocations: 0 / 499.8 MB, free: 15.7 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004188/0.1492, allocations: 2.947 MB / 0.4909 GB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.1492, allocations: 12.03 kB / 0.4909 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/0.1541, allocations: 1.58 MB / 0.4925 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.1563, allocations: 1.34 MB / 0.4938 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.1564, allocations: 156.1 kB / 0.4939 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.1568, allocations: 187.8 kB / 0.4941 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00932/0.1661, allocations: 6.436 MB / 0.5004 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.1662, allocations: 11.88 kB / 0.5004 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.1664, allocations: 95.88 kB / 0.5005 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002129/0.1686, allocations: 1.403 MB / 0.5019 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2057/0.3742, allocations: 5.483 MB / 0.5072 GB, free: 45.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.4002, allocations: 20.6 MB / 0.5274 GB, free: 32.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/0.4038, allocations: 2.01 MB / 0.5293 GB, free: 30.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007448/0.4046, allocations: 0.6931 MB / 0.53 GB, free: 30.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005131/0.4097, allocations: 3.634 MB / 0.5335 GB, free: 28.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.4098, allocations: 35 kB / 0.5336 GB, free: 28.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.4098, allocations: 1.125 kB / 0.5336 GB, free: 28.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004519/0.4143, allocations: 1.983 MB / 0.5355 GB, free: 26.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.4143, allocations: 67.72 kB / 0.5356 GB, free: 26.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.4162, allocations: 1.958 MB / 0.5375 GB, free: 24.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.4162, allocations: 41.61 kB / 0.5375 GB, free: 24.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007359/0.417, allocations: 1.886 MB / 0.5394 GB, free: 22.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.4172, allocations: 310.9 kB / 0.5397 GB, free: 22.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000579/0.4177, allocations: 0.6211 MB / 0.5403 GB, free: 21.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.4178, allocations: 357.9 kB / 0.5406 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008682/0.4187, allocations: 0.8881 MB / 0.5415 GB, free: 20.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.4202, allocations: 2.78 MB / 0.5442 GB, free: 16.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.4229, allocations: 3.99 MB / 0.5481 GB, free: 12.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.092e-05/0.4229, allocations: 20 kB / 0.5481 GB, free: 12.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.003799/0.4267, allocations: 3.553 MB / 0.5516 GB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.4268, allocations: 39.47 kB / 0.5516 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.344e-05/0.4268, allocations: 68 kB / 0.5517 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.607e-05/0.4269, allocations: 92 kB / 0.5518 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.4284, allocations: 0.6705 MB / 0.5524 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.917e-05/0.4284, allocations: 127.5 kB / 0.5525 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.4299, allocations: 415.5 kB / 0.5529 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.4301, allocations: 194.5 kB / 0.5531 GB, free: 6.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (365): * Single equations (assignments): 360 * 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.001571/0.4316, allocations: 1.373 MB / 0.5545 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.4318, allocations: 157.9 kB / 0.5546 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.4321, allocations: 197.2 kB / 0.5548 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.4321, allocations: 11.94 kB / 0.5548 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.4321, allocations: 0 / 0.5548 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4321, allocations: 0 / 0.5548 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004764/0.4369, allocations: 4.101 MB / 0.5588 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.4369, allocations: 8 kB / 0.5588 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.4373, allocations: 103.8 kB / 0.5589 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.4373, allocations: 15.94 kB / 0.5589 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.4373, allocations: 16 kB / 0.559 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/0.4373, allocations: 19.92 kB / 0.559 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.4374, allocations: 8 kB / 0.559 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.4387, allocations: 1.268 MB / 0.5602 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.4391, allocations: 250.7 kB / 0.5605 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.4393, allocations: 16 kB / 0.5605 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.4397, allocations: 27.97 kB / 0.5605 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.753e-05/0.4398, allocations: 59.77 kB / 0.5606 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.4399, allocations: 31.98 kB / 0.5606 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001559/0.4414, allocations: 1.283 MB / 0.5618 GB, free: 13.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4414, allocations: 0 / 0.5618 GB, free: 13.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002491/0.4439, allocations: 0.7105 MB / 0.5625 GB, free: 12.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003279/0.4443, allocations: 152.3 kB / 0.5627 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003386/0.4477, allocations: 2.258 MB / 0.5649 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4477, allocations: 0 / 0.5649 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.4482, allocations: 461.4 kB / 0.5653 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.4493, allocations: 250.5 kB / 0.5656 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007714/0.457, allocations: 5.226 MB / 0.5707 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002215/0.4593, allocations: 2.316 MB / 0.5729 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002212/0.4615, allocations: 0.9663 MB / 0.5739 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.4618, allocations: 119.4 kB / 0.574 GB, free: 1.137 MB / 398.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4618, allocations: 3.938 kB / 0.574 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Templates: time 0.02655/0.4883, allocations: 14.42 MB / 0.5881 GB, free: 2.762 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches