Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001066, allocations: 99.17 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001282, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 12.2 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 63.57 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.026/0.1592, allocations: 27.37 MB / 0.4978 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.1732, allocations: 5.972 MB / 0.5037 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005917/0.1792, allocations: 123.8 kB / 0.5038 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004158/0.1833, allocations: 1.314 MB / 0.5051 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2408/0.4241, allocations: 3.842 MB / 0.5088 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.4258, allocations: 242.9 kB / 0.509 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004242/0.43, allocations: 2.603 MB / 0.5116 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/0.4346, allocations: 2.976 MB / 0.5145 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.4358, allocations: 0.6612 MB / 0.5151 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.4372, allocations: 1.009 MB / 0.5161 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.4375, allocations: 82.91 kB / 0.5162 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.4386, allocations: 0.527 MB / 0.5167 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.4397, allocations: 0.9495 MB / 0.5176 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005948/0.4403, allocations: 0.5039 MB / 0.5181 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003941/0.4442, allocations: 3.319 MB / 0.5214 GB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4443, allocations: 1.406 kB / 0.5214 GB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4443, allocations: 0 / 0.5214 GB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001257/0.4444, allocations: 0 / 0.5214 GB, free: 10.35 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.004406/0.4488, allocations: 2.381 MB / 0.5237 GB, free: 8.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4489, allocations: 9 kB / 0.5237 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/0.4534, allocations: 1.608 MB / 0.5253 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.456, allocations: 1.3 MB / 0.5265 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.707e-05/0.4561, allocations: 144.2 kB / 0.5267 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/0.4564, allocations: 186.4 kB / 0.5269 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009536/0.466, allocations: 6.231 MB / 0.5329 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.466, allocations: 10.78 kB / 0.533 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.4663, allocations: 88.25 kB / 0.533 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001747/0.468, allocations: 1.35 MB / 0.5344 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009379/0.4774, allocations: 5.304 MB / 0.5395 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/0.5046, allocations: 20.16 MB / 0.5592 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/0.5086, allocations: 2.005 MB / 0.5612 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009195/0.5096, allocations: 0.694 MB / 0.5619 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007016/0.5166, allocations: 3.614 MB / 0.5654 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5167, allocations: 35 kB / 0.5654 GB, free: 13.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.348e-06/0.5167, allocations: 0 / 0.5654 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.00858/0.5253, allocations: 1.976 MB / 0.5674 GB, free: 11.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.5254, allocations: 55.84 kB / 0.5674 GB, free: 11.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/0.53, allocations: 1.924 MB / 0.5693 GB, free: 9.109 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.5301, allocations: 37.7 kB / 0.5693 GB, free: 9.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.5321, allocations: 1.839 MB / 0.5711 GB, free: 7.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000482/0.5326, allocations: 315.4 kB / 0.5714 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.5328, allocations: 56 kB / 0.5715 GB, free: 6.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004002/0.5332, allocations: 497.2 kB / 0.5719 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/0.5352, allocations: 0.8802 MB / 0.5728 GB, free: 5.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/0.539, allocations: 2.74 MB / 0.5755 GB, free: 1.824 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.5425, allocations: 1.55 MB / 0.577 GB, free: 284 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.944e-05/0.5426, allocations: 20 kB / 0.577 GB, free: 264 kB / 414.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.008769/0.5514, allocations: 3.496 MB / 0.5804 GB, free: 12.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/0.5515, allocations: 32 kB / 0.5805 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.5516, allocations: 68 kB / 0.5805 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.5518, allocations: 96 kB / 0.5806 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/0.5548, allocations: 0.6589 MB / 0.5813 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001417/0.555, allocations: 123.5 kB / 0.5814 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.558, allocations: 420.9 kB / 0.5818 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/0.5584, allocations: 184 kB / 0.582 GB, free: 11.2 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003804/0.5622, allocations: 1.346 MB / 0.5833 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/0.5626, allocations: 161.8 kB / 0.5834 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.5632, allocations: 200.8 kB / 0.5836 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/0.5632, allocations: 8 kB / 0.5836 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.5633, allocations: 5.641 kB / 0.5836 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.5633, allocations: 4 kB / 0.5836 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0092/0.5725, allocations: 4.017 MB / 0.5876 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.5725, allocations: 8 kB / 0.5876 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.5732, allocations: 100.7 kB / 0.5877 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.77e-05/0.5732, allocations: 8 kB / 0.5877 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.5733, allocations: 27.98 kB / 0.5877 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-05/0.5733, allocations: 15.94 kB / 0.5877 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.5733, allocations: 7.938 kB / 0.5877 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.5747, allocations: 1.261 MB / 0.5889 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/0.5752, allocations: 258.7 kB / 0.5892 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.5754, allocations: 16 kB / 0.5892 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/0.5762, allocations: 31.97 kB / 0.5892 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5763, allocations: 58.66 kB / 0.5893 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.611e-05/0.5764, allocations: 28 kB / 0.5893 GB, free: 3.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002563/0.579, allocations: 1.261 MB / 0.5906 GB, free: 2.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.579, allocations: 0 / 0.5906 GB, free: 2.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003921/0.5829, allocations: 0.6743 MB / 0.5912 GB, free: 1.453 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003766/0.5833, allocations: 153.6 kB / 0.5914 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004747/0.5881, allocations: 2.015 MB / 0.5933 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5881, allocations: 0 / 0.5933 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008696/0.589, allocations: 464 kB / 0.5938 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.5908, allocations: 228.7 kB / 0.594 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.6049, allocations: 6.139 MB / 0.6 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/0.6081, allocations: 2.267 MB / 0.6022 GB, free: 6.078 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003617/0.6118, allocations: 0.9636 MB / 0.6031 GB, free: 5.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.6121, allocations: 123.4 kB / 0.6033 GB, free: 4.988 MB / 446.1 MB Notification: Performance of SimCode: time 1.153e-06/0.6121, allocations: 1.75 kB / 0.6033 GB, free: 4.988 MB / 446.1 MB Notification: Performance of Templates: time 0.02782/0.6399, allocations: 13.3 MB / 0.6162 GB, free: 7.777 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches