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.0009449/0.000945, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.18 MB / 344.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002927, allocations: 11.98 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1362, allocations: 63.57 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3152/0.4514, allocations: 76.56 MB / 0.5459 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04153/0.493, allocations: 15.5 MB / 0.561 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02067/0.5137, allocations: 382.3 kB / 0.5614 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01677/0.5305, allocations: 4.122 MB / 0.5654 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03497/0.5656, allocations: 11.98 MB / 0.5771 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006349/0.5719, allocations: 1.233 MB / 0.5783 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01337/0.5853, allocations: 8.897 MB / 0.587 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01464/0.6, allocations: 8.947 MB / 0.5957 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.6055, allocations: 2.386 MB / 0.598 GB, free: 428 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00606/0.6116, allocations: 3.431 MB / 0.6014 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001667/0.6133, allocations: 244 kB / 0.6016 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.6169, allocations: 0.9402 MB / 0.6025 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004725/0.6216, allocations: 3.023 MB / 0.6055 GB, free: 8.766 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002863/0.6245, allocations: 1.368 MB / 0.6068 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.6349, allocations: 8.885 MB / 0.6155 GB, free: 14.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6349, allocations: 0 / 0.6155 GB, free: 14.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6349, allocations: 0 / 0.6155 GB, free: 14.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003944/0.6353, allocations: 0 / 0.6155 GB, free: 14.48 MB / 462.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.01389/0.6492, allocations: 7.064 MB / 0.6224 GB, free: 7.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6493, allocations: 12.03 kB / 0.6224 GB, free: 7.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009559/0.6588, allocations: 2.533 MB / 0.6249 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008828/0.6677, allocations: 4.299 MB / 0.6291 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/0.6682, allocations: 426.6 kB / 0.6295 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002018/0.6702, allocations: 0.5465 MB / 0.63 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/0.7012, allocations: 16.68 MB / 0.6463 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/0.7014, allocations: 75.36 kB / 0.6464 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006489/0.702, allocations: 259.8 kB / 0.6466 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004123/0.7062, allocations: 2.935 MB / 0.6495 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02622/0.7324, allocations: 12.76 MB / 0.662 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.588/1.32, allocations: 64.1 MB / 0.7246 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/1.336, allocations: 5.381 MB / 0.7298 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002923/1.339, allocations: 2.11 MB / 0.7319 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01463/1.353, allocations: 9.946 MB / 0.7416 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/1.353, allocations: 58.42 kB / 0.7416 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.049e-06/1.353, allocations: 2.812 kB / 0.7417 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03674/1.39, allocations: 13.98 MB / 0.7553 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/1.39, allocations: 154.4 kB / 0.7555 GB, free: 126 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007927/1.398, allocations: 6.253 MB / 0.7616 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003554/1.399, allocations: 58.88 kB / 0.7616 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002801/1.401, allocations: 5.078 MB / 0.7666 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008346/1.402, allocations: 0.8214 MB / 0.7674 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/1.403, allocations: 162.7 kB / 0.7675 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003017/1.403, allocations: 0.6637 MB / 0.7682 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/1.406, allocations: 2.294 MB / 0.7704 GB, free: 115.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004719/1.411, allocations: 7.652 MB / 0.7779 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/1.415, allocations: 4.034 MB / 0.7818 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-05/1.415, allocations: 56 kB / 0.7819 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.0133/1.429, allocations: 9.579 MB / 0.7912 GB, free: 91.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/1.429, allocations: 90.34 kB / 0.7913 GB, free: 91.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/1.429, allocations: 193.5 kB / 0.7915 GB, free: 91.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/1.429, allocations: 279.9 kB / 0.7918 GB, free: 91.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/1.435, allocations: 1.922 MB / 0.7937 GB, free: 89.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002324/1.435, allocations: 370.6 kB / 0.794 GB, free: 89.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006826/1.442, allocations: 413.5 kB / 0.7944 GB, free: 88.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000912/1.443, allocations: 0.5128 MB / 0.7949 GB, free: 88.23 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00624/1.449, allocations: 3.292 MB / 0.7981 GB, free: 84.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.45, allocations: 0.5244 MB / 0.7986 GB, free: 84.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/1.452, allocations: 0.624 MB / 0.7992 GB, free: 83.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.229e-05/1.452, allocations: 24 kB / 0.7993 GB, free: 83.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-05/1.452, allocations: 0 / 0.7993 GB, free: 83.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/1.452, allocations: 8.156 kB / 0.7993 GB, free: 83.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/1.476, allocations: 14.98 MB / 0.8139 GB, free: 68.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/1.476, allocations: 51.94 kB / 0.8139 GB, free: 68.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.477, allocations: 451.1 kB / 0.8144 GB, free: 67.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-05/1.477, allocations: 67.94 kB / 0.8144 GB, free: 67.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/1.478, allocations: 100 kB / 0.8145 GB, free: 67.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.072e-05/1.478, allocations: 90.28 kB / 0.8146 GB, free: 67.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-05/1.478, allocations: 75.67 kB / 0.8147 GB, free: 67.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/1.482, allocations: 4.273 MB / 0.8189 GB, free: 62.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.483, allocations: 0.6422 MB / 0.8195 GB, free: 61.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/1.483, allocations: 108 kB / 0.8196 GB, free: 61.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.485, allocations: 111.9 kB / 0.8197 GB, free: 61.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/1.485, allocations: 302.7 kB / 0.82 GB, free: 61.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.485, allocations: 133.2 kB / 0.8201 GB, free: 60.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005301/1.491, allocations: 3.907 MB / 0.8239 GB, free: 57.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/1.491, allocations: 0 / 0.8239 GB, free: 57.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007329/1.498, allocations: 1.318 MB / 0.8252 GB, free: 55.76 MB / 0.5294 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 (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.0007378/1.499, allocations: 268.5 kB / 0.8255 GB, free: 55.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008362/1.507, allocations: 5.324 MB / 0.8307 GB, free: 50.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-05/1.507, allocations: 4 kB / 0.8307 GB, free: 50.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.509, allocations: 1.191 MB / 0.8318 GB, free: 49.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006636/1.515, allocations: 0.8529 MB / 0.8327 GB, free: 48.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/1.544, allocations: 17.87 MB / 0.8501 GB, free: 29.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008175/1.552, allocations: 5.068 MB / 0.8551 GB, free: 24.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006825/1.559, allocations: 2.546 MB / 0.8576 GB, free: 21.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009976/1.56, allocations: 355.4 kB / 0.8579 GB, free: 21.62 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/1.56, allocations: 0 / 0.8579 GB, free: 21.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.09082/1.651, allocations: 40.95 MB / 0.8979 GB, free: 12.91 MB / 0.5607 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches