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.001375/0.001375, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002608, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1028, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2499/0.3528, allocations: 36.77 MB / 0.5078 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.3704, allocations: 7.578 MB / 0.5152 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008106/0.3786, allocations: 155.9 kB / 0.5153 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.3798, allocations: 321.4 kB / 0.5156 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.3832, allocations: 1.12 MB / 0.5167 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008905/0.3841, allocations: 315.5 kB / 0.517 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004768/0.3889, allocations: 3.77 MB / 0.5207 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005293/0.3942, allocations: 4.173 MB / 0.5248 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.3953, allocations: 0.7146 MB / 0.5255 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.3967, allocations: 1.174 MB / 0.5266 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.3969, allocations: 97.84 kB / 0.5267 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.398, allocations: 0.6486 MB / 0.5273 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008338/0.3988, allocations: 1.144 MB / 0.5285 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008047/0.3996, allocations: 1.359 MB / 0.5298 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.4028, allocations: 4.736 MB / 0.5344 GB, free: 2.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4028, allocations: 0 / 0.5344 GB, free: 2.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.4029, allocations: 0 / 0.5344 GB, free: 2.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.193e-05/0.4029, allocations: 0 / 0.5344 GB, free: 2.582 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.003691/0.4066, allocations: 2.656 MB / 0.537 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4067, allocations: 8.406 kB / 0.537 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006758/0.4074, allocations: 0.5501 MB / 0.5375 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005131/0.4125, allocations: 1.646 MB / 0.5392 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.4156, allocations: 1.48 MB / 0.5406 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.4158, allocations: 182.8 kB / 0.5408 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004782/0.4163, allocations: 234.4 kB / 0.541 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.4285, allocations: 7.107 MB / 0.5479 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.233e-05/0.4286, allocations: 11.88 kB / 0.5479 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/0.4289, allocations: 106.4 kB / 0.548 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/0.4311, allocations: 1.443 MB / 0.5495 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.4432, allocations: 5.962 MB / 0.5553 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03269/0.4759, allocations: 22.47 MB / 0.5772 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004607/0.4806, allocations: 2.192 MB / 0.5794 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4816, allocations: 0.7681 MB / 0.5801 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00623/0.4879, allocations: 3.857 MB / 0.5839 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.4879, allocations: 35.12 kB / 0.5839 GB, free: 3.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 3.216e-06/0.4879, allocations: 4 kB / 0.5839 GB, free: 3.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006009/0.494, allocations: 2.253 MB / 0.5861 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.494, allocations: 59.97 kB / 0.5862 GB, free: 0.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/0.497, allocations: 2.052 MB / 0.5882 GB, free: 14.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.4971, allocations: 37.7 kB / 0.5882 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.4985, allocations: 2.035 MB / 0.5902 GB, free: 12.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.4988, allocations: 346.3 kB / 0.5905 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.4992, allocations: 288.5 kB / 0.5908 GB, free: 12.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4994, allocations: 361.8 kB / 0.5912 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.5008, allocations: 0.9391 MB / 0.5921 GB, free: 10.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.5036, allocations: 2.872 MB / 0.5949 GB, free: 7.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004325/0.5079, allocations: 4.143 MB / 0.5989 GB, free: 1.922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.773e-05/0.508, allocations: 24 kB / 0.5989 GB, free: 1.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005692/0.5137, allocations: 3.698 MB / 0.6026 GB, free: 14.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.673e-05/0.5138, allocations: 36 kB / 0.6026 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.529e-05/0.5139, allocations: 72 kB / 0.6027 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.499e-05/0.514, allocations: 92 kB / 0.6027 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/0.5159, allocations: 0.69 MB / 0.6034 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/0.516, allocations: 135.5 kB / 0.6035 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.5179, allocations: 431.2 kB / 0.604 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.5182, allocations: 196 kB / 0.6041 GB, free: 12.56 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.002189/0.5204, allocations: 1.514 MB / 0.6056 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.5206, allocations: 169.8 kB / 0.6058 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.521, allocations: 210.2 kB / 0.606 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.5211, allocations: 8 kB / 0.606 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5211, allocations: 0 / 0.606 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.5211, allocations: 3.984 kB / 0.606 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007857/0.529, allocations: 4.942 MB / 0.6108 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.529, allocations: 8 kB / 0.6108 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.5294, allocations: 115.8 kB / 0.6109 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.5295, allocations: 8 kB / 0.6109 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.5295, allocations: 30.72 kB / 0.611 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.5295, allocations: 11.94 kB / 0.611 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.5296, allocations: 15.94 kB / 0.611 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.5311, allocations: 1.403 MB / 0.6124 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.5316, allocations: 290.4 kB / 0.6127 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/0.5319, allocations: 27.92 kB / 0.6127 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.5325, allocations: 35.89 kB / 0.6127 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5326, allocations: 63.75 kB / 0.6128 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.5327, allocations: 43.14 kB / 0.6128 GB, free: 3.375 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002165/0.5348, allocations: 1.444 MB / 0.6142 GB, free: 1.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5348, allocations: 0 / 0.6142 GB, free: 1.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00284/0.5377, allocations: 0.7658 MB / 0.615 GB, free: 1.141 MB / 462.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.002051/0.5397, allocations: 2.026 MB / 0.617 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.5429, allocations: 2.145 MB / 0.619 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5429, allocations: 3.938 kB / 0.619 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.5435, allocations: 0.4966 MB / 0.6195 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/0.5468, allocations: 263.8 kB / 0.6198 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/0.5815, allocations: 26.18 MB / 0.6454 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003704/0.5853, allocations: 2.514 MB / 0.6478 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00256/0.5879, allocations: 1.024 MB / 0.6488 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/0.5896, allocations: 1.206 MB / 0.65 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/0.5896, allocations: 4 kB / 0.65 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05838/0.648, allocations: 35.06 MB / 0.6842 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.6482, allocations: 211.3 kB / 0.6844 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.133, allocations: 0 / 0.6844 GB, free: 6.633 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