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.001258/0.001258, allocations: 110.1 kB / 17.09 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.29/1.29, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1905/0.1905, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 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.002414/0.002414, allocations: 71.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1147, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01683/0.1316, allocations: 18 MB / 0.5061 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1422, allocations: 5.428 MB / 0.5114 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.1447, allocations: 131.6 kB / 0.5115 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.155, allocations: 6.106 MB / 0.5175 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007849/0.1629, allocations: 3.174 MB / 0.5206 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.1664, allocations: 1.579 MB / 0.5222 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.1778, allocations: 8.392 MB / 0.5303 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2174/0.3952, allocations: 7.715 MB / 0.5379 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005687/0.4009, allocations: 3.257 MB / 0.5411 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008981/0.4099, allocations: 4.33 MB / 0.5453 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003273/0.4133, allocations: 0.6661 MB / 0.5459 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005138/0.4184, allocations: 1.481 MB / 0.5474 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006256/0.4247, allocations: 4.04 MB / 0.5513 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006834/0.4315, allocations: 4.443 MB / 0.5557 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.4447, allocations: 13.62 MB / 0.569 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4448, allocations: 0 / 0.569 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4448, allocations: 3.125 kB / 0.569 GB, free: 12.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000392/0.4452, allocations: 0 / 0.569 GB, free: 12.82 MB / 430.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.0194/0.4646, allocations: 9.534 MB / 0.5783 GB, free: 6.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.4647, allocations: 12.73 kB / 0.5783 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.4761, allocations: 2.707 MB / 0.5809 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.487, allocations: 5.156 MB / 0.586 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003931/0.4874, allocations: 486.2 kB / 0.5864 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.4893, allocations: 0.6087 MB / 0.587 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03191/0.5212, allocations: 19.49 MB / 0.6061 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/0.5214, allocations: 76.73 kB / 0.6061 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007285/0.5222, allocations: 293.8 kB / 0.6064 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004932/0.5271, allocations: 3.641 MB / 0.61 GB, free: 7.695 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03093/0.5581, allocations: 15.17 MB / 0.6248 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08895/0.647, allocations: 72.71 MB / 0.6958 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/0.6639, allocations: 6.093 MB / 0.7018 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003989/0.668, allocations: 2.557 MB / 0.7043 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0198/0.6878, allocations: 11.16 MB / 0.7152 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.6879, allocations: 63.22 kB / 0.7152 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=250): time 5.31e-06/0.6879, allocations: 0 / 0.7152 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274): time 0.04245/0.7303, allocations: 16.33 MB / 0.7312 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.7304, allocations: 154.5 kB / 0.7313 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/0.7412, allocations: 6.771 MB / 0.7379 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004059/0.7417, allocations: 73.61 kB / 0.738 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004019/0.7457, allocations: 5.738 MB / 0.7436 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.7469, allocations: 1.06 MB / 0.7446 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002869/0.7498, allocations: 1.89 MB / 0.7465 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.7499, allocations: 301.1 kB / 0.7468 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004484/0.7544, allocations: 2.775 MB / 0.7495 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2188/0.9732, allocations: 8.661 MB / 0.7579 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/0.9857, allocations: 12.44 MB / 0.7701 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002257/0.9859, allocations: 61.19 kB / 0.7701 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02123/1.007, allocations: 11.11 MB / 0.781 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/1.007, allocations: 96.58 kB / 0.7811 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003085/1.008, allocations: 207.8 kB / 0.7813 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/1.008, allocations: 282.2 kB / 0.7815 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007448/1.016, allocations: 2.21 MB / 0.7837 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003687/1.016, allocations: 406.9 kB / 0.7841 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006598/1.023, allocations: 467.7 kB / 0.7845 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/1.024, allocations: 0.5781 MB / 0.7851 GB, free: 177.1 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.005571/1.029, allocations: 3.766 MB / 0.7888 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000874/1.03, allocations: 0.5827 MB / 0.7894 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004487/1.035, allocations: 2.988 MB / 0.7923 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.035, allocations: 12.98 kB / 0.7923 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.035, allocations: 3.688 kB / 0.7923 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009671/1.036, allocations: 0.5899 MB / 0.7929 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000592/1.036, allocations: 47.11 kB / 0.7929 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/1.038, allocations: 107.5 kB / 0.793 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/1.038, allocations: 143.8 kB / 0.7931 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004665/1.043, allocations: 3.394 MB / 0.7965 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003892/1.047, allocations: 3.731 MB / 0.8001 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001488/1.048, allocations: 1.393 MB / 0.8015 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005459/1.054, allocations: 4.229 MB / 0.8056 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of Backend: time 6.31e-07/1.054, allocations: 0 / 0.8056 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009653/1.063, allocations: 5.477 MB / 0.8109 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02436/1.088, allocations: 16.29 MB / 0.8268 GB, free: 152.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.09375/1.181, allocations: 60.3 MB / 0.8857 GB, free: 94.98 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches