Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 106.2 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 77.88 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1108, allocations: 62.44 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.02935/0.1402, allocations: 30.31 MB / 0.4978 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.1551, allocations: 6.267 MB / 0.504 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005832/0.161, allocations: 123.8 kB / 0.5041 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2183/0.3793, allocations: 1.927 MB / 0.506 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003461/0.3829, allocations: 1.034 MB / 0.507 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.3838, allocations: 276.9 kB / 0.5072 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004318/0.3882, allocations: 2.34 MB / 0.5095 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004079/0.3923, allocations: 2.422 MB / 0.5119 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.3944, allocations: 0.8878 MB / 0.5128 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.3969, allocations: 1.27 MB / 0.514 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.3979, allocations: 194.3 kB / 0.5142 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.4003, allocations: 0.7013 MB / 0.5149 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002393/0.4027, allocations: 1.123 MB / 0.516 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0039/0.4066, allocations: 1.319 MB / 0.5172 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005851/0.4125, allocations: 4.178 MB / 0.5213 GB, free: 8.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4126, allocations: 4.594 kB / 0.5213 GB, free: 8.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4126, allocations: 0 / 0.5213 GB, free: 8.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001343/0.4127, allocations: 0 / 0.5213 GB, free: 8.75 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005255/0.418, allocations: 2.862 MB / 0.5241 GB, free: 7.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.418, allocations: 17.72 kB / 0.5241 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/0.4227, allocations: 1.556 MB / 0.5257 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.4248, allocations: 1.322 MB / 0.527 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.325e-05/0.4249, allocations: 150.2 kB / 0.5271 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.4252, allocations: 183 kB / 0.5273 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008018/0.4332, allocations: 6.244 MB / 0.5334 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.4333, allocations: 13.34 kB / 0.5334 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.4335, allocations: 89.11 kB / 0.5335 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001634/0.4352, allocations: 1.344 MB / 0.5348 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008651/0.4438, allocations: 5.329 MB / 0.54 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02845/0.4723, allocations: 20.17 MB / 0.5597 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005195/0.4776, allocations: 2.007 MB / 0.5616 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.4788, allocations: 0.6953 MB / 0.5623 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006693/0.4855, allocations: 3.607 MB / 0.5658 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.4855, allocations: 43 kB / 0.5659 GB, free: 3.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.457e-06/0.4856, allocations: 4 kB / 0.5659 GB, free: 3.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005422/0.491, allocations: 1.98 MB / 0.5678 GB, free: 1.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.4911, allocations: 55.84 kB / 0.5679 GB, free: 1.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/0.4945, allocations: 1.937 MB / 0.5698 GB, free: 15.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.4946, allocations: 39.97 kB / 0.5698 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.4958, allocations: 1.841 MB / 0.5716 GB, free: 13.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.4961, allocations: 312 kB / 0.5719 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008661/0.497, allocations: 0.6142 MB / 0.5725 GB, free: 12.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4972, allocations: 361.9 kB / 0.5728 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.4985, allocations: 0.886 MB / 0.5737 GB, free: 11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.501, allocations: 2.749 MB / 0.5764 GB, free: 7.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/0.5052, allocations: 3.971 MB / 0.5803 GB, free: 2.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.806e-05/0.5053, allocations: 20.66 kB / 0.5803 GB, free: 2.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00506/0.5103, allocations: 3.521 MB / 0.5837 GB, free: 15.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.5104, allocations: 37.66 kB / 0.5838 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-05/0.5105, allocations: 68 kB / 0.5838 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.57e-05/0.5106, allocations: 88 kB / 0.5839 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.5124, allocations: 0.6532 MB / 0.5846 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001021/0.5125, allocations: 137.8 kB / 0.5847 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.5144, allocations: 419.7 kB / 0.5851 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.5146, allocations: 186.4 kB / 0.5853 GB, free: 14.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.002385/0.517, allocations: 1.347 MB / 0.5866 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.5173, allocations: 153.9 kB / 0.5867 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.5176, allocations: 188.9 kB / 0.5869 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.5177, allocations: 14.53 kB / 0.5869 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5177, allocations: 3.938 kB / 0.5869 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.5177, allocations: 7.984 kB / 0.5869 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006676/0.5244, allocations: 4.021 MB / 0.5909 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.5244, allocations: 16.77 kB / 0.5909 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.5248, allocations: 99.77 kB / 0.591 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.5248, allocations: 8 kB / 0.591 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.5249, allocations: 27.98 kB / 0.591 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.5249, allocations: 12 kB / 0.591 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.5249, allocations: 7.938 kB / 0.591 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.5264, allocations: 1.262 MB / 0.5923 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.5269, allocations: 246.7 kB / 0.5925 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.5271, allocations: 23.98 kB / 0.5925 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.5275, allocations: 23.89 kB / 0.5925 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.5277, allocations: 55.83 kB / 0.5926 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.5277, allocations: 39.27 kB / 0.5926 GB, free: 6.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001919/0.5297, allocations: 1.263 MB / 0.5939 GB, free: 5.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5297, allocations: 0 / 0.5939 GB, free: 5.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002789/0.5325, allocations: 0.6805 MB / 0.5945 GB, free: 4.414 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.0003747/0.5328, allocations: 145.9 kB / 0.5947 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.5365, allocations: 2.245 MB / 0.5969 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5366, allocations: 0 / 0.5969 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.5371, allocations: 465 kB / 0.5973 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.5389, allocations: 249.5 kB / 0.5975 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.5501, allocations: 6.391 MB / 0.6038 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/0.5524, allocations: 2.271 MB / 0.606 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002197/0.5546, allocations: 0.9558 MB / 0.6069 GB, free: 7.574 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.5549, allocations: 123.4 kB / 0.607 GB, free: 7.453 MB / 462.1 MB Notification: Performance of SimCode: time 2.435e-06/0.5549, allocations: 0 / 0.607 GB, free: 7.453 MB / 462.1 MB Notification: Performance of Templates: time 0.02815/0.583, allocations: 14.1 MB / 0.6208 GB, free: 9.449 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches