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.001375/0.001375, allocations: 108 kB / 16.41 MB, free: 6.488 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.00132/0.00132, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.598/1.598, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2401/0.2401, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.002161/0.002161, allocations: 75.88 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1077, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.02018/0.1279, allocations: 17.04 MB / 0.504 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.1402, allocations: 5.315 MB / 0.5092 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.1431, allocations: 127.6 kB / 0.5094 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01207/0.1552, allocations: 6.067 MB / 0.5153 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008241/0.1635, allocations: 3.081 MB / 0.5183 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004177/0.1678, allocations: 1.591 MB / 0.5198 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0128/0.1806, allocations: 8.182 MB / 0.5278 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2461/0.4268, allocations: 7.633 MB / 0.5353 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00702/0.4338, allocations: 3.215 MB / 0.5384 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008416/0.4423, allocations: 4.203 MB / 0.5425 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00372/0.4461, allocations: 0.64 MB / 0.5432 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006352/0.4525, allocations: 1.457 MB / 0.5446 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007708/0.4602, allocations: 3.855 MB / 0.5483 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01112/0.4714, allocations: 4.309 MB / 0.5526 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02404/0.4955, allocations: 13.19 MB / 0.5654 GB, free: 14.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4955, allocations: 0 / 0.5654 GB, free: 14.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4955, allocations: 0 / 0.5654 GB, free: 14.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006712/0.4962, allocations: 0 / 0.5654 GB, free: 14.42 MB / 430.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.03071/0.5269, allocations: 9.58 MB / 0.5748 GB, free: 8.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.527, allocations: 12.39 kB / 0.5748 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005243/0.5323, allocations: 1.31 MB / 0.5761 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/0.5462, allocations: 2.765 MB / 0.5788 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/0.5611, allocations: 6.686 MB / 0.5853 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005519/0.5617, allocations: 475.7 kB / 0.5858 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002826/0.5645, allocations: 0.5901 MB / 0.5863 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04559/0.6101, allocations: 18.73 MB / 0.6046 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004043/0.6106, allocations: 77.28 kB / 0.6047 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002986/0.6136, allocations: 278.8 kB / 0.605 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006676/0.6203, allocations: 3.461 MB / 0.6084 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03704/0.6574, allocations: 14.6 MB / 0.6226 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1198/0.7772, allocations: 70.36 MB / 0.6913 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/0.7967, allocations: 6.124 MB / 0.6973 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005155/0.8019, allocations: 2.454 MB / 0.6997 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02582/0.8277, allocations: 10.86 MB / 0.7103 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.812e-05/0.8279, allocations: 59 kB / 0.7104 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=238): time 9.307e-06/0.8279, allocations: 3.984 kB / 0.7104 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.05241/0.8803, allocations: 16.46 MB / 0.7264 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.8805, allocations: 154.5 kB / 0.7266 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01572/0.8962, allocations: 6.696 MB / 0.7331 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006164/0.8969, allocations: 69.22 kB / 0.7332 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.007874/0.9048, allocations: 5.765 MB / 0.7388 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001836/0.9066, allocations: 1.061 MB / 0.7399 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006344/0.913, allocations: 1.83 MB / 0.7416 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9132, allocations: 301.1 kB / 0.7419 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007026/0.9203, allocations: 2.618 MB / 0.7445 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01293/0.9333, allocations: 8.336 MB / 0.7526 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.291/1.224, allocations: 11.94 MB / 0.7643 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002371/1.225, allocations: 57.53 kB / 0.7643 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02511/1.25, allocations: 10.67 MB / 0.7748 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000376/1.25, allocations: 97.14 kB / 0.7749 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006114/1.251, allocations: 201.3 kB / 0.775 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/1.252, allocations: 267.1 kB / 0.7753 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008408/1.26, allocations: 2.118 MB / 0.7774 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/1.261, allocations: 396.7 kB / 0.7777 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008878/1.27, allocations: 451 kB / 0.7782 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002211/1.272, allocations: 0.5556 MB / 0.7787 GB, free: 179.8 MB / 0.5919 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.008789/1.281, allocations: 3.622 MB / 0.7823 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.283, allocations: 0.6072 MB / 0.7828 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00641/1.289, allocations: 2.8 MB / 0.7856 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.034e-05/1.289, allocations: 32.7 kB / 0.7856 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.289, allocations: 0.8438 kB / 0.7856 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-05/1.289, allocations: 12.89 kB / 0.7856 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04381/1.333, allocations: 26.59 MB / 0.8116 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001222/1.333, allocations: 56 kB / 0.8116 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.335, allocations: 0.5219 MB / 0.8122 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-05/1.335, allocations: 68 kB / 0.8122 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003942/1.336, allocations: 118.2 kB / 0.8123 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.204e-05/1.336, allocations: 106.7 kB / 0.8124 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.941e-05/1.336, allocations: 93.25 kB / 0.8125 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006165/1.342, allocations: 5.278 MB / 0.8177 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.344, allocations: 0.7062 MB / 0.8184 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.345, allocations: 119.2 kB / 0.8185 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/1.348, allocations: 139.6 kB / 0.8186 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/1.349, allocations: 358.5 kB / 0.819 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/1.349, allocations: 149.5 kB / 0.8191 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00809/1.357, allocations: 4.179 MB / 0.8232 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.914e-06/1.357, allocations: 0 / 0.8232 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01077/1.368, allocations: 1.507 MB / 0.8246 GB, free: 151.4 MB / 0.5919 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.007294/1.375, allocations: 6.022 MB / 0.8305 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.385, allocations: 6.236 MB / 0.8366 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-05/1.386, allocations: 8 kB / 0.8366 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002599/1.388, allocations: 1.495 MB / 0.8381 GB, free: 138 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008376/1.397, allocations: 0.9408 MB / 0.839 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1193/1.516, allocations: 73.64 MB / 0.9109 GB, free: 52.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/1.527, allocations: 5.576 MB / 0.9164 GB, free: 47.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007136/1.534, allocations: 2.776 MB / 0.9191 GB, free: 44.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005872/1.54, allocations: 3.659 MB / 0.9226 GB, free: 40.75 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/1.54, allocations: 0 / 0.9226 GB, free: 40.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.441/1.981, allocations: 101.2 MB / 1.021 GB, free: 191.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 49.37/51.35, allocations: 10.33 kB / 1.021 GB, free: 191.2 MB / 0.6075 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