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.001102/0.001102, allocations: 96.83 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.001036/0.001036, allocations: 206.1 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.406/1.406, allocations: 227.2 MB / 245.9 MB, free: 12.09 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: 45.91 MB / 344 MB, free: 12.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002677, allocations: 8 kB / 417.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 63.46 MB / 481.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3806/0.5168, allocations: 85.25 MB / 0.5534 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05657/0.5734, allocations: 19.02 MB / 0.5719 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02236/0.5958, allocations: 438.9 kB / 0.5724 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01723/0.613, allocations: 4.363 MB / 0.5766 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04912/0.6622, allocations: 12.25 MB / 0.5886 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007356/0.6696, allocations: 1.24 MB / 0.5898 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009731/0.6793, allocations: 4.457 MB / 0.5941 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01512/0.6945, allocations: 8.97 MB / 0.6029 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/0.6993, allocations: 1.955 MB / 0.6048 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004652/0.704, allocations: 2.411 MB / 0.6072 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001344/0.7054, allocations: 252 kB / 0.6074 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.708, allocations: 0.9245 MB / 0.6083 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003133/0.7111, allocations: 2.919 MB / 0.6112 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.7131, allocations: 1.434 MB / 0.6126 GB, free: 1.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.7242, allocations: 9.282 MB / 0.6216 GB, free: 7.746 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7243, allocations: 0 / 0.6216 GB, free: 7.746 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7243, allocations: 4 kB / 0.6216 GB, free: 7.742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004664/0.7248, allocations: 3.938 kB / 0.6216 GB, free: 7.738 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01875/0.7435, allocations: 7.499 MB / 0.629 GB, free: 156 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.7436, allocations: 8.031 kB / 0.629 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.7558, allocations: 3.008 MB / 0.6319 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.7682, allocations: 4.901 MB / 0.6367 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004544/0.7687, allocations: 430.9 kB / 0.6371 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.7711, allocations: 0.566 MB / 0.6376 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03755/0.8086, allocations: 17.58 MB / 0.6548 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000251/0.8089, allocations: 71.31 kB / 0.6549 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009119/0.8098, allocations: 267.8 kB / 0.6551 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004918/0.8148, allocations: 3.17 MB / 0.6582 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03148/0.8463, allocations: 13.57 MB / 0.6715 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4892/1.335, allocations: 66.22 MB / 0.7362 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01477/1.35, allocations: 5.394 MB / 0.7414 GB, free: 132 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/1.368, allocations: 10.14 MB / 0.7513 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/1.368, allocations: 51.16 kB / 0.7514 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.489e-06/1.368, allocations: 0 / 0.7514 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03567/1.404, allocations: 14.58 MB / 0.7656 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/1.404, allocations: 155.8 kB / 0.7657 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007545/1.411, allocations: 6.815 MB / 0.7724 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003305/1.412, allocations: 57.7 kB / 0.7725 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002501/1.414, allocations: 5.245 MB / 0.7776 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007127/1.415, allocations: 0.8258 MB / 0.7784 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/1.415, allocations: 163.5 kB / 0.7785 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002997/1.416, allocations: 0.6667 MB / 0.7792 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002921/1.419, allocations: 2.278 MB / 0.7814 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005046/1.424, allocations: 7.665 MB / 0.7889 GB, free: 98.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004881/1.429, allocations: 4.034 MB / 0.7928 GB, free: 95.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.523e-05/1.429, allocations: 56 kB / 0.7929 GB, free: 95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01427/1.443, allocations: 9.585 MB / 0.8023 GB, free: 85.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/1.443, allocations: 88 kB / 0.8023 GB, free: 85.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001839/1.443, allocations: 195.9 kB / 0.8025 GB, free: 85.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/1.443, allocations: 280 kB / 0.8028 GB, free: 84.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005383/1.449, allocations: 1.927 MB / 0.8047 GB, free: 82.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001993/1.449, allocations: 374.5 kB / 0.805 GB, free: 82.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006059/1.455, allocations: 412.8 kB / 0.8054 GB, free: 82.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/1.456, allocations: 0.5176 MB / 0.8059 GB, free: 81.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.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 (1039): * Single equations (assignments): 1028 * 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.00542/1.462, allocations: 3.402 MB / 0.8093 GB, free: 78.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.463, allocations: 0.5359 MB / 0.8098 GB, free: 77.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.465, allocations: 0.6329 MB / 0.8104 GB, free: 77.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.68e-05/1.465, allocations: 25.02 kB / 0.8104 GB, free: 77.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.439e-05/1.465, allocations: 0 / 0.8104 GB, free: 77.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/1.465, allocations: 11.95 kB / 0.8104 GB, free: 77.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/1.488, allocations: 15.28 MB / 0.8254 GB, free: 61.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.188e-05/1.488, allocations: 48 kB / 0.8254 GB, free: 61.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/1.49, allocations: 451.1 kB / 0.8258 GB, free: 60.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.908e-05/1.49, allocations: 64.81 kB / 0.8259 GB, free: 60.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/1.49, allocations: 100 kB / 0.826 GB, free: 60.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-05/1.49, allocations: 95.64 kB / 0.8261 GB, free: 60.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.184e-05/1.49, allocations: 71.69 kB / 0.8262 GB, free: 60.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007133/1.497, allocations: 12.33 MB / 0.8382 GB, free: 45.76 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.498, allocations: 0.6616 MB / 0.8388 GB, free: 45.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004943/1.499, allocations: 112 kB / 0.8389 GB, free: 44.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.501, allocations: 109.5 kB / 0.839 GB, free: 44.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/1.501, allocations: 310.7 kB / 0.8393 GB, free: 44.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.501, allocations: 132.7 kB / 0.8395 GB, free: 44.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006136/1.507, allocations: 4.317 MB / 0.8437 GB, free: 40.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.21e-07/1.507, allocations: 0 / 0.8437 GB, free: 40.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008873/1.516, allocations: 1.385 MB / 0.845 GB, free: 38.74 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.0006913/1.517, allocations: 288 kB / 0.8453 GB, free: 38.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007495/1.524, allocations: 5.301 MB / 0.8505 GB, free: 33.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-05/1.524, allocations: 8.938 kB / 0.8505 GB, free: 33.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.526, allocations: 1.19 MB / 0.8517 GB, free: 32.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/1.53, allocations: 0.845 MB / 0.8525 GB, free: 31.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02655/1.557, allocations: 18.37 MB / 0.8704 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006333/1.563, allocations: 5.41 MB / 0.8757 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006517/1.57, allocations: 2.583 MB / 0.8782 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008345/1.571, allocations: 363.4 kB / 0.8786 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of SimCode: time 1.363e-06/1.571, allocations: 0 / 0.8786 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of Templates: time 0.367/1.938, allocations: 42.71 MB / 0.9203 GB, free: 176 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches