Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009281/0.0009281, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009585/0.0009585, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 45.91 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002676, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 63.46 MB / 481.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.29/0.4273, allocations: 45.04 MB / 0.5141 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02226/0.4496, allocations: 10.18 MB / 0.524 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009823/0.4594, allocations: 217.9 kB / 0.5242 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.4701, allocations: 2.32 MB / 0.5265 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02595/0.4961, allocations: 6.49 MB / 0.5328 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.4985, allocations: 285.8 kB / 0.5331 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003072/0.5016, allocations: 1.446 MB / 0.5345 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004963/0.5066, allocations: 3.773 MB / 0.5382 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.5077, allocations: 0.6281 MB / 0.5388 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008993/0.5086, allocations: 0.7863 MB / 0.5396 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.5089, allocations: 104.6 kB / 0.5397 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.5099, allocations: 0.531 MB / 0.5402 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008347/0.5108, allocations: 1.09 MB / 0.5413 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004929/0.5113, allocations: 0.6138 MB / 0.5419 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003345/0.5146, allocations: 4.149 MB / 0.5459 GB, free: 2.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5146, allocations: 0 / 0.5459 GB, free: 2.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5147, allocations: 3.938 kB / 0.5459 GB, free: 2.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.5148, allocations: 0 / 0.5459 GB, free: 2.227 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.004578/0.5194, allocations: 2.862 MB / 0.5487 GB, free: 168 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5194, allocations: 12.7 kB / 0.5487 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006219/0.5257, allocations: 1.993 MB / 0.5507 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/0.5294, allocations: 1.517 MB / 0.5522 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.5295, allocations: 180.5 kB / 0.5523 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000558/0.5301, allocations: 236 kB / 0.5526 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.5432, allocations: 7.519 MB / 0.5599 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.168e-05/0.5433, allocations: 19.86 kB / 0.5599 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003198/0.5437, allocations: 109.9 kB / 0.56 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002453/0.5461, allocations: 1.57 MB / 0.5616 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.5602, allocations: 6.285 MB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03702/0.5973, allocations: 23.38 MB / 0.5905 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004687/0.602, allocations: 2.185 MB / 0.5927 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007163/0.6092, allocations: 3.928 MB / 0.5965 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.6093, allocations: 39.12 kB / 0.5965 GB, free: 15.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 4.668e-06/0.6093, allocations: 0 / 0.5965 GB, free: 15.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.006312/0.6156, allocations: 2.51 MB / 0.599 GB, free: 13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.6157, allocations: 59.97 kB / 0.599 GB, free: 12.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/0.6185, allocations: 2.093 MB / 0.6011 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.6186, allocations: 33.7 kB / 0.6011 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.6199, allocations: 2.114 MB / 0.6032 GB, free: 8.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.6202, allocations: 347.5 kB / 0.6035 GB, free: 8.297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.6203, allocations: 64 kB / 0.6036 GB, free: 8.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.6205, allocations: 452.9 kB / 0.604 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.6217, allocations: 0.9275 MB / 0.6049 GB, free: 6.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.6242, allocations: 2.889 MB / 0.6077 GB, free: 2.984 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.6263, allocations: 1.638 MB / 0.6093 GB, free: 1.344 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.944e-05/0.6263, allocations: 20 kB / 0.6094 GB, free: 1.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005469/0.6318, allocations: 3.736 MB / 0.613 GB, free: 13.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.6319, allocations: 32 kB / 0.613 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-05/0.632, allocations: 72 kB / 0.6131 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/0.6321, allocations: 100 kB / 0.6132 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.6341, allocations: 0.7018 MB / 0.6139 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001163/0.6342, allocations: 139.4 kB / 0.614 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.6364, allocations: 435.3 kB / 0.6144 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/0.6367, allocations: 199 kB / 0.6146 GB, free: 11.92 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (388): * Single equations (assignments): 383 * 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.002673/0.6394, allocations: 1.569 MB / 0.6162 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.6397, allocations: 169.8 kB / 0.6163 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.64, allocations: 214.7 kB / 0.6165 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.64, allocations: 12 kB / 0.6165 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.64, allocations: 0 / 0.6165 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.6401, allocations: 7.984 kB / 0.6165 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008096/0.6482, allocations: 5.075 MB / 0.6215 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.6482, allocations: 8 kB / 0.6215 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.6487, allocations: 123.7 kB / 0.6216 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/0.6487, allocations: 12 kB / 0.6216 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.6488, allocations: 27.95 kB / 0.6217 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.576e-05/0.6488, allocations: 15.92 kB / 0.6217 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.6488, allocations: 16.44 kB / 0.6217 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.651, allocations: 1.993 MB / 0.6236 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006029/0.6516, allocations: 298.2 kB / 0.6239 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.6518, allocations: 23.98 kB / 0.6239 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.6524, allocations: 31.89 kB / 0.624 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6525, allocations: 71.72 kB / 0.624 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/0.6525, allocations: 38.56 kB / 0.6241 GB, free: 1.668 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002136/0.6547, allocations: 1.461 MB / 0.6255 GB, free: 192 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6547, allocations: 0 / 0.6255 GB, free: 192 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.003101/0.6578, allocations: 0.8008 MB / 0.6263 GB, free: 15.38 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0003407/0.6582, allocations: 153.6 kB / 0.6264 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.6617, allocations: 2.148 MB / 0.6285 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.6617, allocations: 4 kB / 0.6285 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.6624, allocations: 0.4975 MB / 0.629 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.6638, allocations: 267.1 kB / 0.6293 GB, free: 12.33 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.6762, allocations: 7.214 MB / 0.6363 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002728/0.679, allocations: 2.667 MB / 0.6389 GB, free: 2.289 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002389/0.6814, allocations: 1.032 MB / 0.6399 GB, free: 1.254 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.6817, allocations: 135.4 kB / 0.6401 GB, free: 1.121 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6817, allocations: 3.938 kB / 0.6401 GB, free: 1.117 MB / 478.1 MB Notification: Performance of Templates: time 0.0344/0.7161, allocations: 15.73 MB / 0.6554 GB, free: 1.457 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches