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.001214/0.001215, allocations: 114.2 kB / 17.98 MB, free: 5.375 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.001042/0.001042, allocations: 193.3 kB / 18.91 MB, free: 4.453 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.323/1.323, allocations: 222.9 MB / 242.6 MB, free: 15.37 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.2096/0.2096, allocations: 44.18 MB / 336.9 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 62.78 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 60.83 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.04119/0.1713, allocations: 37.69 MB / 0.4952 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1882, allocations: 7.529 MB / 0.5025 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00744/0.1957, allocations: 155.7 kB / 0.5027 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2475/0.4432, allocations: 1.92 MB / 0.5046 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.4468, allocations: 1.061 MB / 0.5056 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.4476, allocations: 272.3 kB / 0.5059 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004105/0.4517, allocations: 2.348 MB / 0.5081 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003937/0.4557, allocations: 2.443 MB / 0.5105 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.4576, allocations: 0.9137 MB / 0.5114 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.4597, allocations: 1.288 MB / 0.5127 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004801/0.4601, allocations: 199.7 kB / 0.5129 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.462, allocations: 0.7065 MB / 0.5136 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.4635, allocations: 1.162 MB / 0.5147 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.4648, allocations: 1.356 MB / 0.516 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.4689, allocations: 3.541 MB / 0.5195 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4689, allocations: 0 / 0.5195 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4689, allocations: 0 / 0.5195 GB, free: 9.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.469, allocations: 3.094 kB / 0.5195 GB, free: 9.312 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.006175/0.4752, allocations: 2.942 MB / 0.5224 GB, free: 8.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4753, allocations: 8.844 kB / 0.5224 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/0.4802, allocations: 1.589 MB / 0.5239 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.4831, allocations: 1.34 MB / 0.5252 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.4832, allocations: 149.5 kB / 0.5254 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004967/0.4837, allocations: 189.1 kB / 0.5255 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.4939, allocations: 6.441 MB / 0.5318 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/0.494, allocations: 13.25 kB / 0.5319 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.4943, allocations: 87.02 kB / 0.5319 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001893/0.4962, allocations: 1.405 MB / 0.5333 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.5064, allocations: 5.492 MB / 0.5387 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02919/0.5356, allocations: 20.6 MB / 0.5588 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00414/0.5398, allocations: 2.006 MB / 0.5607 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009655/0.5408, allocations: 0.6898 MB / 0.5614 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006363/0.5471, allocations: 3.633 MB / 0.565 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.5472, allocations: 46.94 kB / 0.565 GB, free: 3.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.386e-06/0.5472, allocations: 0 / 0.565 GB, free: 3.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.0054/0.5526, allocations: 1.979 MB / 0.5669 GB, free: 1.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.5527, allocations: 59.84 kB / 0.567 GB, free: 1.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.5562, allocations: 1.969 MB / 0.5689 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.61e-05/0.5563, allocations: 29.7 kB / 0.569 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.5577, allocations: 1.893 MB / 0.5708 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.5581, allocations: 311.7 kB / 0.5711 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.5592, allocations: 0.6172 MB / 0.5717 GB, free: 13.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5594, allocations: 361.9 kB / 0.572 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.5607, allocations: 0.8862 MB / 0.5729 GB, free: 11.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/0.5631, allocations: 2.783 MB / 0.5756 GB, free: 8.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/0.5672, allocations: 3.992 MB / 0.5795 GB, free: 3.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.112e-05/0.5673, allocations: 24 kB / 0.5796 GB, free: 3.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006154/0.5734, allocations: 3.556 MB / 0.583 GB, free: 276 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/0.5735, allocations: 39.64 kB / 0.5831 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/0.5737, allocations: 72 kB / 0.5831 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.5738, allocations: 88 kB / 0.5832 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.5758, allocations: 0.6554 MB / 0.5839 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/0.5759, allocations: 133.7 kB / 0.584 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.5783, allocations: 419.5 kB / 0.5844 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/0.5787, allocations: 184 kB / 0.5846 GB, free: 14.79 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.002557/0.5813, allocations: 1.374 MB / 0.5859 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.5816, allocations: 161.8 kB / 0.5861 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.5819, allocations: 201.2 kB / 0.5862 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.582, allocations: 8 kB / 0.5863 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.582, allocations: 0 / 0.5863 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.582, allocations: 3.984 kB / 0.5863 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/0.5888, allocations: 4.099 MB / 0.5903 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.5888, allocations: 4 kB / 0.5903 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.5892, allocations: 105.8 kB / 0.5904 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.5893, allocations: 8 kB / 0.5904 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.5893, allocations: 22.88 kB / 0.5904 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.5893, allocations: 15.88 kB / 0.5904 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.5893, allocations: 12 kB / 0.5904 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.5908, allocations: 1.268 MB / 0.5917 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.5913, allocations: 246.8 kB / 0.5919 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.5915, allocations: 23.98 kB / 0.5919 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.592, allocations: 23.98 kB / 0.5919 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.5921, allocations: 57.55 kB / 0.592 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/0.5921, allocations: 35.34 kB / 0.592 GB, free: 6.992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001809/0.594, allocations: 1.288 MB / 0.5933 GB, free: 5.715 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.594, allocations: 0 / 0.5933 GB, free: 5.715 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002637/0.5966, allocations: 0.7076 MB / 0.594 GB, free: 5.004 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.0003326/0.597, allocations: 152.2 kB / 0.5941 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003404/0.6004, allocations: 2.256 MB / 0.5963 GB, free: 2.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6004, allocations: 0 / 0.5963 GB, free: 2.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.601, allocations: 461.5 kB / 0.5968 GB, free: 2.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.6025, allocations: 247.9 kB / 0.597 GB, free: 2.137 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.6134, allocations: 6.865 MB / 0.6037 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.6157, allocations: 2.319 MB / 0.606 GB, free: 8.824 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/0.6162, allocations: 143.4 kB / 0.6061 GB, free: 8.684 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.6162, allocations: 2.906 kB / 0.6061 GB, free: 8.684 MB / 462.1 MB Notification: Performance of Templates: time 0.0481/0.6644, allocations: 30.53 MB / 0.6359 GB, free: 10.23 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