Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",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.001251/0.001251, allocations: 102.2 kB / 16.27 MB, free: 5.98 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.00121/0.00121, allocations: 188.5 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.21/0.21, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 73.09 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1122, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01635/0.1286, allocations: 17.03 MB / 457.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.144, allocations: 5.327 MB / 463 MB, free: 372 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/0.149, allocations: 127.6 kB / 463.1 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01212/0.1611, allocations: 6.067 MB / 469.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0084/0.1696, allocations: 3.081 MB / 472.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.1736, allocations: 1.575 MB / 473.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01278/0.1864, allocations: 8.181 MB / 482 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.1971, allocations: 7.643 MB / 489.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006723/0.2039, allocations: 3.221 MB / 492.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007899/0.2118, allocations: 4.198 MB / 497.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002551/0.2144, allocations: 0.6406 MB / 497.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.2183, allocations: 1.455 MB / 499.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005025/0.2234, allocations: 3.85 MB / 0.4912 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008165/0.2316, allocations: 4.311 MB / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.247, allocations: 12.71 MB / 0.5078 GB, free: 7.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2471, allocations: 0 / 0.5078 GB, free: 7.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.2471, allocations: 0 / 0.5078 GB, free: 7.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004164/0.2475, allocations: 3.938 kB / 0.5079 GB, free: 7.059 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02264/0.2701, allocations: 9.33 MB / 0.517 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.2702, allocations: 11.89 kB / 0.517 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003916/0.2741, allocations: 1.311 MB / 0.5183 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/0.2871, allocations: 2.708 MB / 0.5209 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/0.3003, allocations: 6.547 MB / 0.5273 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004847/0.3008, allocations: 475.5 kB / 0.5277 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003012/0.3039, allocations: 0.5893 MB / 0.5283 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4594/0.7632, allocations: 18.73 MB / 0.5466 GB, free: 74.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002612/0.7635, allocations: 74.8 kB / 0.5467 GB, free: 74.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001597/0.7651, allocations: 283.2 kB / 0.547 GB, free: 74.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004613/0.7698, allocations: 3.451 MB / 0.5503 GB, free: 73.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0299/0.7997, allocations: 14.61 MB / 0.5646 GB, free: 61.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.082/0.8817, allocations: 70.61 MB / 0.6335 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/0.8991, allocations: 6.127 MB / 0.6395 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/0.903, allocations: 2.459 MB / 0.6419 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01947/0.9225, allocations: 10.83 MB / 0.6525 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.876e-05/0.9226, allocations: 60.56 kB / 0.6526 GB, free: 1.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.771e-06/0.9226, allocations: 0 / 0.6526 GB, free: 1.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=262): time 0.04413/0.9668, allocations: 16.01 MB / 0.6682 GB, free: 1.836 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.9669, allocations: 158.5 kB / 0.6684 GB, free: 1.652 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009471/0.9764, allocations: 6.69 MB / 0.6749 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004758/0.9769, allocations: 65.7 kB / 0.675 GB, free: 10.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004408/0.9813, allocations: 5.549 MB / 0.6804 GB, free: 5.285 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/0.9826, allocations: 1.007 MB / 0.6814 GB, free: 4.266 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00247/0.9851, allocations: 1.817 MB / 0.6831 GB, free: 2.434 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.9852, allocations: 305.1 kB / 0.6834 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004328/0.9895, allocations: 2.626 MB / 0.686 GB, free: 15.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007809/0.9974, allocations: 8.333 MB / 0.6941 GB, free: 4.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/1.01, allocations: 11.94 MB / 0.7058 GB, free: 5.547 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.011, allocations: 56 kB / 0.7058 GB, free: 5.492 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.0185/1.029, allocations: 10.64 MB / 0.7162 GB, free: 10.84 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.029, allocations: 95.94 kB / 0.7163 GB, free: 10.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/1.029, allocations: 207.9 kB / 0.7165 GB, free: 10.54 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/1.03, allocations: 264 kB / 0.7168 GB, free: 10.29 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006899/1.037, allocations: 2.121 MB / 0.7188 GB, free: 8.16 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003918/1.037, allocations: 402.5 kB / 0.7192 GB, free: 7.766 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006951/1.044, allocations: 443.5 kB / 0.7196 GB, free: 7.332 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.045, allocations: 0.5547 MB / 0.7202 GB, free: 6.777 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1139): * Single equations (assignments): 1128 * 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.006218/1.051, allocations: 3.621 MB / 0.7237 GB, free: 3.145 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000981/1.052, allocations: 0.5784 MB / 0.7243 GB, free: 2.559 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2152/1.268, allocations: 2.801 MB / 0.727 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.785e-05/1.268, allocations: 31.25 kB / 0.7271 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/1.268, allocations: 1.531 kB / 0.7271 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-05/1.268, allocations: 12.8 kB / 0.7271 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03737/1.305, allocations: 26.57 MB / 0.753 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.8e-05/1.305, allocations: 51.16 kB / 0.7531 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/1.307, allocations: 0.5228 MB / 0.7536 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.665e-05/1.307, allocations: 69.28 kB / 0.7536 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/1.307, allocations: 126.2 kB / 0.7538 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.206e-05/1.307, allocations: 106.7 kB / 0.7539 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.469e-05/1.307, allocations: 83.44 kB / 0.7539 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/1.312, allocations: 5.24 MB / 0.7591 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.314, allocations: 0.6769 MB / 0.7597 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006458/1.314, allocations: 123.5 kB / 0.7598 GB, free: 156.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/1.317, allocations: 138.9 kB / 0.76 GB, free: 156.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/1.317, allocations: 363.2 kB / 0.7603 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.317, allocations: 146.2 kB / 0.7605 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007384/1.324, allocations: 4.181 MB / 0.7645 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.122e-06/1.325, allocations: 0 / 0.7645 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009638/1.334, allocations: 1.501 MB / 0.766 GB, free: 154.6 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.006042/1.34, allocations: 5.987 MB / 0.7719 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.008889/1.349, allocations: 6.313 MB / 0.778 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.826e-05/1.349, allocations: 10 kB / 0.778 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/1.351, allocations: 1.495 MB / 0.7795 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006057/1.357, allocations: 0.9366 MB / 0.7804 GB, free: 142 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09163/1.449, allocations: 89.33 MB / 0.8676 GB, free: 38.47 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009469/1.459, allocations: 5.574 MB / 0.8731 GB, free: 32.89 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006951/1.466, allocations: 2.776 MB / 0.8758 GB, free: 30.11 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0044/1.47, allocations: 3.662 MB / 0.8794 GB, free: 26.45 MB / 0.5138 GB Notification: Performance of SimCode: time 8.61e-07/1.47, allocations: 0 / 0.8794 GB, free: 26.45 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3531/1.823, allocations: 106.9 MB / 0.9838 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/13.12, allocations: 3.797 kB / 0.9838 GB, free: 143.3 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches