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.001332/0.001332, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.00167/0.00167, allocations: 166.8 kB / 24.82 MB, free: 9.211 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 1.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2496/0.2496, allocations: 32.81 MB / 294.6 MB, free: 1.227 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.623e-06/1.623e-06, allocations: 0 / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.019e-05, allocations: 6.25 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.02634/0.02636, allocations: 14.08 MB / 390.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02217/0.04853, allocations: 4.936 MB / 395.5 MB, free: 1.301 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005161/0.0537, allocations: 143.3 kB / 395.6 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007111/0.06081, allocations: 6.336 MB / 402 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005391/0.0662, allocations: 2.916 MB / 404.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.06859, allocations: 1.785 MB / 406.7 MB, free: 6.086 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007943/0.07653, allocations: 9.136 MB / 415.8 MB, free: 12.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005759/0.08229, allocations: 6.584 MB / 422.4 MB, free: 6.258 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004831/0.08712, allocations: 4.549 MB / 426.9 MB, free: 1.699 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004736/0.09186, allocations: 4.455 MB / 431.4 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007562/0.09262, allocations: 0.5898 MB / 432 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.09444, allocations: 1.366 MB / 433.4 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.09707, allocations: 3.822 MB / 437.2 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001934/0.09901, allocations: 2.286 MB / 439.5 MB, free: 5.148 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.184/0.283, allocations: 7.592 MB / 447.1 MB, free: 67.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.283, allocations: 0 / 447.1 MB, free: 67.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.283, allocations: 0 / 447.1 MB, free: 67.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004466/0.2835, allocations: 0 / 447.1 MB, free: 67.98 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.0142/0.2977, allocations: 8.726 MB / 455.8 MB, free: 64.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2977, allocations: 9.219 kB / 455.8 MB, free: 64.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/0.3039, allocations: 2.363 MB / 458.2 MB, free: 64.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007178/0.3111, allocations: 3.762 MB / 461.9 MB, free: 63.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.3114, allocations: 417 kB / 462.3 MB, free: 63.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.3131, allocations: 0.5377 MB / 462.9 MB, free: 63.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01735/0.3304, allocations: 9.271 MB / 472.1 MB, free: 58.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002014/0.3306, allocations: 70.09 kB / 472.2 MB, free: 58.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006019/0.3312, allocations: 267.2 kB / 472.5 MB, free: 58.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00288/0.3341, allocations: 2.678 MB / 475.1 MB, free: 58.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.3462, allocations: 3.987 MB / 479.1 MB, free: 58.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05958/0.4057, allocations: 70.93 MB / 0.5372 GB, free: 17.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007455/0.4132, allocations: 3.277 MB / 0.5404 GB, free: 17.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.4143, allocations: 0.6647 MB / 0.541 GB, free: 17.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009253/0.4236, allocations: 6.012 MB / 0.5469 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.4236, allocations: 59.23 kB / 0.5469 GB, free: 14.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 4.518e-06/0.4236, allocations: 0 / 0.5469 GB, free: 14.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.01864/0.4423, allocations: 7.941 MB / 0.5547 GB, free: 8.848 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.4423, allocations: 157.2 kB / 0.5548 GB, free: 8.668 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/0.4471, allocations: 5.478 MB / 0.5602 GB, free: 4.637 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002536/0.4474, allocations: 59.58 kB / 0.5603 GB, free: 4.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003127/0.4505, allocations: 5.549 MB / 0.5657 GB, free: 15.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.4516, allocations: 0.8755 MB / 0.5665 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/0.4532, allocations: 1.86 MB / 0.5683 GB, free: 12.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4533, allocations: 476.8 kB / 0.5688 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.4547, allocations: 0.6916 MB / 0.5695 GB, free: 11.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005399/0.46, allocations: 8.656 MB / 0.5779 GB, free: 15.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008983/0.469, allocations: 10.32 MB / 0.588 GB, free: 2.184 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002553/0.4693, allocations: 52 kB / 0.588 GB, free: 2.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01407/0.4834, allocations: 6.604 MB / 0.5945 GB, free: 11.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.4835, allocations: 86.03 kB / 0.5946 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002206/0.4837, allocations: 196 kB / 0.5948 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.4839, allocations: 248 kB / 0.595 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/0.4881, allocations: 1.892 MB / 0.5968 GB, free: 9.121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005824/0.4887, allocations: 378.3 kB / 0.5972 GB, free: 8.754 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006021/0.4947, allocations: 363.7 kB / 0.5976 GB, free: 8.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/0.4961, allocations: 459.1 kB / 0.598 GB, free: 7.953 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.002693/0.4988, allocations: 0.87 MB / 0.5988 GB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/0.5, allocations: 0.5591 MB / 0.5994 GB, free: 6.508 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006219/0.5006, allocations: 494 kB / 0.5999 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.5006, allocations: 24 kB / 0.5999 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.5007, allocations: 9.844 kB / 0.5999 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.5007, allocations: 7.969 kB / 0.5999 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2/0.7006, allocations: 9.184 MB / 0.6089 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.547e-05/0.7007, allocations: 42 kB / 0.6089 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009715/0.7016, allocations: 366.8 kB / 0.6093 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.775e-05/0.7017, allocations: 50.25 kB / 0.6093 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.7018, allocations: 82.16 kB / 0.6094 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.184e-05/0.7018, allocations: 80.08 kB / 0.6095 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.99e-05/0.7019, allocations: 64.09 kB / 0.6095 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003227/0.7051, allocations: 3.519 MB / 0.613 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.7064, allocations: 0.5475 MB / 0.6135 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005657/0.7069, allocations: 93.67 kB / 0.6136 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.7081, allocations: 72.62 kB / 0.6137 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.7083, allocations: 268.7 kB / 0.6139 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.7084, allocations: 98.2 kB / 0.614 GB, free: 132.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003268/0.7116, allocations: 2.23 MB / 0.6162 GB, free: 132.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7116, allocations: 3.375 kB / 0.6162 GB, free: 132.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005681/0.7173, allocations: 1.488 MB / 0.6176 GB, free: 132.1 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.0005168/0.7178, allocations: 269.6 kB / 0.6179 GB, free: 132 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004716/0.7225, allocations: 3.414 MB / 0.6212 GB, free: 131.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.152e-05/0.7226, allocations: 6.031 kB / 0.6212 GB, free: 131.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008557/0.7234, allocations: 0.6147 MB / 0.6218 GB, free: 131.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.7273, allocations: 0.8067 MB / 0.6226 GB, free: 131.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/0.7482, allocations: 13.34 MB / 0.6357 GB, free: 124.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003792/0.752, allocations: 2.087 MB / 0.6377 GB, free: 124 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00311/0.7551, allocations: 0.7476 MB / 0.6384 GB, free: 123.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.7567, allocations: 0.8625 MB / 0.6393 GB, free: 123.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.214e-06/0.7567, allocations: 0 / 0.6393 GB, free: 123.8 MB / 474.7 MB Notification: Performance of Templates: time 0.06632/0.823, allocations: 37.45 MB / 0.6758 GB, free: 102.3 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.928578367922455]