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.001519/0.001519, 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.001814/0.001814, 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.9284/0.9284, allocations: 177.1 MB / 205 MB, free: 5.613 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.2626/0.2626, allocations: 32.81 MB / 294.3 MB, free: 1.215 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 1.563e-06/1.563e-06, allocations: 0 / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.73e-05, allocations: 2.312 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01284/0.01287, allocations: 14.45 MB / 390.5 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.02309, allocations: 4.968 MB / 395.4 MB, free: 1.121 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.02492, allocations: 147.2 kB / 395.6 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005927/0.03085, allocations: 6.43 MB / 402 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.03506, allocations: 2.92 MB / 404.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.03718, allocations: 1.79 MB / 406.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009207/0.04638, allocations: 9.131 MB / 415.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007149/0.05353, allocations: 6.588 MB / 422.4 MB, free: 5.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006866/0.0604, allocations: 4.503 MB / 426.9 MB, free: 1.469 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005081/0.06548, allocations: 4.451 MB / 431.4 MB, free: 13.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001614/0.06709, allocations: 0.5898 MB / 432 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.06996, allocations: 1.369 MB / 433.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004299/0.07426, allocations: 3.818 MB / 437.2 MB, free: 7.219 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003977/0.07824, allocations: 2.286 MB / 439.5 MB, free: 4.926 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2081/0.2863, allocations: 7.584 MB / 447 MB, free: 67.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2864, allocations: 0 / 447 MB, free: 67.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2864, allocations: 2.812 kB / 447 MB, free: 67.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.003331/0.2897, allocations: 0 / 447 MB, free: 67.77 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.02023/0.3099, allocations: 9.306 MB / 456.3 MB, free: 64.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3099, allocations: 12.44 kB / 456.4 MB, free: 64.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/0.3157, allocations: 3.341 MB / 459.7 MB, free: 63.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/0.3218, allocations: 4.063 MB / 463.8 MB, free: 62.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.3222, allocations: 416.2 kB / 464.2 MB, free: 62.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.3233, allocations: 0.547 MB / 464.7 MB, free: 62.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.3403, allocations: 10.4 MB / 475.1 MB, free: 58.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002308/0.3406, allocations: 67.52 kB / 475.2 MB, free: 58.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005423/0.3411, allocations: 260 kB / 475.4 MB, free: 58.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002565/0.3437, allocations: 2.932 MB / 478.4 MB, free: 57.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.3571, allocations: 5.226 MB / 483.6 MB, free: 57.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05581/0.4129, allocations: 72.18 MB / 0.5427 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008218/0.4211, allocations: 3.597 MB / 0.5463 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.4227, allocations: 0.7701 MB / 0.547 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009422/0.4321, allocations: 6.321 MB / 0.5532 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.4322, allocations: 56.2 kB / 0.5532 GB, free: 8.492 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 5.461e-06/0.4322, allocations: 0 / 0.5532 GB, free: 8.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02358/0.4558, allocations: 13.17 MB / 0.5661 GB, free: 11.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.4558, allocations: 157.3 kB / 0.5663 GB, free: 11.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006834/0.4627, allocations: 5.525 MB / 0.5717 GB, free: 5.703 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.4629, allocations: 63.81 kB / 0.5717 GB, free: 5.637 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003186/0.4661, allocations: 5.503 MB / 0.5771 GB, free: 180 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000793/0.4669, allocations: 0.867 MB / 0.5779 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001652/0.4686, allocations: 1.823 MB / 0.5797 GB, free: 13.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.4687, allocations: 476.8 kB / 0.5802 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.47, allocations: 0.7814 MB / 0.5809 GB, free: 12.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0051/0.4751, allocations: 8.695 MB / 0.5894 GB, free: 15.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008171/0.4832, allocations: 10.48 MB / 0.5997 GB, free: 2.141 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001656/0.4834, allocations: 56 kB / 0.5997 GB, free: 2.086 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1783/0.6617, allocations: 7.055 MB / 0.6066 GB, free: 119.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.6618, allocations: 87.91 kB / 0.6067 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/0.662, allocations: 191.3 kB / 0.6069 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.6622, allocations: 252.3 kB / 0.6071 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/0.6661, allocations: 1.938 MB / 0.609 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002528/0.6663, allocations: 373.5 kB / 0.6094 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/0.6707, allocations: 0.6232 MB / 0.61 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005721/0.6713, allocations: 0.5177 MB / 0.6105 GB, free: 119.2 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.002174/0.6734, allocations: 0.8664 MB / 0.6113 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007073/0.6741, allocations: 0.5589 MB / 0.6119 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.6746, allocations: 497.5 kB / 0.6123 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.6746, allocations: 28.5 kB / 0.6124 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.6746, allocations: 8.156 kB / 0.6124 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.6746, allocations: 8.25 kB / 0.6124 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.6882, allocations: 9.277 MB / 0.6214 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-05/0.6882, allocations: 40.38 kB / 0.6215 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/0.689, allocations: 377.8 kB / 0.6218 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.335e-05/0.689, allocations: 55.69 kB / 0.6219 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.6892, allocations: 81.91 kB / 0.622 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.173e-05/0.6892, allocations: 78.34 kB / 0.622 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.399e-05/0.6892, allocations: 61.34 kB / 0.6221 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.6924, allocations: 3.611 MB / 0.6256 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.6935, allocations: 0.5764 MB / 0.6262 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004876/0.694, allocations: 85.86 kB / 0.6263 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.6953, allocations: 230.7 kB / 0.6265 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.6956, allocations: 261.7 kB / 0.6267 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/0.6958, allocations: 107.3 kB / 0.6268 GB, free: 113.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003833/0.6996, allocations: 2.41 MB / 0.6292 GB, free: 113.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6996, allocations: 0 / 0.6292 GB, free: 113.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007145/0.7068, allocations: 1.495 MB / 0.6307 GB, free: 113.4 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.0006547/0.7074, allocations: 263 kB / 0.6309 GB, free: 113.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006496/0.7139, allocations: 3.601 MB / 0.6344 GB, free: 112.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.276e-05/0.714, allocations: 6.594 kB / 0.6344 GB, free: 112.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.7152, allocations: 0.6377 MB / 0.6351 GB, free: 112.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004348/0.7196, allocations: 0.7917 MB / 0.6358 GB, free: 112.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/0.7389, allocations: 13.36 MB / 0.6489 GB, free: 105.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/0.7419, allocations: 2.08 MB / 0.6509 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004528/0.7464, allocations: 2.174 MB / 0.653 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008112/0.7472, allocations: 340.1 kB / 0.6534 GB, free: 104.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.305e-06/0.7472, allocations: 0 / 0.6534 GB, free: 104.7 MB / 474.7 MB Notification: Performance of Templates: time 0.05858/0.8058, allocations: 33.36 MB / 0.6859 GB, free: 78.66 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.92780052497983]