Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001248, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 73.88 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1312, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01229/0.1435, allocations: 9.514 MB / 489.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006318/0.1499, allocations: 2.924 MB / 492.6 MB, free: 8.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1513, allocations: 51.88 kB / 492.6 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.1557, allocations: 1.994 MB / 494.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.1586, allocations: 1.101 MB / 495.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009485/0.1596, allocations: 291.4 kB / 496 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003155/0.1627, allocations: 2.325 MB / 498.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00316/0.1659, allocations: 2.324 MB / 0.4889 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.1674, allocations: 0.8723 MB / 0.4898 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.169, allocations: 1.153 MB / 0.4909 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005296/0.1696, allocations: 196 kB / 0.4911 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.171, allocations: 0.6982 MB / 0.4918 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.1721, allocations: 1.103 MB / 0.4928 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.1737, allocations: 1.32 MB / 0.4941 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00437/0.1781, allocations: 4.155 MB / 0.4982 GB, free: 7.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1781, allocations: 0 / 0.4982 GB, free: 7.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1781, allocations: 0 / 0.4982 GB, free: 7.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.1782, allocations: 0 / 0.4982 GB, free: 7.043 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006081/0.1843, allocations: 2.857 MB / 0.501 GB, free: 4.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1844, allocations: 12.03 kB / 0.501 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007726/0.1852, allocations: 483.1 kB / 0.5014 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005178/0.1903, allocations: 1.557 MB / 0.503 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.1927, allocations: 1.324 MB / 0.5043 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.1928, allocations: 151.7 kB / 0.5044 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.1931, allocations: 183.9 kB / 0.5046 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.217/0.4101, allocations: 6.243 MB / 0.5107 GB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.4102, allocations: 14.23 kB / 0.5107 GB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.4105, allocations: 86.16 kB / 0.5108 GB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002225/0.4127, allocations: 1.339 MB / 0.5121 GB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.424, allocations: 5.336 MB / 0.5173 GB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02336/0.4474, allocations: 20.12 MB / 0.5369 GB, free: 21.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.4508, allocations: 2.082 MB / 0.539 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/0.4515, allocations: 0.6953 MB / 0.5396 GB, free: 18.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004452/0.456, allocations: 3.485 MB / 0.5431 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.456, allocations: 35 kB / 0.5431 GB, free: 14.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.895e-06/0.4561, allocations: 4 kB / 0.5431 GB, free: 14.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004463/0.4605, allocations: 1.974 MB / 0.545 GB, free: 12.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.4606, allocations: 55.84 kB / 0.5451 GB, free: 12.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.4626, allocations: 1.937 MB / 0.547 GB, free: 10.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.4626, allocations: 37.7 kB / 0.547 GB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006541/0.4633, allocations: 1.832 MB / 0.5488 GB, free: 8.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.4635, allocations: 320 kB / 0.5491 GB, free: 8.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005481/0.464, allocations: 0.6151 MB / 0.5497 GB, free: 7.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.4641, allocations: 357.9 kB / 0.55 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008966/0.465, allocations: 0.8842 MB / 0.5509 GB, free: 6.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.4665, allocations: 2.755 MB / 0.5536 GB, free: 2.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003396/0.4699, allocations: 3.975 MB / 0.5575 GB, free: 13.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.944e-05/0.4699, allocations: 16 kB / 0.5575 GB, free: 13.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005368/0.4753, allocations: 3.525 MB / 0.5609 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.4754, allocations: 32.19 kB / 0.561 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.099e-05/0.4755, allocations: 72 kB / 0.561 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.118e-05/0.4756, allocations: 84 kB / 0.5611 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.4774, allocations: 0.6589 MB / 0.5618 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001106/0.4775, allocations: 127.5 kB / 0.5619 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.4791, allocations: 426.7 kB / 0.5623 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.4794, allocations: 192 kB / 0.5625 GB, free: 8.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.002028/0.4814, allocations: 1.342 MB / 0.5638 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.4817, allocations: 157.9 kB / 0.5639 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.482, allocations: 196.9 kB / 0.5641 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.482, allocations: 8 kB / 0.5641 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.482, allocations: 0 / 0.5641 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.482, allocations: 7.922 kB / 0.5641 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005975/0.488, allocations: 4.067 MB / 0.5681 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.4881, allocations: 4 kB / 0.5681 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.4884, allocations: 103.8 kB / 0.5682 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.4885, allocations: 11.94 kB / 0.5682 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.4885, allocations: 20 kB / 0.5682 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.4885, allocations: 11.94 kB / 0.5682 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.4886, allocations: 8.406 kB / 0.5683 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.49, allocations: 1.239 MB / 0.5695 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.4903, allocations: 242.8 kB / 0.5697 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.4905, allocations: 27.92 kB / 0.5697 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.491, allocations: 23.98 kB / 0.5697 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.4911, allocations: 43.83 kB / 0.5698 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.4911, allocations: 31.98 kB / 0.5698 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001704/0.4928, allocations: 1.28 MB / 0.5711 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4928, allocations: 0 / 0.5711 GB, free: 15.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002534/0.4954, allocations: 0.6751 MB / 0.5717 GB, free: 15.01 MB / 414.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.00186/0.4973, allocations: 1.853 MB / 0.5735 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003209/0.5005, allocations: 2.242 MB / 0.5757 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5005, allocations: 0 / 0.5757 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.501, allocations: 460.1 kB / 0.5762 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5023, allocations: 241.4 kB / 0.5764 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03086/0.5331, allocations: 22 MB / 0.5979 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003036/0.5362, allocations: 2.275 MB / 0.6001 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002395/0.5386, allocations: 0.9496 MB / 0.601 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.5401, allocations: 1.034 MB / 0.602 GB, free: 12.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5401, allocations: 0 / 0.602 GB, free: 12.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05995/0.6001, allocations: 31.95 MB / 0.6332 GB, free: 13.06 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.616/9.216, allocations: 5.297 kB / 0.6332 GB, free: 13.05 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_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_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches