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.00104/0.00104, allocations: 114 kB / 16.41 MB, free: 6.5 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.001042/0.001042, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.257/1.257, 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.1896/0.1896, allocations: 43.53 MB / 314.1 MB, free: 464 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.001375/0.001375, allocations: 63.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09198, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01621/0.1082, allocations: 17.04 MB / 0.504 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1184, allocations: 5.319 MB / 0.5092 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.121, allocations: 131.6 kB / 0.5094 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.1315, allocations: 6.071 MB / 0.5153 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008464/0.1401, allocations: 3.167 MB / 0.5184 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.144, allocations: 1.579 MB / 0.5199 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.1545, allocations: 8.189 MB / 0.5279 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2088/0.3634, allocations: 7.627 MB / 0.5354 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005173/0.3686, allocations: 3.186 MB / 0.5385 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006549/0.3751, allocations: 4.214 MB / 0.5426 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002683/0.3779, allocations: 0.6405 MB / 0.5432 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/0.3826, allocations: 1.467 MB / 0.5446 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006351/0.389, allocations: 3.92 MB / 0.5485 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008521/0.3975, allocations: 4.316 MB / 0.5527 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.414, allocations: 13.19 MB / 0.5656 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.414, allocations: 0 / 0.5656 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4141, allocations: 0 / 0.5656 GB, free: 14.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005377/0.4146, allocations: 3.562 kB / 0.5656 GB, free: 14.41 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.02133/0.4359, allocations: 9.574 MB / 0.5749 GB, free: 8.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.436, allocations: 13.67 kB / 0.5749 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002519/0.4385, allocations: 1.308 MB / 0.5762 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.4499, allocations: 2.761 MB / 0.5789 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/0.4626, allocations: 6.692 MB / 0.5854 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/0.463, allocations: 468 kB / 0.5859 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002062/0.4651, allocations: 0.5965 MB / 0.5865 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03738/0.5025, allocations: 18.72 MB / 0.6048 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000236/0.5028, allocations: 78.41 kB / 0.6048 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001271/0.5041, allocations: 289.5 kB / 0.6051 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005402/0.5095, allocations: 3.453 MB / 0.6085 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0313/0.5408, allocations: 14.6 MB / 0.6227 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/0.641, allocations: 70.36 MB / 0.6915 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01742/0.6584, allocations: 6.122 MB / 0.6974 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004014/0.6625, allocations: 2.458 MB / 0.6998 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02148/0.684, allocations: 10.85 MB / 0.7104 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.578e-05/0.6841, allocations: 70.36 kB / 0.7105 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=238): time 6.252e-06/0.6841, allocations: 0 / 0.7105 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.04553/0.7296, allocations: 16.46 MB / 0.7266 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/0.7298, allocations: 158.5 kB / 0.7267 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/0.7414, allocations: 6.696 MB / 0.7333 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005065/0.7419, allocations: 68.75 kB / 0.7333 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004084/0.746, allocations: 5.764 MB / 0.739 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.7472, allocations: 1.065 MB / 0.74 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/0.7495, allocations: 1.82 MB / 0.7418 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.7496, allocations: 301.1 kB / 0.7421 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00414/0.7538, allocations: 2.622 MB / 0.7446 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008038/0.7618, allocations: 8.332 MB / 0.7528 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.225/0.9869, allocations: 11.94 MB / 0.7644 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001674/0.9871, allocations: 57.81 kB / 0.7645 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02069/1.008, allocations: 10.67 MB / 0.7749 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/1.008, allocations: 96.09 kB / 0.775 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003564/1.008, allocations: 201.9 kB / 0.7752 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/1.009, allocations: 271.2 kB / 0.7754 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00764/1.016, allocations: 2.117 MB / 0.7775 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004898/1.017, allocations: 396.6 kB / 0.7779 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006718/1.024, allocations: 451.8 kB / 0.7783 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/1.025, allocations: 0.5632 MB / 0.7789 GB, free: 179.7 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.005707/1.031, allocations: 3.619 MB / 0.7824 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009439/1.032, allocations: 0.6031 MB / 0.783 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/1.036, allocations: 2.799 MB / 0.7857 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-05/1.036, allocations: 32.55 kB / 0.7858 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.036, allocations: 0 / 0.7858 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/1.036, allocations: 15.14 kB / 0.7858 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03236/1.069, allocations: 26.59 MB / 0.8117 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.203e-05/1.069, allocations: 52 kB / 0.8118 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/1.07, allocations: 0.5222 MB / 0.8123 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.437e-05/1.07, allocations: 72 kB / 0.8124 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/1.071, allocations: 115.9 kB / 0.8125 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-05/1.071, allocations: 106.8 kB / 0.8126 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.13e-05/1.071, allocations: 87.62 kB / 0.8127 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00471/1.075, allocations: 5.281 MB / 0.8178 GB, free: 157.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.077, allocations: 0.7064 MB / 0.8185 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000983/1.078, allocations: 123.3 kB / 0.8186 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/1.081, allocations: 139.1 kB / 0.8188 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003534/1.081, allocations: 359 kB / 0.8191 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/1.081, allocations: 148.6 kB / 0.8192 GB, free: 156.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006462/1.088, allocations: 4.182 MB / 0.8233 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.813e-06/1.088, allocations: 4 kB / 0.8233 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00799/1.096, allocations: 1.501 MB / 0.8248 GB, free: 151.3 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.005045/1.101, allocations: 6.025 MB / 0.8307 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008101/1.109, allocations: 6.232 MB / 0.8368 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.842e-05/1.109, allocations: 8 kB / 0.8368 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.111, allocations: 1.493 MB / 0.8382 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/1.117, allocations: 0.9377 MB / 0.8391 GB, free: 137 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0842/1.201, allocations: 73.64 MB / 0.9111 GB, free: 52.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009094/1.21, allocations: 5.575 MB / 0.9165 GB, free: 47.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006661/1.217, allocations: 2.78 MB / 0.9192 GB, free: 44.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005007/1.222, allocations: 3.655 MB / 0.9228 GB, free: 40.67 MB / 0.5919 GB Notification: Performance of SimCode: time 1.893e-06/1.222, allocations: 0 / 0.9228 GB, free: 40.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3717/1.593, allocations: 101.2 MB / 1.022 GB, free: 189.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.51/52.11, allocations: 14.41 kB / 1.022 GB, free: 189.4 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