Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 179 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.4 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007724/0.0007724, allocations: 102.4 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1749/0.1749, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.261e-05, allocations: 224 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4689, allocations: 105.9 MB / 0.6051 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4692, allocations: 75.97 kB / 0.6052 GB, free: 15.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5952/1.064, allocations: 151.4 MB / 0.7531 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/1.064, allocations: 0 / 0.7531 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002383/1.065, allocations: 148.9 kB / 0.7532 GB, free: 110.1 MB / 0.5105 GB 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.01724/1.082, allocations: 7.357 MB / 0.7604 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.082, allocations: 14 kB / 0.7604 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/1.098, allocations: 3.521 MB / 0.7639 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01741/1.116, allocations: 8.764 MB / 0.7724 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004488/1.116, allocations: 0.5707 MB / 0.773 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002854/1.119, allocations: 0.7475 MB / 0.7737 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0323/1.151, allocations: 17.5 MB / 0.7908 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002914/1.152, allocations: 96.31 kB / 0.7909 GB, free: 98.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001725/1.153, allocations: 360.8 kB / 0.7912 GB, free: 98.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/1.155, allocations: 1.617 MB / 0.7928 GB, free: 98.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/1.18, allocations: 13.4 MB / 0.8059 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07551/1.256, allocations: 74.59 MB / 0.8788 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/1.269, allocations: 5.243 MB / 0.8839 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002673/1.272, allocations: 2.072 MB / 0.8859 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01515/1.287, allocations: 9.978 MB / 0.8956 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.287, allocations: 51.81 kB / 0.8957 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 4.068e-06/1.287, allocations: 4 kB / 0.8957 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.0342/1.321, allocations: 13.11 MB / 0.9085 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/1.321, allocations: 157.8 kB / 0.9086 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2755/1.597, allocations: 5.496 MB / 0.914 GB, free: 114 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004083/1.597, allocations: 55.52 kB / 0.9141 GB, free: 114 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004555/1.602, allocations: 5.304 MB / 0.9192 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009988/1.603, allocations: 0.8226 MB / 0.92 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005232/1.603, allocations: 159.5 kB / 0.9202 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004312/1.604, allocations: 0.6453 MB / 0.9208 GB, free: 112 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003614/1.607, allocations: 2.088 MB / 0.9229 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005568/1.613, allocations: 7.405 MB / 0.9301 GB, free: 105 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006067/1.619, allocations: 3.88 MB / 0.9339 GB, free: 105 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000225/1.619, allocations: 53.84 kB / 0.9339 GB, free: 105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01619/1.636, allocations: 9.157 MB / 0.9429 GB, free: 104 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.636, allocations: 86.41 kB / 0.943 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/1.636, allocations: 191.5 kB / 0.9431 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/1.636, allocations: 276.9 kB / 0.9434 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005767/1.642, allocations: 1.992 MB / 0.9454 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000194/1.642, allocations: 371.6 kB / 0.9457 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006209/1.648, allocations: 0.5691 MB / 0.9463 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008586/1.649, allocations: 0.5026 MB / 0.9468 GB, free: 103.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1028 * 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 prepare postOptimizeDAE: time 0.00124/1.65, allocations: 0.7609 MB / 0.9475 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008999/1.651, allocations: 0.5387 MB / 0.948 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.653, allocations: 0.6529 MB / 0.9487 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/1.653, allocations: 22.62 kB / 0.9487 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.653, allocations: 5 kB / 0.9487 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/1.653, allocations: 7.688 kB / 0.9487 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02231/1.675, allocations: 15.09 MB / 0.9634 GB, free: 99.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.342e-05/1.675, allocations: 50.78 kB / 0.9635 GB, free: 99.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.677, allocations: 428.8 kB / 0.9639 GB, free: 99.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.005e-05/1.677, allocations: 66.94 kB / 0.964 GB, free: 99.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/1.677, allocations: 98.88 kB / 0.9641 GB, free: 99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.44e-05/1.677, allocations: 89.08 kB / 0.9641 GB, free: 98.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.873e-05/1.677, allocations: 70.53 kB / 0.9642 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005592/1.683, allocations: 11.88 MB / 0.9758 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.684, allocations: 0.6488 MB / 0.9764 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005446/1.684, allocations: 105 kB / 0.9765 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.686, allocations: 169.9 kB / 0.9767 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/1.687, allocations: 303.4 kB / 0.977 GB, free: 86.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.687, allocations: 121.7 kB / 0.9771 GB, free: 86.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005734/1.693, allocations: 3.852 MB / 0.9809 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/1.693, allocations: 0 / 0.9809 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008195/1.701, allocations: 1.368 MB / 0.9822 GB, free: 84.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 227 * 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.0005244/1.701, allocations: 261.9 kB / 0.9825 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006822/1.708, allocations: 5.03 MB / 0.9874 GB, free: 82.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.3e-05/1.708, allocations: 7.688 kB / 0.9874 GB, free: 82.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/1.71, allocations: 1.152 MB / 0.9885 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/1.714, allocations: 0.8425 MB / 0.9893 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0212/1.735, allocations: 12.68 MB / 1.002 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006695/1.742, allocations: 5.397 MB / 1.007 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006571/1.748, allocations: 2.58 MB / 1.009 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007643/1.749, allocations: 360.9 kB / 1.01 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of SimCode: time 8.61e-07/1.749, allocations: 0 / 1.01 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.07264/1.822, allocations: 42.01 MB / 1.051 GB, free: 50.49 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches