Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 104.4 kB / 17.98 MB, free: 5.379 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.001542/0.001542, allocations: 193.3 kB / 18.9 MB, free: 4.457 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.324/1.324, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.2076/0.2076, allocations: 44.17 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 68.58 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1092, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3173/0.4265, allocations: 99.35 MB / 0.5554 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04835/0.4749, allocations: 18.84 MB / 0.5738 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02406/0.499, allocations: 446.9 kB / 0.5742 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.5106, allocations: 5.829 MB / 0.5799 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008713/0.5194, allocations: 2.651 MB / 0.5825 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.5233, allocations: 1.51 MB / 0.584 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.5346, allocations: 7.762 MB / 0.5916 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/0.546, allocations: 7.85 MB / 0.5992 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005596/0.5516, allocations: 3.127 MB / 0.6023 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006176/0.5579, allocations: 4.304 MB / 0.6065 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002161/0.56, allocations: 0.5898 MB / 0.6071 GB, free: 7.406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.564, allocations: 1.44 MB / 0.6085 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005607/0.5697, allocations: 3.647 MB / 0.612 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007081/0.5768, allocations: 4.02 MB / 0.6159 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.59, allocations: 9.589 MB / 0.6253 GB, free: 4.652 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.59, allocations: 0 / 0.6253 GB, free: 4.652 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5901, allocations: 0 / 0.6253 GB, free: 4.652 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005052/0.5906, allocations: 4 kB / 0.6253 GB, free: 4.648 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02216/0.6127, allocations: 8.73 MB / 0.6338 GB, free: 11.83 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.6128, allocations: 12.03 kB / 0.6339 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.6237, allocations: 2.576 MB / 0.6364 GB, free: 9.227 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009917/0.6337, allocations: 4.595 MB / 0.6409 GB, free: 4.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004929/0.6342, allocations: 439.2 kB / 0.6413 GB, free: 4.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002438/0.6367, allocations: 0.5543 MB / 0.6418 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0367/0.6734, allocations: 17.44 MB / 0.6588 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003524/0.6738, allocations: 71.34 kB / 0.6589 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002209/0.676, allocations: 267.8 kB / 0.6592 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005147/0.6812, allocations: 3.178 MB / 0.6623 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0305/0.7117, allocations: 13.41 MB / 0.6754 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5179/1.23, allocations: 66.12 MB / 0.7399 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/1.244, allocations: 5.387 MB / 0.7452 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/1.247, allocations: 2.114 MB / 0.7473 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01692/1.264, allocations: 10.01 MB / 0.757 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/1.264, allocations: 55.25 kB / 0.7571 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.49e-06/1.264, allocations: 0 / 0.7571 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03678/1.3, allocations: 14.17 MB / 0.7709 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/1.301, allocations: 157.4 kB / 0.7711 GB, free: 127 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008766/1.309, allocations: 6.379 MB / 0.7773 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003351/1.31, allocations: 60.02 kB / 0.7774 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002456/1.312, allocations: 5.234 MB / 0.7825 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000704/1.313, allocations: 0.8233 MB / 0.7833 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/1.315, allocations: 1.701 MB / 0.7849 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.391e-05/1.315, allocations: 307.6 kB / 0.7852 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002847/1.317, allocations: 2.343 MB / 0.7875 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004847/1.322, allocations: 7.761 MB / 0.7951 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008331/1.331, allocations: 10.99 MB / 0.8058 GB, free: 87.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.331, allocations: 56 kB / 0.8059 GB, free: 87.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01349/1.344, allocations: 9.751 MB / 0.8154 GB, free: 77.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.711e-05/1.344, allocations: 88 kB / 0.8155 GB, free: 77.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001651/1.345, allocations: 192.8 kB / 0.8157 GB, free: 77.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/1.345, allocations: 252 kB / 0.8159 GB, free: 77.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005389/1.35, allocations: 1.957 MB / 0.8178 GB, free: 75.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000217/1.35, allocations: 374.5 kB / 0.8182 GB, free: 75.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006442/1.357, allocations: 411.5 kB / 0.8186 GB, free: 74.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.358, allocations: 0.5229 MB / 0.8191 GB, free: 74.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.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 (1055): * Single equations (assignments): 1044 * 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.005257/1.363, allocations: 3.405 MB / 0.8224 GB, free: 70.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.364, allocations: 0.532 MB / 0.8229 GB, free: 70.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/1.366, allocations: 0.6287 MB / 0.8236 GB, free: 69.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/1.366, allocations: 27.52 kB / 0.8236 GB, free: 69.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/1.366, allocations: 0 / 0.8236 GB, free: 69.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/1.366, allocations: 7.969 kB / 0.8236 GB, free: 69.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.022/1.388, allocations: 15.27 MB / 0.8385 GB, free: 53.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001172/1.388, allocations: 46.38 kB / 0.8385 GB, free: 53.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.389, allocations: 451.1 kB / 0.839 GB, free: 53.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.962e-05/1.389, allocations: 60 kB / 0.839 GB, free: 53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/1.39, allocations: 99.98 kB / 0.8391 GB, free: 52.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.605e-05/1.39, allocations: 91.66 kB / 0.8392 GB, free: 52.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.732e-05/1.39, allocations: 71.69 kB / 0.8393 GB, free: 52.74 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/1.394, allocations: 4.309 MB / 0.8435 GB, free: 47.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/1.396, allocations: 0.6382 MB / 0.8441 GB, free: 47.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.397, allocations: 108 kB / 0.8442 GB, free: 46.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.399, allocations: 111.8 kB / 0.8443 GB, free: 46.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/1.4, allocations: 314.5 kB / 0.8446 GB, free: 46.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.4, allocations: 131.9 kB / 0.8448 GB, free: 46.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00637/1.406, allocations: 3.98 MB / 0.8486 GB, free: 42.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.82e-07/1.406, allocations: 4 kB / 0.8486 GB, free: 42.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007739/1.414, allocations: 1.366 MB / 0.85 GB, free: 41.07 MB / 0.5294 GB 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.0007093/1.415, allocations: 279.1 kB / 0.8502 GB, free: 40.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007889/1.423, allocations: 5.589 MB / 0.8557 GB, free: 35.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.818e-05/1.423, allocations: 8 kB / 0.8557 GB, free: 35.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/1.424, allocations: 1.202 MB / 0.8569 GB, free: 34.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00797/1.432, allocations: 0.9232 MB / 0.8578 GB, free: 33.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/1.462, allocations: 19.98 MB / 0.8773 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008102/1.47, allocations: 5.242 MB / 0.8824 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.471, allocations: 427.3 kB / 0.8828 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/1.471, allocations: 4 kB / 0.8828 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.3356/1.807, allocations: 86.61 MB / 0.9674 GB, free: 175.1 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches