Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.001129/0.001129, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001109/0.001109, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9547/0.9547, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3013/0.3013, allocations: 32.81 MB / 294.3 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] 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.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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.205e-05, allocations: 10.25 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0118/0.01184, allocations: 14.45 MB / 390.5 MB, free: 6.152 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009692/0.02153, allocations: 4.979 MB / 395.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.02366, allocations: 143.3 kB / 395.6 MB, free: 1.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006303/0.02997, allocations: 6.434 MB / 402 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005527/0.03549, allocations: 2.92 MB / 404.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.0383, allocations: 1.789 MB / 406.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009069/0.04737, allocations: 9.131 MB / 415.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007315/0.05468, allocations: 6.584 MB / 422.5 MB, free: 6.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006244/0.06093, allocations: 4.51 MB / 427 MB, free: 1.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005781/0.06671, allocations: 4.454 MB / 431.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001344/0.06805, allocations: 0.582 MB / 432 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.07028, allocations: 1.365 MB / 433.4 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002742/0.07302, allocations: 3.822 MB / 437.2 MB, free: 7.254 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.07497, allocations: 2.286 MB / 439.5 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2203/0.2953, allocations: 7.593 MB / 447.1 MB, free: 67.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2953, allocations: 2.188 kB / 447.1 MB, free: 67.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2953, allocations: 0 / 447.1 MB, free: 67.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002741/0.2956, allocations: 0 / 447.1 MB, free: 67.69 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.008504/0.3041, allocations: 9.302 MB / 456.4 MB, free: 64.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3041, allocations: 9.656 kB / 456.4 MB, free: 64.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005537/0.3097, allocations: 3.344 MB / 459.7 MB, free: 63.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004031/0.3137, allocations: 4.106 MB / 463.8 MB, free: 62.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.3139, allocations: 411.3 kB / 464.2 MB, free: 62.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005254/0.3144, allocations: 0.5411 MB / 464.8 MB, free: 62.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.325, allocations: 10.4 MB / 475.2 MB, free: 58.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/0.3252, allocations: 69.22 kB / 475.2 MB, free: 58.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005793/0.3258, allocations: 267.8 kB / 475.5 MB, free: 58.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003067/0.3289, allocations: 2.923 MB / 478.4 MB, free: 57.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.3422, allocations: 5.225 MB / 483.7 MB, free: 57.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04662/0.3888, allocations: 72.18 MB / 0.5428 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006684/0.3955, allocations: 3.602 MB / 0.5463 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008432/0.3964, allocations: 0.7691 MB / 0.5471 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006517/0.4029, allocations: 6.328 MB / 0.5533 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4029, allocations: 54.7 kB / 0.5533 GB, free: 8.406 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.687e-06/0.4029, allocations: 0 / 0.5533 GB, free: 8.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02157/0.4245, allocations: 13.17 MB / 0.5662 GB, free: 11.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.4246, allocations: 153.6 kB / 0.5663 GB, free: 11.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005722/0.4303, allocations: 5.527 MB / 0.5717 GB, free: 5.645 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/0.4304, allocations: 60.2 kB / 0.5718 GB, free: 5.582 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003245/0.4336, allocations: 5.499 MB / 0.5771 GB, free: 128 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005949/0.4342, allocations: 0.8792 MB / 0.578 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/0.4358, allocations: 1.815 MB / 0.5798 GB, free: 13.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.4359, allocations: 484.8 kB / 0.5802 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.4374, allocations: 0.7807 MB / 0.581 GB, free: 12.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/0.4424, allocations: 8.699 MB / 0.5895 GB, free: 15.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007973/0.4504, allocations: 10.49 MB / 0.5997 GB, free: 2.043 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.982e-05/0.4505, allocations: 56 kB / 0.5998 GB, free: 1.988 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.183/0.6335, allocations: 7.042 MB / 0.6067 GB, free: 132.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.451e-05/0.6336, allocations: 93.25 kB / 0.6068 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/0.6337, allocations: 189.8 kB / 0.6069 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.6339, allocations: 249.6 kB / 0.6072 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/0.6372, allocations: 1.936 MB / 0.6091 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002133/0.6374, allocations: 368.3 kB / 0.6094 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/0.6413, allocations: 0.6288 MB / 0.61 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004323/0.6418, allocations: 0.5205 MB / 0.6105 GB, free: 132.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.001958/0.6437, allocations: 0.8681 MB / 0.6114 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/0.6443, allocations: 0.5612 MB / 0.6119 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.6447, allocations: 495.1 kB / 0.6124 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.6447, allocations: 28.66 kB / 0.6124 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/0.6447, allocations: 0 / 0.6124 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.6448, allocations: 12.89 kB / 0.6124 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.6555, allocations: 9.276 MB / 0.6215 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/0.6555, allocations: 40.16 kB / 0.6215 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007046/0.6562, allocations: 388.7 kB / 0.6219 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.334e-05/0.6563, allocations: 55.19 kB / 0.622 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/0.6564, allocations: 79.06 kB / 0.622 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.572e-05/0.6564, allocations: 74.02 kB / 0.6221 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.487e-05/0.6564, allocations: 61.19 kB / 0.6222 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.6591, allocations: 3.61 MB / 0.6257 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007388/0.6599, allocations: 0.5755 MB / 0.6263 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/0.6603, allocations: 89.83 kB / 0.6263 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/0.6624, allocations: 225.2 kB / 0.6266 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/0.6628, allocations: 269.7 kB / 0.6268 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/0.6629, allocations: 109.8 kB / 0.6269 GB, free: 126.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004546/0.6675, allocations: 2.409 MB / 0.6293 GB, free: 126.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6675, allocations: 1.344 kB / 0.6293 GB, free: 126.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009654/0.6771, allocations: 1.49 MB / 0.6307 GB, free: 126.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0006437/0.6778, allocations: 260.4 kB / 0.631 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006988/0.6848, allocations: 3.602 MB / 0.6345 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.728e-05/0.6848, allocations: 7.375 kB / 0.6345 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.6859, allocations: 0.6382 MB / 0.6351 GB, free: 125.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/0.6898, allocations: 0.7921 MB / 0.6359 GB, free: 125.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/0.7076, allocations: 13.35 MB / 0.6489 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/0.7095, allocations: 2.09 MB / 0.651 GB, free: 116.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003382/0.7128, allocations: 2.169 MB / 0.6531 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.7134, allocations: 341.2 kB / 0.6534 GB, free: 116 MB / 474.7 MB Notification: Performance of SimCode: time 2.074e-06/0.7134, allocations: 0 / 0.6534 GB, free: 116 MB / 474.7 MB Notification: Performance of Templates: time 0.05694/0.7703, allocations: 34.94 MB / 0.6875 GB, free: 86.69 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.965616850182414]