Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001489/0.001489, allocations: 122.2 kB / 17.77 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 202 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2984, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01099/0.3095, allocations: 9.523 MB / 0.5398 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006401/0.3159, allocations: 2.92 MB / 0.5426 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.3174, allocations: 52.81 kB / 0.5427 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.3215, allocations: 1.998 MB / 0.5446 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.3245, allocations: 1.129 MB / 0.5458 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.3253, allocations: 286.3 kB / 0.546 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003115/0.3285, allocations: 2.336 MB / 0.5483 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.331, allocations: 2.307 MB / 0.5506 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3321, allocations: 0.8723 MB / 0.5514 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.3335, allocations: 1.153 MB / 0.5525 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.3339, allocations: 200 kB / 0.5527 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.335, allocations: 0.7021 MB / 0.5534 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009942/0.3361, allocations: 1.107 MB / 0.5545 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.3373, allocations: 1.308 MB / 0.5558 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004467/0.3418, allocations: 4.335 MB / 0.56 GB, free: 3.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3418, allocations: 0 / 0.56 GB, free: 3.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3419, allocations: 0 / 0.56 GB, free: 3.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.986e-05/0.3419, allocations: 0 / 0.56 GB, free: 3.434 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.004859/0.3468, allocations: 2.942 MB / 0.5629 GB, free: 440 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3469, allocations: 8.031 kB / 0.5629 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000659/0.3475, allocations: 487 kB / 0.5633 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/0.3527, allocations: 1.578 MB / 0.5649 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.3556, allocations: 1.336 MB / 0.5662 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.3557, allocations: 147.8 kB / 0.5663 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004181/0.3561, allocations: 183.9 kB / 0.5665 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009276/0.3654, allocations: 6.254 MB / 0.5726 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.3655, allocations: 11.88 kB / 0.5726 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/0.3658, allocations: 87.91 kB / 0.5727 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/0.3678, allocations: 1.34 MB / 0.574 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009581/0.3774, allocations: 5.338 MB / 0.5792 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02592/0.4034, allocations: 20.04 MB / 0.5988 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/0.4078, allocations: 2.085 MB / 0.6008 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009895/0.4088, allocations: 0.6861 MB / 0.6015 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006482/0.4153, allocations: 3.504 MB / 0.6049 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4153, allocations: 35 kB / 0.605 GB, free: 4.125 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.016e-06/0.4153, allocations: 0 / 0.605 GB, free: 4.125 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.00557/0.4209, allocations: 1.978 MB / 0.6069 GB, free: 2.137 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.421, allocations: 67.77 kB / 0.607 GB, free: 2.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.4237, allocations: 1.938 MB / 0.6089 GB, free: 120 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.801e-05/0.4239, allocations: 37.64 kB / 0.6089 GB, free: 76 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.4252, allocations: 1.911 MB / 0.6108 GB, free: 14.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.4256, allocations: 325.5 kB / 0.6111 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000825/0.4264, allocations: 0.6234 MB / 0.6117 GB, free: 13.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4266, allocations: 369.9 kB / 0.612 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.4279, allocations: 0.8803 MB / 0.6129 GB, free: 11.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.4307, allocations: 2.751 MB / 0.6156 GB, free: 8.254 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00426/0.435, allocations: 3.962 MB / 0.6194 GB, free: 3.367 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.226e-05/0.435, allocations: 20 kB / 0.6195 GB, free: 3.348 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00556/0.4406, allocations: 3.529 MB / 0.6229 GB, free: 15.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/0.4407, allocations: 32 kB / 0.6229 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.575e-05/0.4408, allocations: 68 kB / 0.623 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.127e-05/0.4409, allocations: 92.75 kB / 0.6231 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/0.4428, allocations: 0.6589 MB / 0.6237 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001016/0.4429, allocations: 131.5 kB / 0.6239 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.4448, allocations: 428.7 kB / 0.6243 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/0.4451, allocations: 191.9 kB / 0.6245 GB, free: 14.23 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.002051/0.4472, allocations: 1.342 MB / 0.6258 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.4475, allocations: 170.9 kB / 0.6259 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.4479, allocations: 188.9 kB / 0.6261 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.4479, allocations: 11.98 kB / 0.6261 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4479, allocations: 4 kB / 0.6261 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4479, allocations: 0 / 0.6261 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007022/0.455, allocations: 4.077 MB / 0.6301 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.455, allocations: 8 kB / 0.6301 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.4554, allocations: 99.81 kB / 0.6302 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.4555, allocations: 8 kB / 0.6302 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.4555, allocations: 23.88 kB / 0.6302 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.4555, allocations: 11.98 kB / 0.6302 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/0.4555, allocations: 7.938 kB / 0.6303 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.457, allocations: 1.239 MB / 0.6315 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.4574, allocations: 259.6 kB / 0.6317 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.4576, allocations: 27.92 kB / 0.6317 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.4581, allocations: 19.98 kB / 0.6318 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.4582, allocations: 55.83 kB / 0.6318 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.4582, allocations: 31.98 kB / 0.6318 GB, free: 6.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001704/0.4599, allocations: 1.263 MB / 0.6331 GB, free: 5.137 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4599, allocations: 0 / 0.6331 GB, free: 5.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002365/0.4623, allocations: 0.693 MB / 0.6338 GB, free: 4.441 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.001873/0.4642, allocations: 1.86 MB / 0.6356 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002948/0.4672, allocations: 2.04 MB / 0.6376 GB, free: 468 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4672, allocations: 1.812 kB / 0.6376 GB, free: 468 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.4678, allocations: 465.2 kB / 0.638 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.469, allocations: 232.2 kB / 0.6382 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/0.4956, allocations: 20.88 MB / 0.6586 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002551/0.4982, allocations: 2.263 MB / 0.6608 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002042/0.5003, allocations: 0.9596 MB / 0.6618 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.5016, allocations: 1.034 MB / 0.6628 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of SimCode: time 6.72e-07/0.5017, allocations: 0 / 0.6628 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06058/0.5622, allocations: 32.56 MB / 0.6946 GB, free: 3.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.88, allocations: 23.66 kB / 0.6946 GB, free: 3.605 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches