Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",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.001217/0.001217, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.0013/0.0013, allocations: 180.9 kB / 18.71 MB, free: 4.352 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.317/1.317, 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.2029/0.2029, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3149, allocations: 60.83 MB / 0.5184 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0102/0.3252, allocations: 9.731 MB / 0.5279 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006241/0.3315, allocations: 2.92 MB / 0.5308 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.3328, allocations: 53.12 kB / 0.5308 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.3365, allocations: 1.997 MB / 0.5328 GB, free: 9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.3393, allocations: 1.156 MB / 0.5339 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.3401, allocations: 287.5 kB / 0.5342 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003059/0.3431, allocations: 2.325 MB / 0.5364 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.3457, allocations: 2.332 MB / 0.5387 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.347, allocations: 0.8994 MB / 0.5396 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.3485, allocations: 1.172 MB / 0.5407 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003556/0.3488, allocations: 197.2 kB / 0.5409 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.3501, allocations: 0.7073 MB / 0.5416 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.3512, allocations: 1.157 MB / 0.5428 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.3527, allocations: 1.359 MB / 0.5441 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.3575, allocations: 4.47 MB / 0.5484 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3575, allocations: 0 / 0.5484 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.3575, allocations: 0 / 0.5484 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.568e-05/0.3576, allocations: 3.938 kB / 0.5485 GB, free: 13.16 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.004936/0.3626, allocations: 3.02 MB / 0.5514 GB, free: 10.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.3626, allocations: 8.031 kB / 0.5514 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005718/0.3632, allocations: 495.8 kB / 0.5519 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/0.3685, allocations: 1.606 MB / 0.5534 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.3716, allocations: 1.36 MB / 0.5548 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.3717, allocations: 155.8 kB / 0.5549 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.3721, allocations: 191.9 kB / 0.5551 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00976/0.3819, allocations: 6.432 MB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-05/0.382, allocations: 15.88 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.3822, allocations: 87.89 kB / 0.5615 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002128/0.3844, allocations: 1.407 MB / 0.5629 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.3946, allocations: 5.488 MB / 0.5682 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02841/0.423, allocations: 20.46 MB / 0.5882 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004465/0.4275, allocations: 2.08 MB / 0.5902 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009182/0.4285, allocations: 0.6901 MB / 0.5909 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006163/0.4347, allocations: 3.515 MB / 0.5943 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.4347, allocations: 35 kB / 0.5944 GB, free: 12.85 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.389e-06/0.4347, allocations: 0 / 0.5944 GB, free: 12.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005249/0.44, allocations: 1.99 MB / 0.5963 GB, free: 10.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.44, allocations: 63.84 kB / 0.5964 GB, free: 10.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.4425, allocations: 1.97 MB / 0.5983 GB, free: 8.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.4426, allocations: 33.7 kB / 0.5983 GB, free: 8.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.4437, allocations: 1.954 MB / 0.6002 GB, free: 6.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.444, allocations: 329.5 kB / 0.6006 GB, free: 6.469 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007146/0.4447, allocations: 0.6274 MB / 0.6012 GB, free: 5.832 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4449, allocations: 353.9 kB / 0.6015 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.4461, allocations: 0.8959 MB / 0.6024 GB, free: 4.582 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.4485, allocations: 2.774 MB / 0.6051 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/0.4526, allocations: 4 MB / 0.609 GB, free: 11.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.345e-05/0.4526, allocations: 20 kB / 0.609 GB, free: 11.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005299/0.4579, allocations: 3.558 MB / 0.6125 GB, free: 8.348 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.458, allocations: 36.25 kB / 0.6125 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.978e-05/0.4581, allocations: 71.94 kB / 0.6126 GB, free: 8.242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.377e-05/0.4582, allocations: 88 kB / 0.6127 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.46, allocations: 0.6628 MB / 0.6133 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.862e-05/0.4601, allocations: 127.5 kB / 0.6134 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.4619, allocations: 436.7 kB / 0.6139 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.4621, allocations: 184 kB / 0.614 GB, free: 6.758 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 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (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.001892/0.464, allocations: 1.373 MB / 0.6154 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.4642, allocations: 170.8 kB / 0.6155 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.4646, allocations: 201.2 kB / 0.6157 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.4646, allocations: 12 kB / 0.6157 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4646, allocations: 0 / 0.6157 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4646, allocations: 7.984 kB / 0.6158 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/0.4712, allocations: 4.137 MB / 0.6198 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.4713, allocations: 11.94 kB / 0.6198 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.4717, allocations: 95.81 kB / 0.6199 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.4717, allocations: 8 kB / 0.6199 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.4718, allocations: 23.98 kB / 0.6199 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.4718, allocations: 12.5 kB / 0.6199 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.4718, allocations: 8 kB / 0.6199 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.4733, allocations: 1.251 MB / 0.6212 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/0.4737, allocations: 263.7 kB / 0.6214 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.4739, allocations: 19.98 kB / 0.6214 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.4744, allocations: 23.98 kB / 0.6215 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.4745, allocations: 51.83 kB / 0.6215 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.4746, allocations: 35.98 kB / 0.6215 GB, free: 14.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001763/0.4764, allocations: 1.283 MB / 0.6228 GB, free: 13.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4764, allocations: 0 / 0.6228 GB, free: 13.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00237/0.4787, allocations: 0.7162 MB / 0.6235 GB, free: 12.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.001895/0.4806, allocations: 1.852 MB / 0.6253 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002948/0.4836, allocations: 2.054 MB / 0.6273 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.4836, allocations: 4.5 kB / 0.6273 GB, free: 8.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.4842, allocations: 459.9 kB / 0.6278 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.4854, allocations: 251.5 kB / 0.628 GB, free: 8.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/0.5123, allocations: 21.16 MB / 0.6487 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/0.5146, allocations: 2.319 MB / 0.6509 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002051/0.5167, allocations: 0.9715 MB / 0.6519 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.518, allocations: 1.069 MB / 0.6529 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of SimCode: time 2.876e-06/0.518, allocations: 4 kB / 0.6529 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05856/0.5765, allocations: 33.08 MB / 0.6852 GB, free: 11.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.74, allocations: 1.031 kB / 0.6852 GB, free: 11.11 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_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_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches