Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 77.31 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01635/0.1333, allocations: 15 MB / 496.5 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1436, allocations: 5.034 MB / 0.4897 GB, free: 420 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.146, allocations: 123.6 kB / 0.4898 GB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009935/0.156, allocations: 5.982 MB / 0.4957 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007412/0.1635, allocations: 2.727 MB / 0.4984 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.167, allocations: 1.575 MB / 0.4999 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2145/0.3816, allocations: 7.776 MB / 0.5075 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.3922, allocations: 7.385 MB / 0.5147 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006066/0.3983, allocations: 2.976 MB / 0.5176 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007263/0.4056, allocations: 3.777 MB / 0.5213 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002746/0.4083, allocations: 0.5703 MB / 0.5218 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/0.4128, allocations: 1.393 MB / 0.5232 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005226/0.418, allocations: 3.453 MB / 0.5266 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005999/0.424, allocations: 3.833 MB / 0.5303 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009587/0.4336, allocations: 11.6 MB / 0.5416 GB, free: 2.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4337, allocations: 0 / 0.5416 GB, free: 2.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4337, allocations: 0 / 0.5416 GB, free: 2.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003564/0.4341, allocations: 0 / 0.5416 GB, free: 2.711 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.0144/0.4485, allocations: 8.454 MB / 0.5499 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4485, allocations: 8.031 kB / 0.5499 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008661/0.4572, allocations: 2.481 MB / 0.5523 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.4681, allocations: 4.516 MB / 0.5567 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004665/0.4686, allocations: 421.6 kB / 0.5571 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002577/0.4712, allocations: 0.5424 MB / 0.5577 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03023/0.5014, allocations: 16.68 MB / 0.574 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002115/0.5017, allocations: 72.61 kB / 0.574 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008303/0.5025, allocations: 263.8 kB / 0.5743 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003742/0.5063, allocations: 2.926 MB / 0.5771 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02451/0.5308, allocations: 12.79 MB / 0.5896 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07997/0.6108, allocations: 63.96 MB / 0.6521 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.6261, allocations: 5.371 MB / 0.6573 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003393/0.6296, allocations: 2.114 MB / 0.6594 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/0.647, allocations: 9.934 MB / 0.6691 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.6471, allocations: 55.88 kB / 0.6692 GB, free: 484 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.849e-06/0.6471, allocations: 0 / 0.6692 GB, free: 484 kB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.0388/0.6859, allocations: 13.96 MB / 0.6828 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.6861, allocations: 152.7 kB / 0.6829 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009782/0.6959, allocations: 6.292 MB / 0.6891 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004172/0.6963, allocations: 53.7 kB / 0.6891 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004297/0.7007, allocations: 5.079 MB / 0.6941 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.7017, allocations: 0.8148 MB / 0.6949 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/0.7039, allocations: 1.673 MB / 0.6965 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.704, allocations: 305.1 kB / 0.6968 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/0.7075, allocations: 2.327 MB / 0.6991 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006551/0.7141, allocations: 7.673 MB / 0.7066 GB, free: 7.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2549/0.969, allocations: 10.87 MB / 0.7172 GB, free: 174.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004316/0.9695, allocations: 54.69 kB / 0.7172 GB, free: 174.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.02042/0.9899, allocations: 9.647 MB / 0.7267 GB, free: 172.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.9901, allocations: 90.94 kB / 0.7268 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003626/0.9905, allocations: 193.1 kB / 0.7269 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004085/0.9909, allocations: 250.9 kB / 0.7272 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006243/0.9972, allocations: 1.922 MB / 0.7291 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005551/0.9977, allocations: 371.2 kB / 0.7294 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/1.004, allocations: 412.6 kB / 0.7298 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.005, allocations: 0.5209 MB / 0.7303 GB, free: 171.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.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 (1043): * Single equations (assignments): 1032 * 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.006554/1.011, allocations: 3.296 MB / 0.7335 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.013, allocations: 0.526 MB / 0.734 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/1.014, allocations: 0.6219 MB / 0.7346 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.635e-05/1.014, allocations: 20.19 kB / 0.7347 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/1.014, allocations: 0 / 0.7347 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/1.014, allocations: 12.8 kB / 0.7347 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02126/1.036, allocations: 14.97 MB / 0.7493 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000111/1.036, allocations: 52.16 kB / 0.7494 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.037, allocations: 450.5 kB / 0.7498 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-05/1.037, allocations: 62.75 kB / 0.7498 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/1.037, allocations: 96.09 kB / 0.7499 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.171e-05/1.037, allocations: 90.83 kB / 0.75 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.822e-05/1.037, allocations: 75.19 kB / 0.7501 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/1.041, allocations: 4.302 MB / 0.7543 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.042, allocations: 0.6255 MB / 0.7549 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008065/1.043, allocations: 117.8 kB / 0.755 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/1.045, allocations: 112.8 kB / 0.7551 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/1.046, allocations: 304.9 kB / 0.7554 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.046, allocations: 131.9 kB / 0.7555 GB, free: 160.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005899/1.052, allocations: 3.935 MB / 0.7594 GB, free: 159 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.92e-07/1.052, allocations: 0 / 0.7594 GB, free: 159 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007078/1.059, allocations: 1.312 MB / 0.7607 GB, free: 158.4 MB / 0.545 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.0004784/1.059, allocations: 269.9 kB / 0.7609 GB, free: 158.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006711/1.066, allocations: 5.483 MB / 0.7663 GB, free: 153.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-05/1.066, allocations: 8 kB / 0.7663 GB, free: 153.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.067, allocations: 1.191 MB / 0.7674 GB, free: 152.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004516/1.072, allocations: 0.8837 MB / 0.7683 GB, free: 151.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.092, allocations: 15.05 MB / 0.783 GB, free: 137.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006921/1.099, allocations: 5.072 MB / 0.788 GB, free: 132.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005534/1.105, allocations: 2.542 MB / 0.7904 GB, free: 129.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/1.106, allocations: 359.4 kB / 0.7908 GB, free: 129.5 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/1.106, allocations: 2.844 kB / 0.7908 GB, free: 129.5 MB / 0.545 GB Notification: Performance of Templates: time 0.06633/1.172, allocations: 36.22 MB / 0.8262 GB, free: 93.69 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches