Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 75.73 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.131, allocations: 62.45 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3144/0.4455, allocations: 37.84 MB / 0.5051 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02211/0.4676, allocations: 7.626 MB / 0.5126 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01083/0.4785, allocations: 156 kB / 0.5127 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005761/0.4843, allocations: 2.627 MB / 0.5153 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.489, allocations: 1.109 MB / 0.5163 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.4904, allocations: 329.7 kB / 0.5167 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006552/0.497, allocations: 3.762 MB / 0.5203 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005561/0.5026, allocations: 2.968 MB / 0.5232 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.5051, allocations: 0.9335 MB / 0.5241 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.5084, allocations: 1.452 MB / 0.5256 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.5098, allocations: 192.2 kB / 0.5257 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.5129, allocations: 0.7361 MB / 0.5265 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.515, allocations: 1.284 MB / 0.5277 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002778/0.5178, allocations: 1.503 MB / 0.5292 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.5225, allocations: 4.895 MB / 0.534 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5225, allocations: 0 / 0.534 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5226, allocations: 4 kB / 0.534 GB, free: 1.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.701e-05/0.5226, allocations: 2.281 kB / 0.534 GB, free: 1.418 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.005617/0.5283, allocations: 3.262 MB / 0.5372 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5283, allocations: 10.25 kB / 0.5372 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006325/0.529, allocations: 0.5502 MB / 0.5377 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004658/0.5336, allocations: 1.605 MB / 0.5393 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.5361, allocations: 1.483 MB / 0.5407 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.5362, allocations: 180.9 kB / 0.5409 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.5366, allocations: 236.3 kB / 0.5411 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.5482, allocations: 7.104 MB / 0.5481 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.258e-05/0.5483, allocations: 15.88 kB / 0.5481 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004508/0.5488, allocations: 100.5 kB / 0.5482 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/0.5511, allocations: 1.449 MB / 0.5496 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.5625, allocations: 5.952 MB / 0.5554 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03102/0.5936, allocations: 22.45 MB / 0.5773 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/0.5984, allocations: 2.188 MB / 0.5795 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.5995, allocations: 0.7699 MB / 0.5802 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006846/0.6063, allocations: 3.849 MB / 0.584 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.6064, allocations: 47.06 kB / 0.584 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 3.957e-06/0.6064, allocations: 0 / 0.584 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006631/0.6131, allocations: 2.244 MB / 0.5862 GB, free: 14.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.6132, allocations: 55.97 kB / 0.5863 GB, free: 14.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.6172, allocations: 2.06 MB / 0.5883 GB, free: 12.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.6173, allocations: 33.7 kB / 0.5883 GB, free: 12.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.6188, allocations: 2.029 MB / 0.5903 GB, free: 10.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000375/0.6191, allocations: 351.2 kB / 0.5906 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.6202, allocations: 0.6534 MB / 0.5913 GB, free: 9.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6203, allocations: 365.8 kB / 0.5916 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.6218, allocations: 0.9313 MB / 0.5925 GB, free: 8.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/0.6245, allocations: 2.876 MB / 0.5953 GB, free: 4.254 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004635/0.6292, allocations: 4.149 MB / 0.5994 GB, free: 15.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-05/0.6292, allocations: 20 kB / 0.5994 GB, free: 15.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005841/0.6351, allocations: 3.695 MB / 0.603 GB, free: 11.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.6352, allocations: 36 kB / 0.603 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-05/0.6353, allocations: 71.94 kB / 0.6031 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.955e-05/0.6354, allocations: 92.81 kB / 0.6032 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.6373, allocations: 0.69 MB / 0.6039 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001059/0.6374, allocations: 139.5 kB / 0.604 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.6393, allocations: 431.4 kB / 0.6044 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/0.6397, allocations: 195.9 kB / 0.6046 GB, free: 9.785 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.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 (382): * Single equations (assignments): 377 * 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.002327/0.642, allocations: 1.502 MB / 0.6061 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.6423, allocations: 169.8 kB / 0.6062 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.6427, allocations: 214.2 kB / 0.6064 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.6427, allocations: 12 kB / 0.6064 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6427, allocations: 0 / 0.6064 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6427, allocations: 7.969 kB / 0.6065 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008741/0.6515, allocations: 4.94 MB / 0.6113 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.6515, allocations: 12 kB / 0.6113 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.6519, allocations: 119.9 kB / 0.6114 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.12e-05/0.652, allocations: 8 kB / 0.6114 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.652, allocations: 27.98 kB / 0.6114 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.652, allocations: 15.94 kB / 0.6115 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/0.6521, allocations: 11.94 kB / 0.6115 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.6539, allocations: 1.406 MB / 0.6128 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.6544, allocations: 282.4 kB / 0.6131 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.6547, allocations: 22.11 kB / 0.6131 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.6553, allocations: 35.88 kB / 0.6132 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.6554, allocations: 63.77 kB / 0.6132 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.6555, allocations: 39.92 kB / 0.6133 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002201/0.6577, allocations: 1.447 MB / 0.6147 GB, free: 15.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6577, allocations: 0 / 0.6147 GB, free: 15.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002778/0.6605, allocations: 0.7683 MB / 0.6154 GB, free: 14.38 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.002076/0.6626, allocations: 2.021 MB / 0.6174 GB, free: 12.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003043/0.6657, allocations: 2.145 MB / 0.6195 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6657, allocations: 0 / 0.6195 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006052/0.6663, allocations: 0.5035 MB / 0.62 GB, free: 9.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.6677, allocations: 274.2 kB / 0.6202 GB, free: 9.332 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03774/0.7054, allocations: 26.16 MB / 0.6458 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00387/0.7094, allocations: 2.518 MB / 0.6483 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002546/0.7119, allocations: 1.024 MB / 0.6493 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/0.7137, allocations: 1.202 MB / 0.6504 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of SimCode: time 1.723e-06/0.7137, allocations: 0 / 0.6504 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06006/0.7738, allocations: 35.37 MB / 0.685 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.774, allocations: 206.4 kB / 0.6852 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.395, allocations: 7.234 kB / 0.6852 GB, free: 3.566 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches