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.001673/0.001674, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001988/0.001988, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.734/1.734, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.11 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002193, allocations: 77.25 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1308, allocations: 62.44 MB / 480.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01265/0.1435, allocations: 9.525 MB / 490.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006504/0.1501, allocations: 2.92 MB / 493.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.1516, allocations: 51.88 kB / 493.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003909/0.1555, allocations: 2.005 MB / 495.3 MB, free: 6.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.1585, allocations: 1.101 MB / 496.4 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008969/0.1594, allocations: 291.4 kB / 496.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003382/0.1628, allocations: 2.322 MB / 499 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002857/0.1657, allocations: 2.321 MB / 0.4895 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.167, allocations: 0.8801 MB / 0.4904 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.1685, allocations: 1.149 MB / 0.4915 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.1689, allocations: 192 kB / 0.4917 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.1702, allocations: 0.7021 MB / 0.4924 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.1713, allocations: 1.107 MB / 0.4935 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.1727, allocations: 1.305 MB / 0.4947 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004622/0.1773, allocations: 4.151 MB / 0.4988 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.1774, allocations: 7.984 kB / 0.4988 GB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1774, allocations: 3.938 kB / 0.4988 GB, free: 7.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.243e-05/0.1774, allocations: 0 / 0.4988 GB, free: 7.059 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.004879/0.1823, allocations: 2.861 MB / 0.5016 GB, free: 4.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1824, allocations: 12.03 kB / 0.5016 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/0.1876, allocations: 1.561 MB / 0.5031 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.1903, allocations: 1.32 MB / 0.5044 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.1905, allocations: 144 kB / 0.5046 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003691/0.1908, allocations: 191.8 kB / 0.5047 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2354/0.4262, allocations: 6.236 MB / 0.5108 GB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.325e-05/0.4263, allocations: 12.94 kB / 0.5109 GB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.4266, allocations: 90.23 kB / 0.5109 GB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001977/0.4285, allocations: 1.343 MB / 0.5122 GB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009817/0.4384, allocations: 5.33 MB / 0.5175 GB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/0.4596, allocations: 20.16 MB / 0.5371 GB, free: 21.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.4628, allocations: 2.013 MB / 0.5391 GB, free: 19.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006838/0.4635, allocations: 0.6952 MB / 0.5398 GB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004624/0.4682, allocations: 3.611 MB / 0.5433 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.4682, allocations: 38.69 kB / 0.5434 GB, free: 14.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.685e-06/0.4682, allocations: 0 / 0.5434 GB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004488/0.4727, allocations: 1.981 MB / 0.5453 GB, free: 12.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4727, allocations: 59.84 kB / 0.5453 GB, free: 12.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.4746, allocations: 1.941 MB / 0.5472 GB, free: 10.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.4746, allocations: 33.7 kB / 0.5473 GB, free: 10.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006107/0.4752, allocations: 1.833 MB / 0.5491 GB, free: 8.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.4754, allocations: 312 kB / 0.5494 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005281/0.4759, allocations: 0.6229 MB / 0.55 GB, free: 8.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.476, allocations: 353.9 kB / 0.5503 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009128/0.4769, allocations: 0.8881 MB / 0.5512 GB, free: 6.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.4784, allocations: 2.747 MB / 0.5539 GB, free: 3.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/0.4818, allocations: 3.978 MB / 0.5577 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.344e-05/0.4819, allocations: 16 kB / 0.5578 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00576/0.4876, allocations: 3.515 MB / 0.5612 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.4877, allocations: 32 kB / 0.5612 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.582e-05/0.4878, allocations: 71.97 kB / 0.5613 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.443e-05/0.4879, allocations: 95.94 kB / 0.5614 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.4898, allocations: 0.6511 MB / 0.562 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001084/0.4899, allocations: 131.5 kB / 0.5621 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.4917, allocations: 411.5 kB / 0.5625 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.4919, allocations: 188 kB / 0.5627 GB, free: 9.094 MB / 398.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.001891/0.4938, allocations: 1.35 MB / 0.564 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.4941, allocations: 153.9 kB / 0.5642 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.4944, allocations: 200.9 kB / 0.5644 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.4944, allocations: 11.94 kB / 0.5644 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4945, allocations: 0 / 0.5644 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4945, allocations: 3.984 kB / 0.5644 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.5009, allocations: 4.021 MB / 0.5683 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.5009, allocations: 8 kB / 0.5683 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.5014, allocations: 103.8 kB / 0.5684 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.5014, allocations: 12 kB / 0.5684 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.5014, allocations: 23.98 kB / 0.5685 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.5015, allocations: 11.94 kB / 0.5685 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.5015, allocations: 8 kB / 0.5685 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.503, allocations: 1.265 MB / 0.5697 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.5034, allocations: 246.7 kB / 0.5699 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.5035, allocations: 16 kB / 0.57 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.504, allocations: 32.84 kB / 0.57 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/0.5041, allocations: 51.83 kB / 0.57 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.5042, allocations: 35.94 kB / 0.5701 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.5059, allocations: 1.267 MB / 0.5713 GB, free: 16 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5059, allocations: 0 / 0.5713 GB, free: 16 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002447/0.5084, allocations: 0.6895 MB / 0.572 GB, free: 15.32 MB / 414.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.0003146/0.5087, allocations: 141.6 kB / 0.5721 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.5123, allocations: 2.254 MB / 0.5743 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5123, allocations: 0 / 0.5743 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006106/0.5129, allocations: 470.5 kB / 0.5748 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.5141, allocations: 230.8 kB / 0.575 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008985/0.5231, allocations: 5.421 MB / 0.5803 GB, free: 6.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/0.5257, allocations: 2.283 MB / 0.5825 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.5262, allocations: 139.4 kB / 0.5826 GB, free: 4.273 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5262, allocations: 0 / 0.5826 GB, free: 4.273 MB / 414.1 MB Notification: Performance of Templates: time 0.04842/0.5746, allocations: 29.86 MB / 0.6118 GB, free: 6.488 MB / 446.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/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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches