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.001483/0.001483, allocations: 117.2 kB / 17.78 MB, free: 5.277 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.001537/0.001538, allocations: 184.2 kB / 18.72 MB, free: 4.355 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.411/1.411, allocations: 222.9 MB / 242.4 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.2185/0.2185, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3166, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01048/0.3272, allocations: 9.745 MB / 0.5279 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006606/0.3338, allocations: 2.924 MB / 0.5308 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.3354, allocations: 53.72 kB / 0.5308 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003999/0.3394, allocations: 1.984 MB / 0.5328 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.3425, allocations: 1.136 MB / 0.5339 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.3433, allocations: 287.1 kB / 0.5342 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.3467, allocations: 2.325 MB / 0.5364 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/0.3496, allocations: 2.335 MB / 0.5387 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.3511, allocations: 0.9075 MB / 0.5396 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.3531, allocations: 1.182 MB / 0.5407 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005242/0.3536, allocations: 198.1 kB / 0.5409 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.3551, allocations: 0.6934 MB / 0.5416 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.3564, allocations: 1.148 MB / 0.5427 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.358, allocations: 1.347 MB / 0.5441 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005711/0.3637, allocations: 4.462 MB / 0.5484 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3638, allocations: 0 / 0.5484 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3638, allocations: 0 / 0.5484 GB, free: 13.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.3639, allocations: 0 / 0.5484 GB, free: 13.29 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.005758/0.3696, allocations: 3.02 MB / 0.5514 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3697, allocations: 12.03 kB / 0.5514 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008189/0.3705, allocations: 495.8 kB / 0.5518 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005424/0.376, allocations: 1.61 MB / 0.5534 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.3789, allocations: 1.356 MB / 0.5547 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.3791, allocations: 155.8 kB / 0.5549 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.3796, allocations: 187.9 kB / 0.5551 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.3902, allocations: 6.432 MB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/0.3903, allocations: 11.88 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/0.3906, allocations: 91.91 kB / 0.5614 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002308/0.3929, allocations: 1.395 MB / 0.5628 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.4033, allocations: 5.507 MB / 0.5682 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0291/0.4325, allocations: 20.49 MB / 0.5882 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/0.4369, allocations: 2.009 MB / 0.5902 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.4379, allocations: 0.6992 MB / 0.5908 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006513/0.4444, allocations: 3.64 MB / 0.5944 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.4445, allocations: 35 kB / 0.5944 GB, free: 12.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.947e-06/0.4445, allocations: 4 kB / 0.5944 GB, free: 12.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005523/0.4501, allocations: 1.99 MB / 0.5964 GB, free: 10.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.4501, allocations: 55.84 kB / 0.5964 GB, free: 10.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.453, allocations: 1.963 MB / 0.5984 GB, free: 8.852 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/0.4531, allocations: 45.69 kB / 0.5984 GB, free: 8.801 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.4546, allocations: 1.958 MB / 0.6003 GB, free: 6.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.455, allocations: 329.5 kB / 0.6006 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008608/0.4558, allocations: 0.6274 MB / 0.6012 GB, free: 5.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.456, allocations: 353.9 kB / 0.6016 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.4575, allocations: 0.892 MB / 0.6024 GB, free: 4.613 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/0.4604, allocations: 2.774 MB / 0.6051 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/0.4654, allocations: 3.999 MB / 0.6091 GB, free: 11.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.464e-05/0.4655, allocations: 20 kB / 0.6091 GB, free: 11.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006379/0.4719, allocations: 3.563 MB / 0.6126 GB, free: 8.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.472, allocations: 32 kB / 0.6126 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.718e-05/0.472, allocations: 68 kB / 0.6126 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.354e-05/0.4721, allocations: 92.06 kB / 0.6127 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.4742, allocations: 0.6628 MB / 0.6134 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000124/0.4743, allocations: 131.5 kB / 0.6135 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.4764, allocations: 420.9 kB / 0.6139 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/0.4767, allocations: 192 kB / 0.6141 GB, free: 6.793 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.002199/0.479, allocations: 1.381 MB / 0.6154 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.4792, allocations: 166.8 kB / 0.6156 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.4796, allocations: 201.2 kB / 0.6158 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.4796, allocations: 11.98 kB / 0.6158 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.4797, allocations: 7.938 kB / 0.6158 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4797, allocations: 3.984 kB / 0.6158 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006919/0.4866, allocations: 4.097 MB / 0.6198 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.4867, allocations: 11.94 kB / 0.6198 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.4871, allocations: 99.83 kB / 0.6199 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.4871, allocations: 8 kB / 0.6199 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.4872, allocations: 23.98 kB / 0.62 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.4872, allocations: 11.94 kB / 0.62 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.4872, allocations: 8 kB / 0.62 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.4889, allocations: 1.276 MB / 0.6212 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.4893, allocations: 251.7 kB / 0.6215 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.4895, allocations: 23.97 kB / 0.6215 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.49, allocations: 27.94 kB / 0.6215 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4902, allocations: 67.7 kB / 0.6216 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.4903, allocations: 35.98 kB / 0.6216 GB, free: 14.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002141/0.4924, allocations: 1.279 MB / 0.6229 GB, free: 13.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4924, allocations: 0 / 0.6229 GB, free: 13.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002665/0.4951, allocations: 0.7124 MB / 0.6236 GB, free: 12.83 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.002268/0.4974, allocations: 1.889 MB / 0.6254 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.5009, allocations: 2.047 MB / 0.6274 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.501, allocations: 4 kB / 0.6274 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.5016, allocations: 465 kB / 0.6278 GB, free: 8.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.503, allocations: 261.2 kB / 0.6281 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/0.5363, allocations: 21.2 MB / 0.6488 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00311/0.5395, allocations: 2.319 MB / 0.6511 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002217/0.5417, allocations: 0.9639 MB / 0.652 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/0.5435, allocations: 1.073 MB / 0.6531 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.5435, allocations: 0 / 0.6531 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06897/0.6125, allocations: 33.09 MB / 0.6854 GB, free: 11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.83, allocations: 18.97 kB / 0.6854 GB, free: 10.99 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