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.001148/0.001149, allocations: 112.9 kB / 18.46 MB, free: 4.598 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.001192/0.001192, allocations: 183 kB / 19.38 MB, free: 3.68 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.381/1.381, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2021/0.2021, allocations: 44.17 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3182, allocations: 60.82 MB / 0.5196 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01491/0.3332, allocations: 15.4 MB / 0.5346 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.344, allocations: 5.093 MB / 0.5396 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.3468, allocations: 124.1 kB / 0.5397 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.3579, allocations: 6.031 MB / 0.5456 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008801/0.3668, allocations: 2.932 MB / 0.5485 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004518/0.3713, allocations: 1.578 MB / 0.55 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01483/0.3862, allocations: 7.734 MB / 0.5575 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009767/0.396, allocations: 7.466 MB / 0.5648 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004836/0.4008, allocations: 3.015 MB / 0.5678 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005643/0.4065, allocations: 3.871 MB / 0.5716 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.4084, allocations: 0.5859 MB / 0.5721 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.4121, allocations: 1.44 MB / 0.5735 GB, free: 4.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00429/0.4164, allocations: 3.655 MB / 0.5771 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006976/0.4234, allocations: 3.977 MB / 0.581 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.4395, allocations: 12.1 MB / 0.5928 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4396, allocations: 0 / 0.5928 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.4396, allocations: 0 / 0.5928 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006172/0.4402, allocations: 0 / 0.5928 GB, free: 0.9102 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.023/0.4633, allocations: 8.734 MB / 0.6013 GB, free: 8.082 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4633, allocations: 8.031 kB / 0.6014 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.4748, allocations: 2.58 MB / 0.6039 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.4851, allocations: 4.704 MB / 0.6085 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/0.4855, allocations: 438.8 kB / 0.6089 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.4867, allocations: 0.5544 MB / 0.6094 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03445/0.5212, allocations: 17.44 MB / 0.6265 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003811/0.5216, allocations: 71.34 kB / 0.6265 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002034/0.5236, allocations: 267.8 kB / 0.6268 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005266/0.5289, allocations: 3.178 MB / 0.6299 GB, free: 9.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02834/0.5573, allocations: 13.4 MB / 0.643 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09476/0.6521, allocations: 65.76 MB / 0.7072 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/0.6686, allocations: 5.387 MB / 0.7125 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/0.6719, allocations: 2.118 MB / 0.7145 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4627/1.135, allocations: 10 MB / 0.7243 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/1.135, allocations: 55.69 kB / 0.7243 GB, free: 163.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.33e-06/1.135, allocations: 0 / 0.7243 GB, free: 163.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03752/1.172, allocations: 14.17 MB / 0.7382 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/1.172, allocations: 153.5 kB / 0.7383 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007238/1.18, allocations: 6.383 MB / 0.7446 GB, free: 155.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000312/1.18, allocations: 60.75 kB / 0.7446 GB, free: 155.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003147/1.183, allocations: 5.238 MB / 0.7497 GB, free: 151.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008202/1.184, allocations: 0.8238 MB / 0.7505 GB, free: 150.4 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002135/1.186, allocations: 1.704 MB / 0.7522 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.892e-05/1.186, allocations: 304.8 kB / 0.7525 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004522/1.191, allocations: 2.341 MB / 0.7548 GB, free: 148 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007387/1.198, allocations: 7.761 MB / 0.7624 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.208, allocations: 10.99 MB / 0.7731 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.209, allocations: 56 kB / 0.7731 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01429/1.223, allocations: 9.747 MB / 0.7827 GB, free: 114.8 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.223, allocations: 87.94 kB / 0.7827 GB, free: 114.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002404/1.223, allocations: 196 kB / 0.7829 GB, free: 114.6 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/1.224, allocations: 252 kB / 0.7832 GB, free: 114.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005785/1.229, allocations: 1.942 MB / 0.7851 GB, free: 112.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002791/1.23, allocations: 389.3 kB / 0.7854 GB, free: 112 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006147/1.236, allocations: 407.5 kB / 0.7858 GB, free: 111.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.237, allocations: 0.523 MB / 0.7863 GB, free: 111.1 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.005229/1.242, allocations: 3.407 MB / 0.7897 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.243, allocations: 0.5359 MB / 0.7902 GB, free: 107.1 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/1.245, allocations: 0.6287 MB / 0.7908 GB, free: 106.5 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/1.245, allocations: 11.91 kB / 0.7908 GB, free: 106.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/1.245, allocations: 0 / 0.7908 GB, free: 106.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.246, allocations: 0.5564 MB / 0.7914 GB, free: 105.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.247, allocations: 36.47 kB / 0.7914 GB, free: 105.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.249, allocations: 87.89 kB / 0.7915 GB, free: 105.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/1.25, allocations: 93.17 kB / 0.7916 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00361/1.253, allocations: 2.49 MB / 0.794 GB, free: 103.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003004/1.256, allocations: 2.894 MB / 0.7968 GB, free: 100.3 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009369/1.257, allocations: 0.9782 MB / 0.7978 GB, free: 99.31 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006677/1.264, allocations: 3.988 MB / 0.8017 GB, free: 95.34 MB / 0.5607 GB Notification: Performance of Backend: time 8.62e-07/1.264, allocations: 0 / 0.8017 GB, free: 95.34 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.275, allocations: 4.759 MB / 0.8063 GB, free: 90.64 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02557/1.3, allocations: 14.72 MB / 0.8207 GB, free: 75.89 MB / 0.5607 GB Notification: Performance of Templates: time 0.0984/1.399, allocations: 53.89 MB / 0.8733 GB, free: 22.3 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