Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001416/0.001416, allocations: 181 kB / 18.71 MB, free: 4.207 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2025/0.2025, allocations: 44.18 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3091, allocations: 60.82 MB / 0.5184 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01061/0.3198, allocations: 9.733 MB / 0.5279 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006384/0.3262, allocations: 2.927 MB / 0.5308 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.3279, allocations: 50.28 kB / 0.5308 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004022/0.3319, allocations: 1.983 MB / 0.5328 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.335, allocations: 1.165 MB / 0.5339 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.3359, allocations: 286.6 kB / 0.5342 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003274/0.3392, allocations: 2.325 MB / 0.5364 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003098/0.3423, allocations: 2.336 MB / 0.5387 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.3439, allocations: 0.8992 MB / 0.5396 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.3457, allocations: 1.176 MB / 0.5408 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006129/0.3464, allocations: 198 kB / 0.5409 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3479, allocations: 0.7039 MB / 0.5416 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.3493, allocations: 1.153 MB / 0.5428 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.351, allocations: 1.355 MB / 0.5441 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.3556, allocations: 4.474 MB / 0.5484 GB, free: 13.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3556, allocations: 0 / 0.5484 GB, free: 13.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3556, allocations: 0 / 0.5484 GB, free: 13.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.042e-05/0.3557, allocations: 4 kB / 0.5485 GB, free: 13.13 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004485/0.3602, allocations: 3.02 MB / 0.5514 GB, free: 10.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3602, allocations: 8.031 kB / 0.5514 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005438/0.3608, allocations: 495.8 kB / 0.5519 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/0.3659, allocations: 1.606 MB / 0.5535 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/0.3686, allocations: 1.364 MB / 0.5548 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/0.3687, allocations: 151.8 kB / 0.5549 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/0.3691, allocations: 191.9 kB / 0.5551 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008893/0.378, allocations: 6.428 MB / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/0.3781, allocations: 15.88 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/0.3784, allocations: 87.89 kB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002012/0.3804, allocations: 1.407 MB / 0.5629 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00928/0.3897, allocations: 5.491 MB / 0.5682 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02681/0.4165, allocations: 20.49 MB / 0.5882 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/0.4207, allocations: 2.005 MB / 0.5902 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000977/0.4217, allocations: 0.7018 MB / 0.5909 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006728/0.4284, allocations: 3.636 MB / 0.5944 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.4285, allocations: 46.98 kB / 0.5945 GB, free: 12.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.666e-06/0.4285, allocations: 0 / 0.5945 GB, free: 12.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005325/0.4339, allocations: 1.978 MB / 0.5964 GB, free: 10.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4339, allocations: 59.84 kB / 0.5965 GB, free: 10.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.4369, allocations: 1.978 MB / 0.5984 GB, free: 8.691 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.437, allocations: 29.7 kB / 0.5984 GB, free: 8.656 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.4383, allocations: 1.962 MB / 0.6003 GB, free: 6.672 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.4386, allocations: 329.5 kB / 0.6007 GB, free: 6.348 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008225/0.4394, allocations: 0.6235 MB / 0.6013 GB, free: 5.715 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4396, allocations: 361.9 kB / 0.6016 GB, free: 5.355 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.4409, allocations: 0.8881 MB / 0.6025 GB, free: 4.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.4434, allocations: 2.774 MB / 0.6052 GB, free: 0.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.4475, allocations: 4 MB / 0.6091 GB, free: 11.81 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.001e-05/0.4476, allocations: 24 kB / 0.6091 GB, free: 11.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005382/0.453, allocations: 3.558 MB / 0.6126 GB, free: 8.223 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.453, allocations: 36.19 kB / 0.6126 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.058e-05/0.4531, allocations: 72 kB / 0.6127 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.682e-05/0.4532, allocations: 84 kB / 0.6128 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.4551, allocations: 0.6589 MB / 0.6134 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.4552, allocations: 131.5 kB / 0.6135 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.4571, allocations: 428.8 kB / 0.614 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.4573, allocations: 187.9 kB / 0.6141 GB, free: 6.645 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * 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.001787/0.4591, allocations: 1.385 MB / 0.6155 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.4594, allocations: 170.8 kB / 0.6156 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.4597, allocations: 197.2 kB / 0.6158 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.4597, allocations: 8 kB / 0.6158 GB, free: 4.879 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4598, allocations: 3.984 kB / 0.6158 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4598, allocations: 3.938 kB / 0.6158 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006693/0.4665, allocations: 4.105 MB / 0.6199 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.4665, allocations: 8 kB / 0.6199 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.4669, allocations: 103.8 kB / 0.62 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.4669, allocations: 12 kB / 0.62 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.467, allocations: 12 kB / 0.62 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.467, allocations: 16.5 kB / 0.62 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.467, allocations: 8 kB / 0.62 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.4684, allocations: 1.271 MB / 0.6213 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.4689, allocations: 263.7 kB / 0.6215 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.4692, allocations: 16 kB / 0.6215 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.4698, allocations: 35.92 kB / 0.6216 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.4699, allocations: 63.7 kB / 0.6216 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.47, allocations: 28 kB / 0.6216 GB, free: 14.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.4718, allocations: 1.287 MB / 0.6229 GB, free: 13.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4718, allocations: 0 / 0.6229 GB, free: 13.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002345/0.4742, allocations: 0.7124 MB / 0.6236 GB, free: 12.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.001782/0.476, allocations: 1.881 MB / 0.6254 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.4787, allocations: 2.066 MB / 0.6274 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4788, allocations: 0 / 0.6274 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/0.4793, allocations: 465 kB / 0.6279 GB, free: 8.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4805, allocations: 247.1 kB / 0.6281 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02664/0.5071, allocations: 21.2 MB / 0.6488 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/0.51, allocations: 2.323 MB / 0.6511 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002029/0.512, allocations: 0.9523 MB / 0.652 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.5134, allocations: 1.081 MB / 0.6531 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.5134, allocations: 0 / 0.6531 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05668/0.5701, allocations: 33.11 MB / 0.6854 GB, free: 10.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.23, allocations: 12.83 kB / 0.6854 GB, free: 10.83 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches