Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001587/0.001587, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001678/0.001678, allocations: 170.3 kB / 24.91 MB, free: 8.773 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.9805/0.9805, allocations: 177.1 MB / 205.3 MB, free: 5.141 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.2591/0.2591, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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: 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.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.258e-05, allocations: 7.922 kB / 325.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01035/0.01038, allocations: 14.08 MB / 339.3 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009571/0.01995, allocations: 5.154 MB / 344.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.02258, allocations: 143.3 kB / 344.6 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007155/0.02974, allocations: 6.421 MB / 351 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006491/0.03623, allocations: 2.927 MB / 354 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.03926, allocations: 1.793 MB / 355.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.04962, allocations: 9.087 MB / 364.8 MB, free: 4 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008349/0.05797, allocations: 6.76 MB / 371.6 MB, free: 9.113 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008607/0.06657, allocations: 4.542 MB / 376.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005911/0.07248, allocations: 4.256 MB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001776/0.07426, allocations: 0.586 MB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.07696, allocations: 1.358 MB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004117/0.08107, allocations: 3.83 MB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004318/0.08539, allocations: 2.286 MB / 388.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009671/0.09506, allocations: 7.586 MB / 396.1 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.09507, allocations: 0 / 396.1 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09507, allocations: 4 kB / 396.1 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004006/0.09547, allocations: 0 / 396.1 MB, free: 0.6016 MB / 362.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.01187/0.1073, allocations: 7.807 MB / 403.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1074, allocations: 8.031 kB / 403.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/0.1122, allocations: 1.659 MB / 405.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006327/0.1185, allocations: 3.654 MB / 409.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.1188, allocations: 415 kB / 409.6 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/0.12, allocations: 0.5352 MB / 410.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01389/0.1339, allocations: 8.293 MB / 418.4 MB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001762/0.134, allocations: 71.33 kB / 418.5 MB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006915/0.1347, allocations: 267.8 kB / 418.7 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002271/0.137, allocations: 2.678 MB / 421.4 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009791/0.1468, allocations: 4.069 MB / 425.5 MB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3346/0.4814, allocations: 51.07 MB / 476.6 MB, free: 71.89 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006561/0.488, allocations: 3.132 MB / 479.7 MB, free: 70.68 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/0.4887, allocations: 0.5326 MB / 480.2 MB, free: 70.15 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007418/0.4962, allocations: 5.668 MB / 485.9 MB, free: 64.77 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.4962, allocations: 55.34 kB / 486 MB, free: 64.71 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 3.807e-06/0.4962, allocations: 0 / 486 MB, free: 64.71 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01497/0.5112, allocations: 7.201 MB / 493.2 MB, free: 58.2 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.5112, allocations: 149.8 kB / 493.3 MB, free: 58.02 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.5144, allocations: 4.947 MB / 498.2 MB, free: 53.47 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.5145, allocations: 57.17 kB / 498.3 MB, free: 53.41 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.5158, allocations: 4.834 MB / 0.4913 GB, free: 48.75 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.5162, allocations: 0.849 MB / 0.4922 GB, free: 47.9 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008968/0.5171, allocations: 1.596 MB / 0.4937 GB, free: 46.29 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.5171, allocations: 301.1 kB / 0.494 GB, free: 45.99 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.5183, allocations: 0.9537 MB / 0.4949 GB, free: 45.02 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.5205, allocations: 6.12 MB / 0.5009 GB, free: 36.34 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/0.5247, allocations: 7.967 MB / 0.5087 GB, free: 25.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-05/0.5248, allocations: 54.94 kB / 0.5088 GB, free: 25.86 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.005389/0.5302, allocations: 5.665 MB / 0.5143 GB, free: 20.16 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.5303, allocations: 93.86 kB / 0.5144 GB, free: 20.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.82e-05/0.5304, allocations: 191.9 kB / 0.5146 GB, free: 19.89 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.5305, allocations: 252 kB / 0.5148 GB, free: 19.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/0.5332, allocations: 1.884 MB / 0.5166 GB, free: 17.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/0.5333, allocations: 370.6 kB / 0.517 GB, free: 17.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/0.5371, allocations: 363.7 kB / 0.5173 GB, free: 17.04 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/0.5375, allocations: 460 kB / 0.5178 GB, free: 16.59 MB / 410.8 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.001815/0.5393, allocations: 0.824 MB / 0.5186 GB, free: 15.75 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006213/0.5399, allocations: 327.2 kB / 0.5189 GB, free: 15.43 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.5403, allocations: 494 kB / 0.5194 GB, free: 14.94 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.5404, allocations: 24 kB / 0.5194 GB, free: 14.91 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.5404, allocations: 0 / 0.5194 GB, free: 14.91 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5404, allocations: 7.969 kB / 0.5194 GB, free: 14.91 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009051/0.5494, allocations: 7.934 MB / 0.5271 GB, free: 6.281 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/0.5494, allocations: 40 kB / 0.5272 GB, free: 6.242 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.5501, allocations: 371.4 kB / 0.5275 GB, free: 5.879 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.128e-05/0.5501, allocations: 51.98 kB / 0.5276 GB, free: 5.828 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/0.5502, allocations: 80 kB / 0.5277 GB, free: 5.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.163e-05/0.5502, allocations: 75.72 kB / 0.5277 GB, free: 5.676 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.862e-05/0.5502, allocations: 62.88 kB / 0.5278 GB, free: 5.617 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.552, allocations: 2.93 MB / 0.5307 GB, free: 2.016 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007719/0.5528, allocations: 0.5354 MB / 0.5312 GB, free: 1.477 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/0.5532, allocations: 87.97 kB / 0.5313 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.5542, allocations: 79.98 kB / 0.5313 GB, free: 1.312 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5544, allocations: 262.6 kB / 0.5316 GB, free: 1.055 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/0.5544, allocations: 95.98 kB / 0.5317 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001998/0.5564, allocations: 2.156 MB / 0.5338 GB, free: 14.83 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5564, allocations: 4 kB / 0.5338 GB, free: 14.82 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005743/0.5622, allocations: 1.496 MB / 0.5353 GB, free: 13.33 MB / 426.8 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.0004774/0.5627, allocations: 239.4 kB / 0.5355 GB, free: 13.08 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004286/0.5669, allocations: 3.196 MB / 0.5386 GB, free: 9.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002663/0.5672, allocations: 130.3 kB / 0.5387 GB, free: 9.777 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.5679, allocations: 0.5693 MB / 0.5393 GB, free: 9.215 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/0.5711, allocations: 0.7921 MB / 0.5401 GB, free: 8.449 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/0.5896, allocations: 13.45 MB / 0.5532 GB, free: 10.27 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002202/0.5918, allocations: 2.074 MB / 0.5552 GB, free: 8.164 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002389/0.5942, allocations: 0.7546 MB / 0.556 GB, free: 7.406 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.5953, allocations: 0.8016 MB / 0.5567 GB, free: 6.605 MB / 442.8 MB Notification: Performance of SimCode: time 1.863e-06/0.5953, allocations: 0 / 0.5567 GB, free: 6.605 MB / 442.8 MB Notification: Performance of Templates: time 0.06506/0.6604, allocations: 37.37 MB / 0.5932 GB, free: 1.723 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6162120793014765]