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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 113.9 kB / 18.45 MB, free: 4.617 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.001195/0.001195, allocations: 186.1 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2065/0.2065, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3138, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01501/0.3289, allocations: 15.39 MB / 0.5346 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.34, allocations: 5.107 MB / 0.5396 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00312/0.3432, allocations: 120.4 kB / 0.5397 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.3545, allocations: 6.023 MB / 0.5456 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008566/0.3631, allocations: 2.94 MB / 0.5485 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.3664, allocations: 1.579 MB / 0.55 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.3768, allocations: 7.733 MB / 0.5576 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.387, allocations: 7.462 MB / 0.5648 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005605/0.3926, allocations: 3.003 MB / 0.5678 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006025/0.3986, allocations: 3.879 MB / 0.5716 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002105/0.4008, allocations: 0.5859 MB / 0.5721 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/0.4046, allocations: 1.432 MB / 0.5735 GB, free: 4.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004693/0.4093, allocations: 3.655 MB / 0.5771 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006752/0.4161, allocations: 3.981 MB / 0.581 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01561/0.4317, allocations: 12.16 MB / 0.5929 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4317, allocations: 0 / 0.5929 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4318, allocations: 0 / 0.5929 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004222/0.4322, allocations: 4 kB / 0.5929 GB, free: 0.7539 MB / 446.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.0186/0.4508, allocations: 8.963 MB / 0.6016 GB, free: 7.684 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4509, allocations: 8.031 kB / 0.6016 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.4613, allocations: 2.632 MB / 0.6042 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008425/0.4698, allocations: 4.726 MB / 0.6088 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.4701, allocations: 442.8 kB / 0.6092 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.4715, allocations: 0.5582 MB / 0.6098 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03131/0.5028, allocations: 17.43 MB / 0.6268 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002468/0.5031, allocations: 75.38 kB / 0.6269 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/0.5045, allocations: 275.8 kB / 0.6271 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004945/0.5095, allocations: 3.162 MB / 0.6302 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02881/0.5383, allocations: 13.41 MB / 0.6433 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08847/0.6268, allocations: 65.9 MB / 0.7077 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/0.6428, allocations: 5.383 MB / 0.7129 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.646, allocations: 2.119 MB / 0.715 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.434/1.08, allocations: 10.02 MB / 0.7248 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.08, allocations: 57.14 kB / 0.7248 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.77e-06/1.08, allocations: 0 / 0.7248 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.0356/1.116, allocations: 14.59 MB / 0.7391 GB, free: 156.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/1.116, allocations: 153.5 kB / 0.7392 GB, free: 156.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006967/1.123, allocations: 6.397 MB / 0.7455 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/1.123, allocations: 56.58 kB / 0.7455 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002323/1.125, allocations: 5.439 MB / 0.7508 GB, free: 150.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006863/1.126, allocations: 0.8602 MB / 0.7517 GB, free: 149.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/1.128, allocations: 1.71 MB / 0.7534 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/1.128, allocations: 305.1 kB / 0.7536 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/1.131, allocations: 2.344 MB / 0.7559 GB, free: 147.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004248/1.135, allocations: 7.764 MB / 0.7635 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008032/1.143, allocations: 10.99 MB / 0.7742 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/1.143, allocations: 56 kB / 0.7743 GB, free: 124 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01349/1.157, allocations: 9.771 MB / 0.7838 GB, free: 114.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/1.157, allocations: 91.91 kB / 0.7839 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/1.157, allocations: 192 kB / 0.7841 GB, free: 114 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/1.157, allocations: 256 kB / 0.7844 GB, free: 113.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005527/1.163, allocations: 1.945 MB / 0.7863 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002228/1.163, allocations: 381.3 kB / 0.7866 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005727/1.169, allocations: 426.8 kB / 0.787 GB, free: 111 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008481/1.169, allocations: 0.5195 MB / 0.7875 GB, free: 110.5 MB / 0.5607 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 (1055): * Single equations (assignments): 1044 * 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.004182/1.174, allocations: 3.405 MB / 0.7909 GB, free: 107.1 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008322/1.174, allocations: 0.5548 MB / 0.7914 GB, free: 106.5 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008712/1.175, allocations: 0.6326 MB / 0.792 GB, free: 105.9 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.175, allocations: 7.969 kB / 0.792 GB, free: 105.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.175, allocations: 7.359 kB / 0.792 GB, free: 105.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007708/1.176, allocations: 0.583 MB / 0.7926 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000475/1.177, allocations: 28 kB / 0.7926 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.178, allocations: 87.89 kB / 0.7927 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/1.178, allocations: 101.2 kB / 0.7928 GB, free: 105.1 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003112/1.181, allocations: 2.479 MB / 0.7952 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002607/1.184, allocations: 2.936 MB / 0.7981 GB, free: 99.64 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000897/1.185, allocations: 0.9748 MB / 0.7991 GB, free: 98.67 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00513/1.19, allocations: 3.984 MB / 0.8029 GB, free: 94.7 MB / 0.5607 GB Notification: Performance of Backend: time 9.92e-07/1.19, allocations: 0 / 0.8029 GB, free: 94.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007898/1.198, allocations: 4.767 MB / 0.8076 GB, free: 89.98 MB / 0.5607 GB Notification: Performance of SimCode: time 0.01905/1.217, allocations: 14.97 MB / 0.8222 GB, free: 74.96 MB / 0.5607 GB Notification: Performance of Templates: time 0.09238/1.309, allocations: 53.89 MB / 0.8748 GB, free: 21.38 MB / 0.5607 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches