Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 103.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 76.03 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1652, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01138/0.1766, allocations: 10.11 MB / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.1834, allocations: 3.064 MB / 493.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.185, allocations: 51.94 kB / 493.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004959/0.19, allocations: 2.621 MB / 496 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003661/0.1937, allocations: 1.175 MB / 497.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009414/0.1947, allocations: 343.3 kB / 497.5 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.1983, allocations: 2.555 MB / 0.4883 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003873/0.2022, allocations: 2.992 MB / 0.4912 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.204, allocations: 1.048 MB / 0.4923 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.2059, allocations: 1.382 MB / 0.4936 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007162/0.2066, allocations: 248 kB / 0.4938 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.2083, allocations: 0.7568 MB / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.2097, allocations: 1.329 MB / 0.4959 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002265/0.212, allocations: 1.55 MB / 0.4974 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005926/0.218, allocations: 4.934 MB / 0.5022 GB, free: 2.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.218, allocations: 4 kB / 0.5022 GB, free: 2.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.218, allocations: 0 / 0.5022 GB, free: 2.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.2182, allocations: 0 / 0.5022 GB, free: 2.887 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.2077/0.4259, allocations: 3.263 MB / 0.5054 GB, free: 39.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.426, allocations: 9.812 kB / 0.5054 GB, free: 39.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009646/0.427, allocations: 0.5461 MB / 0.506 GB, free: 39.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/0.4326, allocations: 1.602 MB / 0.5075 GB, free: 39.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.4352, allocations: 1.487 MB / 0.509 GB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.4354, allocations: 177.7 kB / 0.5091 GB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/0.4357, allocations: 232 kB / 0.5094 GB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.4462, allocations: 7.117 MB / 0.5163 GB, free: 35.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/0.4463, allocations: 14.44 kB / 0.5163 GB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/0.4466, allocations: 107.7 kB / 0.5164 GB, free: 35.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002247/0.4488, allocations: 1.449 MB / 0.5178 GB, free: 35.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.4601, allocations: 5.954 MB / 0.5237 GB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0235/0.4837, allocations: 22.45 MB / 0.5456 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/0.4876, allocations: 2.188 MB / 0.5477 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008339/0.4885, allocations: 0.7673 MB / 0.5485 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005463/0.4939, allocations: 3.85 MB / 0.5522 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.494, allocations: 39.12 kB / 0.5523 GB, free: 4.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.446e-06/0.494, allocations: 0 / 0.5523 GB, free: 4.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005223/0.4992, allocations: 2.255 MB / 0.5545 GB, free: 1.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4993, allocations: 59.97 kB / 0.5545 GB, free: 1.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.5015, allocations: 2.052 MB / 0.5565 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.5015, allocations: 45.67 kB / 0.5566 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.5029, allocations: 2.019 MB / 0.5585 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.5032, allocations: 347.6 kB / 0.5589 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008845/0.5041, allocations: 0.6507 MB / 0.5595 GB, free: 12.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.5043, allocations: 363 kB / 0.5599 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.5058, allocations: 0.9352 MB / 0.5608 GB, free: 11.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/0.5087, allocations: 2.873 MB / 0.5636 GB, free: 7.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/0.5131, allocations: 4.155 MB / 0.5676 GB, free: 2.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.111e-05/0.5132, allocations: 20 kB / 0.5677 GB, free: 2.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005335/0.5185, allocations: 3.698 MB / 0.5713 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.5186, allocations: 32 kB / 0.5713 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.763e-05/0.5187, allocations: 68 kB / 0.5714 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.5188, allocations: 92 kB / 0.5714 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.5207, allocations: 0.6862 MB / 0.5721 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001113/0.5208, allocations: 136.7 kB / 0.5722 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.5226, allocations: 439.2 kB / 0.5727 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.5229, allocations: 196.4 kB / 0.5729 GB, free: 13.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (382): * Single equations (assignments): 377 * 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.002181/0.5251, allocations: 1.507 MB / 0.5743 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.5253, allocations: 165.8 kB / 0.5745 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.5257, allocations: 218.2 kB / 0.5747 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.5257, allocations: 8 kB / 0.5747 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.5257, allocations: 4 kB / 0.5747 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.5257, allocations: 3.984 kB / 0.5747 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/0.5331, allocations: 4.937 MB / 0.5795 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.5331, allocations: 8 kB / 0.5795 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.5335, allocations: 119.8 kB / 0.5797 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/0.5336, allocations: 15.94 kB / 0.5797 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.5336, allocations: 16.66 kB / 0.5797 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/0.5337, allocations: 19.92 kB / 0.5797 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.379e-05/0.5337, allocations: 15.94 kB / 0.5797 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.5354, allocations: 1.399 MB / 0.5811 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.5358, allocations: 286.4 kB / 0.5814 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.536, allocations: 27.88 kB / 0.5814 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.5365, allocations: 39.86 kB / 0.5814 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5367, allocations: 63.81 kB / 0.5815 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.5367, allocations: 32 kB / 0.5815 GB, free: 3.816 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001856/0.5386, allocations: 1.452 MB / 0.5829 GB, free: 2.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5386, allocations: 0 / 0.5829 GB, free: 2.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00271/0.5413, allocations: 0.7633 MB / 0.5837 GB, free: 1.582 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002023/0.5433, allocations: 2.029 MB / 0.5857 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003583/0.5469, allocations: 2.371 MB / 0.588 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.547, allocations: 4 kB / 0.588 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.5476, allocations: 0.507 MB / 0.5885 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.5491, allocations: 270.7 kB / 0.5887 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/0.5854, allocations: 24.79 MB / 0.6129 GB, free: 180 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003561/0.5891, allocations: 2.51 MB / 0.6154 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002601/0.5917, allocations: 1.023 MB / 0.6164 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/0.5935, allocations: 1.21 MB / 0.6176 GB, free: 11.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5935, allocations: 0 / 0.6176 GB, free: 11.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06929/0.6628, allocations: 36.04 MB / 0.6528 GB, free: 7.492 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.719/9.382, allocations: 3.5 kB / 0.6528 GB, free: 7.492 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_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_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches