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.0009816/0.0009816, allocations: 90.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 203.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003111, allocations: 11.94 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 63.55 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03191/0.1646, allocations: 29.38 MB / 0.5005 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.1813, allocations: 6.279 MB / 0.5066 GB, free: 332 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006469/0.1878, allocations: 123.8 kB / 0.5067 GB, free: 208 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.245/0.4329, allocations: 278.9 kB / 0.507 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.4363, allocations: 1.046 MB / 0.508 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.437, allocations: 275.1 kB / 0.5083 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004984/0.442, allocations: 3.364 MB / 0.5115 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005667/0.4477, allocations: 3.33 MB / 0.5148 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.4489, allocations: 0.6296 MB / 0.5154 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.4506, allocations: 1.03 MB / 0.5164 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003682/0.451, allocations: 91.84 kB / 0.5165 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.4525, allocations: 0.6318 MB / 0.5171 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.4537, allocations: 0.9855 MB / 0.5181 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.4548, allocations: 1.177 MB / 0.5192 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.4594, allocations: 4.002 MB / 0.5231 GB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4594, allocations: 0 / 0.5231 GB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4594, allocations: 0 / 0.5231 GB, free: 8.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001759/0.4596, allocations: 4 kB / 0.5231 GB, free: 8.305 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.006814/0.4664, allocations: 2.343 MB / 0.5254 GB, free: 6.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4665, allocations: 12.59 kB / 0.5254 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006182/0.4727, allocations: 1.603 MB / 0.527 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004485/0.4772, allocations: 1.32 MB / 0.5283 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.4774, allocations: 143.2 kB / 0.5284 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008244/0.4782, allocations: 190.1 kB / 0.5286 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.4927, allocations: 6.249 MB / 0.5347 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.099e-05/0.4929, allocations: 18.69 kB / 0.5347 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/0.4931, allocations: 89.98 kB / 0.5348 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002013/0.4952, allocations: 1.336 MB / 0.5361 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.5067, allocations: 5.337 MB / 0.5413 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/0.5379, allocations: 20.18 MB / 0.561 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/0.5421, allocations: 2.008 MB / 0.563 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000955/0.5431, allocations: 0.6953 MB / 0.5637 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006185/0.5493, allocations: 3.609 MB / 0.5672 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5494, allocations: 35 kB / 0.5672 GB, free: 3.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.975e-06/0.5494, allocations: 0 / 0.5672 GB, free: 3.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005337/0.5547, allocations: 1.98 MB / 0.5692 GB, free: 1.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.5548, allocations: 59.78 kB / 0.5692 GB, free: 1.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/0.5577, allocations: 1.945 MB / 0.5711 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.5579, allocations: 29.7 kB / 0.5712 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.559, allocations: 1.839 MB / 0.573 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.5594, allocations: 312.9 kB / 0.5733 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.5597, allocations: 279.2 kB / 0.5735 GB, free: 13.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.5599, allocations: 363.5 kB / 0.5739 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.5612, allocations: 0.8803 MB / 0.5747 GB, free: 12.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.5638, allocations: 2.752 MB / 0.5774 GB, free: 8.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.5686, allocations: 3.96 MB / 0.5813 GB, free: 3.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/0.5686, allocations: 20 kB / 0.5813 GB, free: 3.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00674/0.5754, allocations: 3.528 MB / 0.5847 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.5755, allocations: 32 kB / 0.5848 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.85e-05/0.5755, allocations: 72.78 kB / 0.5848 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.865e-05/0.5756, allocations: 88 kB / 0.5849 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.5775, allocations: 0.6557 MB / 0.5856 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001215/0.5776, allocations: 135.4 kB / 0.5857 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.5801, allocations: 415.5 kB / 0.5861 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/0.5804, allocations: 190.1 kB / 0.5863 GB, free: 15.1 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.003373/0.5837, allocations: 1.344 MB / 0.5876 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/0.5842, allocations: 157.9 kB / 0.5877 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.5847, allocations: 196.8 kB / 0.5879 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/0.5847, allocations: 10.73 kB / 0.5879 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.5847, allocations: 7.938 kB / 0.5879 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.5847, allocations: 3.984 kB / 0.5879 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007208/0.592, allocations: 4.024 MB / 0.5919 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.592, allocations: 11.94 kB / 0.5919 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.5924, allocations: 103.8 kB / 0.592 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.5925, allocations: 8 kB / 0.592 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.5925, allocations: 16 kB / 0.592 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/0.5925, allocations: 15.92 kB / 0.592 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.5925, allocations: 11.94 kB / 0.592 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.5943, allocations: 1.256 MB / 0.5933 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.5948, allocations: 266.6 kB / 0.5935 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.595, allocations: 16 kB / 0.5935 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.5955, allocations: 31.89 kB / 0.5936 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.5956, allocations: 63.75 kB / 0.5936 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.5957, allocations: 28 kB / 0.5936 GB, free: 7.273 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002017/0.5977, allocations: 1.267 MB / 0.5949 GB, free: 6.016 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5977, allocations: 0 / 0.5949 GB, free: 6.016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003078/0.6008, allocations: 0.6788 MB / 0.5955 GB, free: 5.336 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.0003322/0.6011, allocations: 146 kB / 0.5957 GB, free: 5.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003007/0.6042, allocations: 2.031 MB / 0.5977 GB, free: 3.168 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6042, allocations: 0 / 0.5977 GB, free: 3.168 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.6047, allocations: 461.5 kB / 0.5981 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.6072, allocations: 225.3 kB / 0.5983 GB, free: 2.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009604/0.6169, allocations: 6.413 MB / 0.6046 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002493/0.6194, allocations: 2.279 MB / 0.6068 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002397/0.6218, allocations: 0.9481 MB / 0.6077 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.6221, allocations: 119.4 kB / 0.6079 GB, free: 8.586 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.6221, allocations: 4 kB / 0.6079 GB, free: 8.582 MB / 462.1 MB Notification: Performance of Templates: time 0.03121/0.6533, allocations: 13.54 MB / 0.6211 GB, free: 11.12 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