Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008326/0.0008326, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 176.8 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 223.1 MB, free: 5.23 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4231/0.4231, allocations: 43.57 MB / 315 MB, free: 8.934 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005483/0.0005486, allocations: 18.66 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1504, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3323/0.4827, allocations: 99.57 MB / 0.5303 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05885/0.5416, allocations: 19.2 MB / 0.549 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02723/0.5689, allocations: 442.1 kB / 0.5495 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.5729, allocations: 0.7354 MB / 0.5502 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.585, allocations: 3.011 MB / 0.5531 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.589, allocations: 1.26 MB / 0.5543 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01832/0.6074, allocations: 12.2 MB / 0.5663 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0169/0.6243, allocations: 10.67 MB / 0.5767 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006065/0.6304, allocations: 2.471 MB / 0.5791 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007428/0.6379, allocations: 3.99 MB / 0.583 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003119/0.6411, allocations: 300 kB / 0.5833 GB, free: 352 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006388/0.6475, allocations: 1.186 MB / 0.5844 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006586/0.6541, allocations: 3.557 MB / 0.5879 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008291/0.6625, allocations: 3.941 MB / 0.5918 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01653/0.679, allocations: 12.58 MB / 0.604 GB, free: 10.99 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6791, allocations: 0 / 0.604 GB, free: 10.99 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6791, allocations: 0 / 0.604 GB, free: 10.99 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005335/0.6796, allocations: 4 kB / 0.604 GB, free: 10.98 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.01872/0.6983, allocations: 7.805 MB / 0.6117 GB, free: 3.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.6984, allocations: 8.031 kB / 0.6117 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.711, allocations: 2.778 MB / 0.6144 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.7214, allocations: 5.032 MB / 0.6193 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004781/0.7219, allocations: 488.3 kB / 0.6198 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/0.7244, allocations: 0.6167 MB / 0.6204 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6524/1.377, allocations: 19.53 MB / 0.6394 GB, free: 52.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002282/1.377, allocations: 76.86 kB / 0.6395 GB, free: 52.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008025/1.378, allocations: 296.8 kB / 0.6398 GB, free: 52.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005137/1.383, allocations: 3.641 MB / 0.6434 GB, free: 52.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03741/1.42, allocations: 15.21 MB / 0.6582 GB, free: 51.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/1.523, allocations: 73.01 MB / 0.7295 GB, free: 5.961 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/1.542, allocations: 6.112 MB / 0.7355 GB, free: 15.71 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/1.546, allocations: 2.55 MB / 0.738 GB, free: 13.15 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02108/1.568, allocations: 11.17 MB / 0.7489 GB, free: 1.625 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/1.568, allocations: 60.56 kB / 0.7489 GB, free: 1.559 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=250): time 5.019e-06/1.568, allocations: 0 / 0.7489 GB, free: 1.559 MB / 0.5138 GB Notification: Performance of matching and sorting (n=274): time 0.0463/1.614, allocations: 16.4 MB / 0.7649 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.614, allocations: 158.5 kB / 0.7651 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/1.626, allocations: 6.773 MB / 0.7717 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007142/1.627, allocations: 73.22 kB / 0.7718 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005663/1.632, allocations: 5.731 MB / 0.7774 GB, free: 4.523 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001575/1.634, allocations: 1.059 MB / 0.7784 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/1.635, allocations: 0.8203 MB / 0.7792 GB, free: 2.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.636, allocations: 301.1 kB / 0.7795 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005028/1.641, allocations: 2.773 MB / 0.7822 GB, free: 15.57 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/1.651, allocations: 8.666 MB / 0.7907 GB, free: 4.078 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/1.668, allocations: 12.43 MB / 0.8028 GB, free: 5.598 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001936/1.668, allocations: 60 kB / 0.8029 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02526/1.694, allocations: 11.12 MB / 0.8137 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003711/1.694, allocations: 96 kB / 0.8138 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005092/1.695, allocations: 209.8 kB / 0.814 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/1.695, allocations: 280 kB / 0.8143 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008354/1.703, allocations: 2.208 MB / 0.8164 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006277/1.704, allocations: 412.7 kB / 0.8168 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007272/1.711, allocations: 462 kB / 0.8173 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.713, allocations: 0.5742 MB / 0.8178 GB, free: 7.738 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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 (1195): * Single equations (assignments): 1184 * Array equations: 11 * 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.007581/1.721, allocations: 3.761 MB / 0.8215 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/1.722, allocations: 0.5861 MB / 0.8221 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006836/1.729, allocations: 2.986 MB / 0.825 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/1.729, allocations: 31.98 kB / 0.825 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/1.729, allocations: 3.984 kB / 0.825 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-05/1.729, allocations: 15.95 kB / 0.8251 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03971/1.769, allocations: 25.14 MB / 0.8496 GB, free: 6.902 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-05/1.769, allocations: 60 kB / 0.8497 GB, free: 6.844 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/1.771, allocations: 0.6144 MB / 0.8503 GB, free: 6.285 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.316e-05/1.771, allocations: 80 kB / 0.8503 GB, free: 6.207 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002462/1.771, allocations: 143.7 kB / 0.8505 GB, free: 6.07 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.713e-05/1.772, allocations: 119 kB / 0.8506 GB, free: 5.98 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.747e-05/1.772, allocations: 98.88 kB / 0.8507 GB, free: 5.91 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3079/2.079, allocations: 5.889 MB / 0.8564 GB, free: 252.9 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/2.082, allocations: 0.7143 MB / 0.8571 GB, free: 252.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/2.083, allocations: 150.9 kB / 0.8573 GB, free: 252.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003179/2.086, allocations: 153.9 kB / 0.8574 GB, free: 252.8 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000603/2.087, allocations: 424.7 kB / 0.8578 GB, free: 252.7 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002551/2.087, allocations: 174 kB / 0.858 GB, free: 252.7 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.008114/2.095, allocations: 4.232 MB / 0.8621 GB, free: 252.5 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.122e-06/2.095, allocations: 0 / 0.8621 GB, free: 252.5 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01114/2.107, allocations: 1.564 MB / 0.8636 GB, free: 252.5 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.001165/2.108, allocations: 333.2 kB / 0.864 GB, free: 252.4 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.0133/2.121, allocations: 6.445 MB / 0.8703 GB, free: 251.8 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 8.553e-05/2.121, allocations: 11.75 kB / 0.8703 GB, free: 251.8 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.003631/2.125, allocations: 1.655 MB / 0.8719 GB, free: 251.2 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0639/2.189, allocations: 0.9682 MB / 0.8728 GB, free: 250.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04823/2.237, allocations: 22.27 MB / 0.8946 GB, free: 237.6 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01191/2.249, allocations: 5.796 MB / 0.9002 GB, free: 235.7 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01012/2.259, allocations: 2.891 MB / 0.9031 GB, free: 235.4 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/2.261, allocations: 419.9 kB / 0.9035 GB, free: 235.4 MB / 0.6232 GB Notification: Performance of SimCode: time 1.182e-06/2.261, allocations: 0 / 0.9035 GB, free: 235.4 MB / 0.6232 GB Notification: Performance of Templates: time 0.1061/2.367, allocations: 49.05 MB / 0.9514 GB, free: 207.4 MB / 0.6232 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches