Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.89 kB / 0.4909 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1358, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0129/0.1487, allocations: 10.16 MB / 0.5653 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007458/0.1562, allocations: 3.092 MB / 0.5683 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.1576, allocations: 63.81 kB / 0.5684 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005074/0.1627, allocations: 2.64 MB / 0.5709 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.1662, allocations: 1.203 MB / 0.5721 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009395/0.1671, allocations: 347.3 kB / 0.5725 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.171, allocations: 2.547 MB / 0.5749 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003039/0.174, allocations: 2.484 MB / 0.5774 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.1754, allocations: 1.067 MB / 0.5784 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.1772, allocations: 1.48 MB / 0.5799 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004148/0.1776, allocations: 252 kB / 0.5801 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.179, allocations: 0.7879 MB / 0.5809 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.1803, allocations: 1.363 MB / 0.5822 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.1817, allocations: 1.55 MB / 0.5837 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005422/0.1871, allocations: 5.132 MB / 0.5887 GB, free: 3.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1871, allocations: 0 / 0.5887 GB, free: 3.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1871, allocations: 3.938 kB / 0.5887 GB, free: 3.547 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.1872, allocations: 0 / 0.5887 GB, free: 3.547 MB / 446.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.005528/0.1928, allocations: 3.353 MB / 0.592 GB, free: 124 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1928, allocations: 12.03 kB / 0.592 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2538/0.4466, allocations: 0.5385 MB / 0.5925 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005957/0.4525, allocations: 1.625 MB / 0.5941 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.4557, allocations: 1.504 MB / 0.5956 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.4558, allocations: 181.9 kB / 0.5958 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004349/0.4563, allocations: 227.7 kB / 0.596 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/0.4688, allocations: 7.113 MB / 0.6029 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.916e-05/0.4689, allocations: 14.16 kB / 0.6029 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/0.4692, allocations: 109.2 kB / 0.603 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002713/0.4719, allocations: 1.452 MB / 0.6045 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.4849, allocations: 5.94 MB / 0.6103 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0266/0.5115, allocations: 22.35 MB / 0.6321 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.5155, allocations: 2.119 MB / 0.6342 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/0.5164, allocations: 0.7053 MB / 0.6349 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005698/0.5221, allocations: 3.859 MB / 0.6386 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.5221, allocations: 47.06 kB / 0.6387 GB, free: 3.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.236e-06/0.5221, allocations: 0 / 0.6387 GB, free: 3.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005794/0.5279, allocations: 2.259 MB / 0.6409 GB, free: 1.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.5279, allocations: 63.91 kB / 0.6409 GB, free: 1.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00319/0.5311, allocations: 2.051 MB / 0.6429 GB, free: 14.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.259e-05/0.5312, allocations: 41.69 kB / 0.643 GB, free: 14.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.533, allocations: 2.121 MB / 0.645 GB, free: 12.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.5335, allocations: 349.3 kB / 0.6454 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009979/0.5345, allocations: 0.659 MB / 0.646 GB, free: 11.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.5347, allocations: 361.9 kB / 0.6464 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.5362, allocations: 0.9352 MB / 0.6473 GB, free: 10.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003249/0.5394, allocations: 2.872 MB / 0.6501 GB, free: 6.641 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00504/0.5445, allocations: 4.152 MB / 0.6541 GB, free: 1.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.734e-05/0.5445, allocations: 20 kB / 0.6542 GB, free: 1.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006326/0.5508, allocations: 3.71 MB / 0.6578 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.5509, allocations: 32 kB / 0.6578 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.783e-05/0.551, allocations: 72 kB / 0.6579 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.323e-05/0.5511, allocations: 88 kB / 0.658 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.5531, allocations: 0.6901 MB / 0.6586 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001193/0.5532, allocations: 131.5 kB / 0.6588 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.5551, allocations: 454.4 kB / 0.6592 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/0.5553, allocations: 196 kB / 0.6594 GB, free: 12.15 MB / 478.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.002253/0.5576, allocations: 1.507 MB / 0.6609 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.5579, allocations: 178.7 kB / 0.661 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.5583, allocations: 214.2 kB / 0.6612 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.5583, allocations: 8 kB / 0.6612 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.5583, allocations: 0 / 0.6612 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5583, allocations: 3.984 kB / 0.6612 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007779/0.5661, allocations: 4.939 MB / 0.6661 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.5661, allocations: 8 kB / 0.6661 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.5666, allocations: 119.8 kB / 0.6662 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.5666, allocations: 15.94 kB / 0.6662 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.5666, allocations: 24.67 kB / 0.6662 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.655e-05/0.5667, allocations: 19.92 kB / 0.6662 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.5667, allocations: 19.88 kB / 0.6663 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.5685, allocations: 1.411 MB / 0.6676 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.569, allocations: 295.5 kB / 0.6679 GB, free: 3.078 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.5692, allocations: 23.94 kB / 0.6679 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/0.5697, allocations: 35.92 kB / 0.668 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.5698, allocations: 64.56 kB / 0.668 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/0.5699, allocations: 35.94 kB / 0.6681 GB, free: 2.922 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002115/0.572, allocations: 1.452 MB / 0.6695 GB, free: 1.449 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.572, allocations: 0 / 0.6695 GB, free: 1.449 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002789/0.5748, allocations: 0.7824 MB / 0.6703 GB, free: 0.6641 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.00234/0.5771, allocations: 2.025 MB / 0.6722 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003624/0.5807, allocations: 2.09 MB / 0.6743 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5807, allocations: 0 / 0.6743 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.5814, allocations: 482.9 kB / 0.6747 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.5828, allocations: 271.1 kB / 0.675 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03261/0.6154, allocations: 23.21 MB / 0.6977 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002907/0.6183, allocations: 2.514 MB / 0.7001 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002291/0.6206, allocations: 1.02 MB / 0.7011 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/0.6222, allocations: 1.215 MB / 0.7023 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of SimCode: time 1.083e-06/0.6222, allocations: 0 / 0.7023 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07491/0.6971, allocations: 36.98 MB / 0.7384 GB, free: 8.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.78, allocations: 20.27 kB / 0.7384 GB, free: 8.238 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.095771438907832]