Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.001656/0.001656, allocations: 107.2 kB / 17.2 MB, free: 6.289 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.001853/0.001854, allocations: 194 kB / 18.12 MB, free: 5.383 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.415/1.415, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2313/0.2313, allocations: 44.18 MB / 336.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.47 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1057, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2642/0.3699, allocations: 52.48 MB / 0.5089 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03052/0.4005, allocations: 10.13 MB / 0.5188 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01571/0.4163, allocations: 214.8 kB / 0.519 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005867/0.4223, allocations: 2.637 MB / 0.5216 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.426, allocations: 1.155 MB / 0.5227 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009477/0.427, allocations: 320.5 kB / 0.523 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005125/0.4321, allocations: 3.88 MB / 0.5268 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003648/0.4358, allocations: 3.019 MB / 0.5297 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.4372, allocations: 0.964 MB / 0.5307 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.4388, allocations: 1.499 MB / 0.5321 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003652/0.4392, allocations: 197 kB / 0.5323 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.4405, allocations: 0.7363 MB / 0.533 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.4416, allocations: 1.346 MB / 0.5344 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.4429, allocations: 1.578 MB / 0.5359 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004669/0.4476, allocations: 5.112 MB / 0.5409 GB, free: 14.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4476, allocations: 3.984 kB / 0.5409 GB, free: 14.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4476, allocations: 0 / 0.5409 GB, free: 14.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001411/0.4477, allocations: 0 / 0.5409 GB, free: 14.81 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.007278/0.455, allocations: 3.405 MB / 0.5442 GB, free: 12.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.4551, allocations: 10.56 kB / 0.5442 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009603/0.4561, allocations: 0.5742 MB / 0.5448 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005421/0.4615, allocations: 1.656 MB / 0.5464 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/0.465, allocations: 1.522 MB / 0.5479 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.4651, allocations: 181.9 kB / 0.5481 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/0.4655, allocations: 248.3 kB / 0.5483 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.4775, allocations: 7.491 MB / 0.5556 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.666e-05/0.4776, allocations: 11.88 kB / 0.5556 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005357/0.4781, allocations: 112.6 kB / 0.5557 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/0.4805, allocations: 1.564 MB / 0.5573 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.4933, allocations: 6.267 MB / 0.5634 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03642/0.5297, allocations: 23.32 MB / 0.5862 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/0.5347, allocations: 2.2 MB / 0.5883 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.5359, allocations: 0.7698 MB / 0.5891 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007549/0.5435, allocations: 3.9 MB / 0.5929 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.5436, allocations: 39.12 kB / 0.5929 GB, free: 10.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 5.34e-06/0.5436, allocations: 0 / 0.5929 GB, free: 10.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.006482/0.5501, allocations: 2.251 MB / 0.5951 GB, free: 8.023 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.5501, allocations: 59.97 kB / 0.5952 GB, free: 7.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/0.5539, allocations: 2.108 MB / 0.5972 GB, free: 5.797 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.554, allocations: 33.7 kB / 0.5972 GB, free: 5.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.5555, allocations: 2.117 MB / 0.5993 GB, free: 3.637 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.5559, allocations: 339.1 kB / 0.5996 GB, free: 3.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.5569, allocations: 0.6653 MB / 0.6003 GB, free: 2.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.557, allocations: 301.1 kB / 0.6006 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.5585, allocations: 0.9509 MB / 0.6015 GB, free: 1.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/0.5613, allocations: 2.916 MB / 0.6044 GB, free: 13.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004594/0.5659, allocations: 4.204 MB / 0.6085 GB, free: 8.312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.814e-05/0.566, allocations: 20 kB / 0.6085 GB, free: 8.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006218/0.5722, allocations: 3.759 MB / 0.6121 GB, free: 4.523 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/0.5723, allocations: 36 kB / 0.6122 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.5725, allocations: 68.91 kB / 0.6122 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.5726, allocations: 92 kB / 0.6123 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.5749, allocations: 0.7057 MB / 0.613 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001141/0.575, allocations: 135.5 kB / 0.6132 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.5774, allocations: 443.2 kB / 0.6136 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/0.5778, allocations: 202.3 kB / 0.6138 GB, free: 2.859 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (388): * Single equations (assignments): 383 * 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.002861/0.5807, allocations: 1.562 MB / 0.6153 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003933/0.5811, allocations: 169.7 kB / 0.6155 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.5815, allocations: 226.7 kB / 0.6157 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.5816, allocations: 10.11 kB / 0.6157 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.5816, allocations: 0 / 0.6157 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5816, allocations: 3.984 kB / 0.6157 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.5919, allocations: 5.076 MB / 0.6206 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.5919, allocations: 8.156 kB / 0.6207 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.5924, allocations: 119.8 kB / 0.6208 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.5925, allocations: 12 kB / 0.6208 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.5925, allocations: 23.94 kB / 0.6208 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-05/0.5926, allocations: 23.92 kB / 0.6208 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.5926, allocations: 11.94 kB / 0.6208 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.5946, allocations: 1.406 MB / 0.6222 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/0.5953, allocations: 282.3 kB / 0.6225 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/0.5957, allocations: 27.92 kB / 0.6225 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.5964, allocations: 34.86 kB / 0.6225 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.5966, allocations: 63.81 kB / 0.6226 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.875e-05/0.5966, allocations: 32 kB / 0.6226 GB, free: 9.477 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002593/0.5992, allocations: 1.473 MB / 0.6241 GB, free: 7.984 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5992, allocations: 0 / 0.6241 GB, free: 7.984 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00329/0.6025, allocations: 0.8202 MB / 0.6249 GB, free: 7.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002344/0.6049, allocations: 2.025 MB / 0.6268 GB, free: 5.012 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003798/0.6087, allocations: 2.161 MB / 0.629 GB, free: 2.867 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.6087, allocations: 4.312 kB / 0.629 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.6094, allocations: 0.5016 MB / 0.6294 GB, free: 2.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.6114, allocations: 279.5 kB / 0.6297 GB, free: 2.086 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/0.6544, allocations: 26.81 MB / 0.6559 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004163/0.6587, allocations: 2.603 MB / 0.6584 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002667/0.6613, allocations: 1.036 MB / 0.6595 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002043/0.6634, allocations: 1.27 MB / 0.6607 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.6634, allocations: 0 / 0.6607 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/0.7253, allocations: 36.31 MB / 0.6961 GB, free: 10.84 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.7256, allocations: 212 kB / 0.6964 GB, free: 10.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/3.33, allocations: 3.094 kB / 0.6964 GB, free: 10.57 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches