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.0008467/0.0008467, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008831/0.0008831, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8904/0.8904, allocations: 177.1 MB / 204.2 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2314/0.2314, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 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 1.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.673e-05, allocations: 3.406 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1703/0.1704, allocations: 8.922 MB / 451.1 MB, free: 39.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.173, allocations: 2.936 MB / 454 MB, free: 37.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.1734, allocations: 60.5 kB / 454.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.1753, allocations: 2.661 MB / 456.7 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.1763, allocations: 1.246 MB / 458 MB, free: 35.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1767, allocations: 381.7 kB / 458.4 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.1779, allocations: 2.574 MB / 460.9 MB, free: 34.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.179, allocations: 2.26 MB / 463.2 MB, free: 33.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007169/0.1797, allocations: 1.549 MB / 464.7 MB, free: 33.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.1804, allocations: 1.336 MB / 466.1 MB, free: 32.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.1806, allocations: 250.8 kB / 466.3 MB, free: 32.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004975/0.1811, allocations: 0.7045 MB / 467 MB, free: 32.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004848/0.1816, allocations: 1.41 MB / 468.4 MB, free: 31.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.182, allocations: 0.8732 MB / 469.3 MB, free: 31.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.1841, allocations: 5.094 MB / 474.4 MB, free: 29.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1841, allocations: 0 / 474.4 MB, free: 29.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1841, allocations: 4 kB / 474.4 MB, free: 29.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.033e-05/0.1842, allocations: 2.812 kB / 474.4 MB, free: 29.76 MB / 410.7 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.002505/0.1867, allocations: 3.231 MB / 477.6 MB, free: 27.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1867, allocations: 9.594 kB / 477.6 MB, free: 27.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003506/0.1871, allocations: 0.5486 MB / 478.2 MB, free: 27.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.1896, allocations: 1.64 MB / 479.8 MB, free: 27.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.191, allocations: 1.447 MB / 481.3 MB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.1911, allocations: 180.3 kB / 481.5 MB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/0.1914, allocations: 230.3 kB / 481.7 MB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006342/0.1977, allocations: 7.128 MB / 488.8 MB, free: 23.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.1978, allocations: 15.06 kB / 488.8 MB, free: 23.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.1979, allocations: 103.3 kB / 488.9 MB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/0.1992, allocations: 1.445 MB / 490.4 MB, free: 22.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006277/0.2054, allocations: 5.947 MB / 496.3 MB, free: 21.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.2194, allocations: 21.23 MB / 0.5054 GB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.2216, allocations: 1.77 MB / 0.5071 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.2221, allocations: 0.7049 MB / 0.5078 GB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003191/0.2253, allocations: 3.338 MB / 0.5111 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2253, allocations: 47.16 kB / 0.5111 GB, free: 14.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 2.385e-06/0.2253, allocations: 0 / 0.5111 GB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.003502/0.2288, allocations: 2.402 MB / 0.5135 GB, free: 12.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.2288, allocations: 56.06 kB / 0.5135 GB, free: 12.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.2305, allocations: 2.18 MB / 0.5157 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.2305, allocations: 37.64 kB / 0.5157 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.2316, allocations: 2.098 MB / 0.5178 GB, free: 7.895 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.2318, allocations: 349.4 kB / 0.5181 GB, free: 7.551 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004646/0.2322, allocations: 0.6434 MB / 0.5187 GB, free: 6.898 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.2323, allocations: 369.8 kB / 0.5191 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008043/0.2331, allocations: 0.9313 MB / 0.52 GB, free: 5.598 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.235, allocations: 2.872 MB / 0.5228 GB, free: 1.758 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.2376, allocations: 4.15 MB / 0.5268 GB, free: 12.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.2376, allocations: 20 kB / 0.5269 GB, free: 12.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003331/0.241, allocations: 3.714 MB / 0.5305 GB, free: 8.914 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.241, allocations: 39.94 kB / 0.5305 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/0.241, allocations: 69.78 kB / 0.5306 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.346e-05/0.2411, allocations: 92 kB / 0.5307 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2421, allocations: 0.6862 MB / 0.5313 GB, free: 8.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.739e-05/0.2422, allocations: 132.9 kB / 0.5315 GB, free: 7.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/0.2432, allocations: 448.6 kB / 0.5319 GB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.2433, allocations: 196 kB / 0.5321 GB, free: 7.27 MB / 442.7 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.001509/0.2448, allocations: 1.499 MB / 0.5336 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.245, allocations: 186.7 kB / 0.5337 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.2451, allocations: 210.2 kB / 0.5339 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.2452, allocations: 12 kB / 0.5339 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2452, allocations: 0 / 0.5339 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.2452, allocations: 3.984 kB / 0.5339 GB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.2498, allocations: 4.835 MB / 0.5387 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.2498, allocations: 8 kB / 0.5387 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.2501, allocations: 115.8 kB / 0.5388 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.2501, allocations: 8.75 kB / 0.5388 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.2501, allocations: 31.92 kB / 0.5388 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.2501, allocations: 15.94 kB / 0.5388 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.2501, allocations: 15.94 kB / 0.5389 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.2511, allocations: 1.395 MB / 0.5402 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.2513, allocations: 218.4 kB / 0.5404 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.2514, allocations: 27.92 kB / 0.5404 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.2517, allocations: 31.94 kB / 0.5405 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.2518, allocations: 76.59 kB / 0.5406 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.2518, allocations: 32 kB / 0.5406 GB, free: 14.26 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.253, allocations: 1.448 MB / 0.542 GB, free: 12.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.253, allocations: 0 / 0.542 GB, free: 12.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00179/0.2548, allocations: 0.7785 MB / 0.5428 GB, free: 12.01 MB / 458.7 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.001254/0.256, allocations: 2.015 MB / 0.5447 GB, free: 9.871 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.2577, allocations: 2.079 MB / 0.5468 GB, free: 7.805 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2577, allocations: 0.875 kB / 0.5468 GB, free: 7.805 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.2581, allocations: 484.4 kB / 0.5472 GB, free: 7.332 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.2589, allocations: 282.4 kB / 0.5475 GB, free: 7.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/0.2775, allocations: 23.12 MB / 0.5701 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.279, allocations: 1.946 MB / 0.572 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001254/0.2803, allocations: 1.031 MB / 0.573 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008803/0.2812, allocations: 1.207 MB / 0.5742 GB, free: 9.062 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2812, allocations: 0 / 0.5742 GB, free: 9.062 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.3239, allocations: 37.25 MB / 0.6105 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.326, allocations: 6.953 kB / 0.6105 GB, free: 4.203 MB / 0.5105 GB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/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: 10.453793503344059]