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.00158/0.00158, allocations: 113.4 kB / 17.86 MB, free: 5.625 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.001989/0.001989, allocations: 201.9 kB / 18.77 MB, free: 4.711 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.854/1.854, allocations: 222.9 MB / 242.4 MB, free: 15.33 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.3946/0.3946, allocations: 44.18 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 69.58 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.179, allocations: 60.84 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.07024/0.2493, allocations: 37.69 MB / 0.495 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03227/0.2816, allocations: 7.58 MB / 0.5024 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01275/0.2945, allocations: 155.7 kB / 0.5025 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3835/0.678, allocations: 1.987 MB / 0.5045 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005306/0.6834, allocations: 1.065 MB / 0.5055 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.6849, allocations: 267.9 kB / 0.5058 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007948/0.6929, allocations: 3.398 MB / 0.5091 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00613/0.699, allocations: 2.318 MB / 0.5114 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.7018, allocations: 0.8074 MB / 0.5121 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003894/0.7057, allocations: 1.241 MB / 0.5134 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.7071, allocations: 150 kB / 0.5135 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.7103, allocations: 0.6943 MB / 0.5142 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002834/0.7132, allocations: 1.11 MB / 0.5153 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004101/0.7173, allocations: 1.313 MB / 0.5165 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007149/0.7245, allocations: 3.502 MB / 0.52 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.7245, allocations: 4.562 kB / 0.52 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.7245, allocations: 3.938 kB / 0.52 GB, free: 9.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002327/0.7248, allocations: 0 / 0.52 GB, free: 9.234 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.01433/0.7391, allocations: 2.937 MB / 0.5228 GB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.7392, allocations: 10.62 kB / 0.5229 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.7496, allocations: 1.586 MB / 0.5244 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004759/0.7544, allocations: 1.344 MB / 0.5257 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.7547, allocations: 146.9 kB / 0.5259 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.7559, allocations: 190.2 kB / 0.526 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.7749, allocations: 6.438 MB / 0.5323 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.7751, allocations: 11.56 kB / 0.5323 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009877/0.7761, allocations: 97.09 kB / 0.5324 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003847/0.78, allocations: 1.402 MB / 0.5338 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01828/0.7983, allocations: 5.486 MB / 0.5392 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05238/0.8507, allocations: 20.6 MB / 0.5593 GB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007434/0.8582, allocations: 2.007 MB / 0.5612 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.86, allocations: 0.6977 MB / 0.5619 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.8718, allocations: 3.627 MB / 0.5654 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.8719, allocations: 46.92 kB / 0.5655 GB, free: 3.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 8.937e-06/0.872, allocations: 3.984 kB / 0.5655 GB, free: 3.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.009835/0.8818, allocations: 1.988 MB / 0.5674 GB, free: 1.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.8819, allocations: 55.84 kB / 0.5675 GB, free: 1.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006139/0.8881, allocations: 1.963 MB / 0.5694 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.8883, allocations: 37.7 kB / 0.5694 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00231/0.8906, allocations: 1.883 MB / 0.5713 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006333/0.8912, allocations: 311.5 kB / 0.5716 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/0.8932, allocations: 0.626 MB / 0.5722 GB, free: 12.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002819/0.8935, allocations: 355.7 kB / 0.5725 GB, free: 12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/0.8961, allocations: 0.8971 MB / 0.5734 GB, free: 11.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/0.9005, allocations: 2.77 MB / 0.5761 GB, free: 7.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007593/0.9081, allocations: 4.003 MB / 0.58 GB, free: 2.766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/0.9083, allocations: 18.81 kB / 0.58 GB, free: 2.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.01261/0.9209, allocations: 3.557 MB / 0.5835 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.9212, allocations: 32 kB / 0.5835 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/0.9215, allocations: 68 kB / 0.5836 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.9218, allocations: 88 kB / 0.5837 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003837/0.9256, allocations: 0.6583 MB / 0.5843 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001963/0.9259, allocations: 133.3 kB / 0.5845 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/0.9303, allocations: 424 kB / 0.5849 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007683/0.9311, allocations: 188 kB / 0.585 GB, free: 14.11 MB / 446.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.004786/0.9359, allocations: 1.376 MB / 0.5864 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000534/0.9365, allocations: 157.9 kB / 0.5865 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007945/0.9373, allocations: 201.2 kB / 0.5867 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-05/0.9374, allocations: 8 kB / 0.5867 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.9374, allocations: 4 kB / 0.5867 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.9374, allocations: 0 / 0.5867 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.9511, allocations: 4.095 MB / 0.5907 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/0.9512, allocations: 12.16 kB / 0.5908 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.952, allocations: 103.7 kB / 0.5909 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-05/0.952, allocations: 8 kB / 0.5909 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.9521, allocations: 20 kB / 0.5909 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-05/0.9521, allocations: 10.81 kB / 0.5909 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.9522, allocations: 10.53 kB / 0.5909 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/0.9549, allocations: 1.273 MB / 0.5921 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/0.9557, allocations: 246.7 kB / 0.5924 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006282/0.9564, allocations: 19.98 kB / 0.5924 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.9576, allocations: 31.97 kB / 0.5924 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.9578, allocations: 56.89 kB / 0.5925 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.9579, allocations: 32 kB / 0.5925 GB, free: 6.316 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004089/0.962, allocations: 1.283 MB / 0.5938 GB, free: 5.043 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.962, allocations: 0 / 0.5938 GB, free: 5.043 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005121/0.9672, allocations: 0.714 MB / 0.5945 GB, free: 4.328 MB / 446.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.0005914/0.9678, allocations: 150.1 kB / 0.5946 GB, free: 4.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005082/0.9729, allocations: 2.029 MB / 0.5966 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.9729, allocations: 448 / 0.5966 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009517/0.9739, allocations: 465 kB / 0.597 GB, free: 1.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.9767, allocations: 238.9 kB / 0.5973 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.9952, allocations: 6.867 MB / 0.604 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005063/1, allocations: 2.324 MB / 0.6062 GB, free: 8.367 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007454/1.001, allocations: 147.4 kB / 0.6064 GB, free: 8.223 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/1.001, allocations: 0 / 0.6064 GB, free: 8.223 MB / 462.1 MB Notification: Performance of Templates: time 0.06978/1.071, allocations: 30.51 MB / 0.6362 GB, free: 9.789 MB / 494.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/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