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.001089/0.001089, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.00105/0.00105, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.39/1.39, allocations: 222.9 MB / 243 MB, free: 15.08 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.2304/0.2304, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.52 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01097/0.1279, allocations: 9.727 MB / 480.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.1343, allocations: 2.916 MB / 483.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.1361, allocations: 55.88 kB / 483.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.1397, allocations: 1.998 MB / 485.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.1426, allocations: 1.125 MB / 486.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.1434, allocations: 295.5 kB / 486.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002903/0.1463, allocations: 2.333 MB / 489.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.1489, allocations: 2.332 MB / 491.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.1502, allocations: 0.9034 MB / 492.4 MB, free: 7.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.1517, allocations: 1.176 MB / 493.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.152, allocations: 200 kB / 493.8 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.1532, allocations: 0.6982 MB / 494.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009454/0.1541, allocations: 1.142 MB / 495.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.1553, allocations: 1.347 MB / 496.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.1594, allocations: 4.449 MB / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1595, allocations: 0 / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1595, allocations: 0 / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.924e-05/0.1595, allocations: 0 / 0.4896 GB, free: 14.82 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.004745/0.1643, allocations: 2.947 MB / 0.4925 GB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1644, allocations: 12.03 kB / 0.4925 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/0.1691, allocations: 1.573 MB / 0.4941 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.1722, allocations: 1.359 MB / 0.4954 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.1723, allocations: 148.1 kB / 0.4955 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.1727, allocations: 191.8 kB / 0.4957 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009474/0.1822, allocations: 6.432 MB / 0.502 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/0.1823, allocations: 19.86 kB / 0.502 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.1825, allocations: 95.89 kB / 0.5021 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002079/0.1846, allocations: 1.403 MB / 0.5035 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2575/0.4421, allocations: 5.484 MB / 0.5088 GB, free: 45.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.4745, allocations: 20.46 MB / 0.5288 GB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/0.4781, allocations: 2.002 MB / 0.5308 GB, free: 30.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008061/0.4789, allocations: 0.6895 MB / 0.5314 GB, free: 30.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006781/0.4857, allocations: 3.628 MB / 0.535 GB, free: 28.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.4858, allocations: 39 kB / 0.535 GB, free: 28.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.948e-06/0.4858, allocations: 0 / 0.535 GB, free: 28.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004646/0.4904, allocations: 1.985 MB / 0.537 GB, free: 26.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4905, allocations: 63.78 kB / 0.537 GB, free: 26.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.4928, allocations: 1.962 MB / 0.5389 GB, free: 24.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.4929, allocations: 29.7 kB / 0.539 GB, free: 24.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008469/0.4937, allocations: 1.886 MB / 0.5408 GB, free: 22.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.4939, allocations: 315.7 kB / 0.5411 GB, free: 21.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000605/0.4946, allocations: 0.621 MB / 0.5417 GB, free: 21.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.4946, allocations: 357.9 kB / 0.542 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.4956, allocations: 0.889 MB / 0.5429 GB, free: 19.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.4973, allocations: 2.784 MB / 0.5456 GB, free: 16.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.5002, allocations: 3.99 MB / 0.5495 GB, free: 11.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-05/0.5002, allocations: 20 kB / 0.5496 GB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00401/0.5043, allocations: 3.557 MB / 0.553 GB, free: 7.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.5043, allocations: 36 kB / 0.5531 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.977e-05/0.5044, allocations: 64 kB / 0.5531 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.757e-05/0.5044, allocations: 96.02 kB / 0.5532 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.506, allocations: 0.6657 MB / 0.5539 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.659e-05/0.5061, allocations: 131.5 kB / 0.554 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.5079, allocations: 417.6 kB / 0.5544 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/0.5081, allocations: 190.4 kB / 0.5546 GB, free: 6.16 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.002059/0.5102, allocations: 1.369 MB / 0.5559 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.5104, allocations: 157.9 kB / 0.5561 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.5108, allocations: 197.2 kB / 0.5562 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.5108, allocations: 19.88 kB / 0.5563 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.5108, allocations: 0 / 0.5563 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5108, allocations: 3.984 kB / 0.5563 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/0.5162, allocations: 4.101 MB / 0.5603 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.5162, allocations: 8 kB / 0.5603 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.5166, allocations: 99.83 kB / 0.5604 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.5166, allocations: 8 kB / 0.5604 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.5167, allocations: 19.98 kB / 0.5604 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.5167, allocations: 12 kB / 0.5604 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5167, allocations: 7.938 kB / 0.5604 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.5183, allocations: 1.276 MB / 0.5617 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.5187, allocations: 246.8 kB / 0.5619 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.5189, allocations: 19.98 kB / 0.5619 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.5194, allocations: 27.98 kB / 0.5619 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5195, allocations: 51.83 kB / 0.562 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.5195, allocations: 35.97 kB / 0.562 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001797/0.5213, allocations: 1.283 MB / 0.5633 GB, free: 12.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.5214, allocations: 3.938 kB / 0.5633 GB, free: 12.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003213/0.5246, allocations: 0.7101 MB / 0.564 GB, free: 12.26 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.0003434/0.5249, allocations: 146.4 kB / 0.5641 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.5283, allocations: 2.06 MB / 0.5661 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.5284, allocations: 0 / 0.5661 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.5289, allocations: 466.3 kB / 0.5666 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5303, allocations: 249 kB / 0.5668 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009148/0.5394, allocations: 5.151 MB / 0.5718 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.5419, allocations: 2.317 MB / 0.5741 GB, free: 1.773 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002197/0.5442, allocations: 0.97 MB / 0.5751 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.5445, allocations: 119.4 kB / 0.5752 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5445, allocations: 4 kB / 0.5752 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Templates: time 0.0299/0.5744, allocations: 14.42 MB / 0.5893 GB, free: 2.301 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/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