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.00109/0.00109, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001187/0.001187, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.341/1.341, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.1984/0.1984, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 57.12 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01296/0.1488, allocations: 10.51 MB / 479.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006339/0.1551, allocations: 3.111 MB / 483 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.1567, allocations: 63.88 kB / 483 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.1616, allocations: 2.609 MB / 485.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.1647, allocations: 1.218 MB / 486.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.1657, allocations: 359.3 kB / 487.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003505/0.1692, allocations: 2.575 MB / 489.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004204/0.1734, allocations: 3.05 MB / 492.8 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.1753, allocations: 1.087 MB / 493.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.1775, allocations: 1.41 MB / 495.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000799/0.1783, allocations: 260 kB / 495.6 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.1802, allocations: 0.7646 MB / 496.4 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001752/0.182, allocations: 1.395 MB / 497.8 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00268/0.1846, allocations: 1.627 MB / 499.4 MB, free: 116 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005624/0.1903, allocations: 5.168 MB / 0.4927 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1903, allocations: 0 / 0.4927 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1903, allocations: 0 / 0.4927 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.296e-05/0.1904, allocations: 0 / 0.4927 GB, free: 10.93 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.005207/0.1956, allocations: 3.402 MB / 0.496 GB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1957, allocations: 12.03 kB / 0.4961 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008625/0.1965, allocations: 0.5707 MB / 0.4966 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005724/0.2023, allocations: 1.662 MB / 0.4982 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.2051, allocations: 1.516 MB / 0.4997 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.2052, allocations: 196.7 kB / 0.4999 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/0.2057, allocations: 235.9 kB / 0.5001 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.235/0.4407, allocations: 7.494 MB / 0.5074 GB, free: 44.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/0.4408, allocations: 13.66 kB / 0.5075 GB, free: 44.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/0.4411, allocations: 110 kB / 0.5076 GB, free: 44.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002654/0.4437, allocations: 1.563 MB / 0.5091 GB, free: 44.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.4557, allocations: 6.263 MB / 0.5152 GB, free: 42.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02407/0.4798, allocations: 23.31 MB / 0.538 GB, free: 24.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/0.4836, allocations: 2.203 MB / 0.5401 GB, free: 22.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/0.4843, allocations: 0.7683 MB / 0.5409 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004898/0.4892, allocations: 3.893 MB / 0.5447 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.4893, allocations: 43.12 kB / 0.5447 GB, free: 17.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.515e-06/0.4893, allocations: 3.938 kB / 0.5447 GB, free: 17.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005185/0.4945, allocations: 2.255 MB / 0.5469 GB, free: 15.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.4945, allocations: 59.97 kB / 0.547 GB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.4966, allocations: 2.097 MB / 0.549 GB, free: 12.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.4967, allocations: 33.7 kB / 0.5491 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007336/0.4974, allocations: 2.112 MB / 0.5511 GB, free: 10.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.4976, allocations: 351.5 kB / 0.5515 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005938/0.4982, allocations: 0.6613 MB / 0.5521 GB, free: 9.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.4983, allocations: 309.1 kB / 0.5524 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.4993, allocations: 0.9431 MB / 0.5533 GB, free: 8.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.5009, allocations: 2.916 MB / 0.5562 GB, free: 4.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/0.504, allocations: 4.21 MB / 0.5603 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.622e-05/0.504, allocations: 25.03 kB / 0.5603 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005124/0.5091, allocations: 3.745 MB / 0.564 GB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.5092, allocations: 36 kB / 0.564 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.53e-05/0.5093, allocations: 68 kB / 0.5641 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.102e-05/0.5094, allocations: 92 kB / 0.5641 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.5113, allocations: 0.7018 MB / 0.5648 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.803e-05/0.5114, allocations: 143.4 kB / 0.565 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.5131, allocations: 443.2 kB / 0.5654 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.5133, allocations: 196 kB / 0.5656 GB, free: 9.926 MB / 398.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.002017/0.5154, allocations: 1.573 MB / 0.5671 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.5156, allocations: 169.8 kB / 0.5673 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.5159, allocations: 214.7 kB / 0.5675 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.516, allocations: 12 kB / 0.5675 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.516, allocations: 3.984 kB / 0.5675 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.516, allocations: 0 / 0.5675 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00707/0.5231, allocations: 5.069 MB / 0.5724 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.5231, allocations: 8 kB / 0.5725 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.5235, allocations: 119.8 kB / 0.5726 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.5236, allocations: 15.94 kB / 0.5726 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.5236, allocations: 20 kB / 0.5726 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/0.5236, allocations: 19.92 kB / 0.5726 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.5236, allocations: 11.94 kB / 0.5726 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.5251, allocations: 1.407 MB / 0.574 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.5255, allocations: 290.3 kB / 0.5743 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.5257, allocations: 27.92 kB / 0.5743 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.5263, allocations: 39.88 kB / 0.5743 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.5264, allocations: 63.81 kB / 0.5744 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/0.5265, allocations: 43.92 kB / 0.5745 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00177/0.5282, allocations: 1.473 MB / 0.5759 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5282, allocations: 0 / 0.5759 GB, free: 15.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002484/0.5307, allocations: 0.806 MB / 0.5767 GB, free: 14.2 MB / 414.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.001957/0.5327, allocations: 2.033 MB / 0.5787 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003233/0.5359, allocations: 2.399 MB / 0.581 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.536, allocations: 0 / 0.581 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.5365, allocations: 0.4982 MB / 0.5815 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.5379, allocations: 297.8 kB / 0.5818 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/0.5672, allocations: 25.35 MB / 0.6065 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002884/0.5702, allocations: 2.596 MB / 0.6091 GB, free: 9.488 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002356/0.5725, allocations: 1.044 MB / 0.6101 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/0.574, allocations: 1.257 MB / 0.6113 GB, free: 7.188 MB / 446.1 MB Notification: Performance of SimCode: time 2.003e-06/0.574, allocations: 0 / 0.6113 GB, free: 7.188 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06318/0.6372, allocations: 37 MB / 0.6474 GB, free: 2.371 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/9.007, allocations: 3.781 kB / 0.6474 GB, free: 2.371 MB / 478.1 MB (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