Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_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.001616/0.001616, allocations: 109.3 kB / 16.27 MB, free: 6.41 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.001857/0.001857, allocations: 191.1 kB / 17.2 MB, free: 5.953 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.42/1.42, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2028/0.2028, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001645/0.001646, allocations: 71.09 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.1004, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01053/0.111, allocations: 10.53 MB / 451.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00659/0.1176, allocations: 3.003 MB / 454.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.1192, allocations: 55.88 kB / 454.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003773/0.123, allocations: 2.005 MB / 456.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.1262, allocations: 1.191 MB / 457.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000974/0.1272, allocations: 283.5 kB / 457.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003556/0.1308, allocations: 2.453 MB / 460.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00316/0.134, allocations: 2.379 MB / 462.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.1355, allocations: 0.9501 MB / 463.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.1372, allocations: 1.265 MB / 464.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006131/0.1379, allocations: 212 kB / 464.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.1395, allocations: 0.706 MB / 465.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.1408, allocations: 1.2 MB / 466.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.1427, allocations: 1.429 MB / 468.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.1472, allocations: 4.54 MB / 472.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1472, allocations: 7.938 kB / 472.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1472, allocations: 0 / 472.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001235/0.1474, allocations: 0 / 472.8 MB, free: 6.453 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005689/0.1531, allocations: 3.065 MB / 475.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1531, allocations: 11.89 kB / 475.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007434/0.1539, allocations: 0.5207 MB / 476.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/0.1592, allocations: 1.607 MB / 478 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.1615, allocations: 1.383 MB / 479.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.1616, allocations: 164 kB / 479.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.1619, allocations: 195.9 kB / 479.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009815/0.1717, allocations: 6.788 MB / 486.5 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-05/0.1718, allocations: 15.88 kB / 486.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/0.1722, allocations: 91.89 kB / 486.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/0.1745, allocations: 1.477 MB / 488.1 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.1857, allocations: 5.814 MB / 493.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0296/0.2154, allocations: 21.59 MB / 0.5034 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004607/0.22, allocations: 2.253 MB / 0.5056 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.2211, allocations: 0.7835 MB / 0.5064 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006187/0.2273, allocations: 3.742 MB / 0.5101 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2274, allocations: 35.12 kB / 0.5101 GB, free: 3.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.497e-06/0.2274, allocations: 0 / 0.5101 GB, free: 3.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.005822/0.2332, allocations: 2.197 MB / 0.5122 GB, free: 1.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2333, allocations: 59.97 kB / 0.5123 GB, free: 1.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/0.2366, allocations: 2.02 MB / 0.5143 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/0.2367, allocations: 41.7 kB / 0.5143 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.238, allocations: 1.964 MB / 0.5162 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000445/0.2385, allocations: 363.3 kB / 0.5166 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.2395, allocations: 0.6548 MB / 0.5172 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2397, allocations: 357.9 kB / 0.5176 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.2414, allocations: 0.9705 MB / 0.5185 GB, free: 10.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.2444, allocations: 2.91 MB / 0.5214 GB, free: 7.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00446/0.2489, allocations: 4.26 MB / 0.5255 GB, free: 1.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.382e-05/0.2489, allocations: 20 kB / 0.5255 GB, free: 1.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.1909/0.4398, allocations: 3.781 MB / 0.5292 GB, free: 85.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.4399, allocations: 36.45 kB / 0.5293 GB, free: 85.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.13e-05/0.44, allocations: 73.72 kB / 0.5293 GB, free: 85.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.4402, allocations: 93.39 kB / 0.5294 GB, free: 85.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/0.4425, allocations: 0.7103 MB / 0.5301 GB, free: 85.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001362/0.4426, allocations: 132.9 kB / 0.5302 GB, free: 85.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.445, allocations: 443.9 kB / 0.5307 GB, free: 85.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004145/0.4454, allocations: 202 kB / 0.5309 GB, free: 85.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002123/0.4476, allocations: 1.428 MB / 0.5322 GB, free: 85.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.4479, allocations: 171.5 kB / 0.5324 GB, free: 85.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.4499, allocations: 1.192 MB / 0.5336 GB, free: 85.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.4499, allocations: 10.38 kB / 0.5336 GB, free: 85.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.45, allocations: 5.312 kB / 0.5336 GB, free: 85.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.45, allocations: 7.047 kB / 0.5336 GB, free: 85.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008351/0.4583, allocations: 4.971 MB / 0.5385 GB, free: 83.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.4584, allocations: 8.844 kB / 0.5385 GB, free: 83.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.459, allocations: 138 kB / 0.5386 GB, free: 83.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.459, allocations: 13.78 kB / 0.5386 GB, free: 83.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.459, allocations: 26.14 kB / 0.5386 GB, free: 83.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.815e-05/0.4591, allocations: 19.55 kB / 0.5386 GB, free: 83.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.4591, allocations: 16.72 kB / 0.5387 GB, free: 83.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.4611, allocations: 1.513 MB / 0.5401 GB, free: 82.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.4615, allocations: 269.5 kB / 0.5404 GB, free: 82.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.4617, allocations: 27.02 kB / 0.5404 GB, free: 82.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.4623, allocations: 38.11 kB / 0.5405 GB, free: 82.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4624, allocations: 72.39 kB / 0.5405 GB, free: 82.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/0.4625, allocations: 39.56 kB / 0.5406 GB, free: 82.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001703/0.4642, allocations: 1.325 MB / 0.5419 GB, free: 82.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4642, allocations: 3 kB / 0.5419 GB, free: 82.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002721/0.4669, allocations: 0.7477 MB / 0.5426 GB, free: 81.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.00215/0.4691, allocations: 2.126 MB / 0.5447 GB, free: 80.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003332/0.4725, allocations: 2.466 MB / 0.5471 GB, free: 79.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.4725, allocations: 0 / 0.5471 GB, free: 79.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006302/0.4731, allocations: 0.5358 MB / 0.5476 GB, free: 79.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.4746, allocations: 263.6 kB / 0.5479 GB, free: 79.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/0.5004, allocations: 23.94 MB / 0.5712 GB, free: 55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002271/0.5027, allocations: 2.414 MB / 0.5736 GB, free: 52.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00229/0.505, allocations: 1.018 MB / 0.5746 GB, free: 51.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/0.5062, allocations: 1.136 MB / 0.5757 GB, free: 50.41 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5062, allocations: 0 / 0.5757 GB, free: 50.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/0.5633, allocations: 34.39 MB / 0.6093 GB, free: 16.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.253, allocations: 4 kB / 0.6093 GB, free: 16.04 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches