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.001497/0.001497, allocations: 116.1 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 71.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2969, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01034/0.3072, allocations: 9.521 MB / 0.5398 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005914/0.3132, allocations: 2.925 MB / 0.5427 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.3145, allocations: 48.31 kB / 0.5427 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.3186, allocations: 1.997 MB / 0.5447 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.3217, allocations: 1.133 MB / 0.5458 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007887/0.3225, allocations: 283.1 kB / 0.546 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003191/0.3257, allocations: 2.34 MB / 0.5483 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.3284, allocations: 2.301 MB / 0.5506 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.3297, allocations: 0.88 MB / 0.5514 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.3313, allocations: 1.145 MB / 0.5525 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000539/0.3319, allocations: 200 kB / 0.5527 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.3333, allocations: 0.6982 MB / 0.5534 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.3343, allocations: 1.114 MB / 0.5545 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.3355, allocations: 1.308 MB / 0.5558 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.3397, allocations: 4.33 MB / 0.56 GB, free: 3.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3397, allocations: 0 / 0.56 GB, free: 3.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3397, allocations: 0 / 0.56 GB, free: 3.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.992e-05/0.3397, allocations: 0 / 0.56 GB, free: 3.43 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004296/0.344, allocations: 2.942 MB / 0.5629 GB, free: 436 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3441, allocations: 8.031 kB / 0.5629 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005317/0.3446, allocations: 483.1 kB / 0.5633 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00473/0.3494, allocations: 1.582 MB / 0.5649 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.3516, allocations: 1.336 MB / 0.5662 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-05/0.3517, allocations: 151.7 kB / 0.5663 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.352, allocations: 187.9 kB / 0.5665 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008439/0.3605, allocations: 6.246 MB / 0.5726 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.3605, allocations: 11.88 kB / 0.5726 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.3608, allocations: 87.91 kB / 0.5727 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001888/0.3627, allocations: 1.34 MB / 0.574 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009262/0.3719, allocations: 5.346 MB / 0.5792 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02643/0.3984, allocations: 20.03 MB / 0.5988 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/0.4027, allocations: 2.081 MB / 0.6008 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000948/0.4036, allocations: 0.6953 MB / 0.6015 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005841/0.4095, allocations: 3.496 MB / 0.6049 GB, free: 4.164 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4095, allocations: 42.92 kB / 0.605 GB, free: 4.113 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.4095, allocations: 0 / 0.605 GB, free: 4.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005258/0.4148, allocations: 1.982 MB / 0.6069 GB, free: 2.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.4149, allocations: 55.84 kB / 0.607 GB, free: 2.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.4177, allocations: 1.942 MB / 0.6089 GB, free: 112 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.4177, allocations: 37.7 kB / 0.6089 GB, free: 68 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.419, allocations: 1.907 MB / 0.6108 GB, free: 14.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.4193, allocations: 333.5 kB / 0.6111 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007837/0.4201, allocations: 0.6195 MB / 0.6117 GB, free: 13.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4203, allocations: 361.9 kB / 0.612 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4216, allocations: 0.8842 MB / 0.6129 GB, free: 11.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.4241, allocations: 2.763 MB / 0.6156 GB, free: 8.238 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004067/0.4281, allocations: 3.956 MB / 0.6195 GB, free: 3.359 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.501e-05/0.4282, allocations: 20 kB / 0.6195 GB, free: 3.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005489/0.4337, allocations: 3.527 MB / 0.6229 GB, free: 15.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.4338, allocations: 32 kB / 0.6229 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.695e-05/0.4339, allocations: 68 kB / 0.623 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.342e-05/0.434, allocations: 84.75 kB / 0.6231 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.4358, allocations: 0.6628 MB / 0.6237 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/0.436, allocations: 135.5 kB / 0.6239 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.4379, allocations: 424.8 kB / 0.6243 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.4382, allocations: 199.9 kB / 0.6245 GB, free: 14.21 MB / 494.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.001884/0.44, allocations: 1.334 MB / 0.6258 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.4403, allocations: 166.9 kB / 0.6259 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.4407, allocations: 200.9 kB / 0.6261 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.4407, allocations: 8 kB / 0.6261 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4407, allocations: 0 / 0.6261 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.4407, allocations: 7.984 kB / 0.6261 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007099/0.4478, allocations: 4.07 MB / 0.6301 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4479, allocations: 8 kB / 0.6301 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.4483, allocations: 95.83 kB / 0.6302 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.4483, allocations: 11.94 kB / 0.6302 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.4484, allocations: 27.92 kB / 0.6302 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.4484, allocations: 11.94 kB / 0.6303 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4484, allocations: 4 kB / 0.6303 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.4499, allocations: 1.243 MB / 0.6315 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.4504, allocations: 259.7 kB / 0.6317 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.4506, allocations: 19.94 kB / 0.6317 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.4512, allocations: 27.97 kB / 0.6318 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4513, allocations: 51.83 kB / 0.6318 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.4514, allocations: 35.98 kB / 0.6318 GB, free: 6.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00194/0.4533, allocations: 1.271 MB / 0.6331 GB, free: 5.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4533, allocations: 0 / 0.6331 GB, free: 5.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002356/0.4557, allocations: 0.6852 MB / 0.6338 GB, free: 4.434 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.001972/0.4577, allocations: 1.864 MB / 0.6356 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002982/0.4607, allocations: 2.047 MB / 0.6376 GB, free: 452 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4607, allocations: 0 / 0.6376 GB, free: 452 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000532/0.4612, allocations: 455 kB / 0.638 GB, free: 0 / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.4625, allocations: 243.1 kB / 0.6382 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0274/0.4899, allocations: 20.88 MB / 0.6586 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/0.4926, allocations: 2.271 MB / 0.6609 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00204/0.4946, allocations: 0.9557 MB / 0.6618 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.4959, allocations: 1.03 MB / 0.6628 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.496, allocations: 0 / 0.6628 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05952/0.5555, allocations: 32.57 MB / 0.6946 GB, free: 3.613 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.94, allocations: 22.06 kB / 0.6946 GB, free: 3.598 MB / 0.545 GB (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