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.001026/0.001026, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001001/0.001001, allocations: 165 kB / 24.56 MB, free: 12 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.9817/0.9817, allocations: 177.1 MB / 205 MB, free: 5.625 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.287/0.287, allocations: 34.27 MB / 295.7 MB, free: 0.7539 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.143e-06/1.143e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.599e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01061/0.01062, allocations: 14.45 MB / 392.5 MB, free: 4.137 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007193/0.01782, allocations: 4.979 MB / 397.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009484/0.01877, allocations: 143.3 kB / 397.6 MB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005741/0.02451, allocations: 6.43 MB / 404 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004964/0.02947, allocations: 2.912 MB / 407 MB, free: 5.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.03225, allocations: 1.801 MB / 408.8 MB, free: 3.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009458/0.0417, allocations: 9.128 MB / 417.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006269/0.04797, allocations: 6.58 MB / 424.5 MB, free: 4.004 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/0.05239, allocations: 4.514 MB / 429 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004496/0.05689, allocations: 4.447 MB / 433.4 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.05809, allocations: 0.5859 MB / 434 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.05984, allocations: 1.369 MB / 435.4 MB, free: 9.066 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002044/0.06189, allocations: 3.822 MB / 439.2 MB, free: 5.234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.06333, allocations: 2.29 MB / 441.5 MB, free: 2.938 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1439/0.2073, allocations: 7.59 MB / 449.1 MB, free: 67.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2073, allocations: 0 / 449.1 MB, free: 67.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2073, allocations: 0.6562 kB / 449.1 MB, free: 67.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002154/0.2075, allocations: 2.969 kB / 449.1 MB, free: 67.3 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.008103/0.2156, allocations: 9.298 MB / 458.4 MB, free: 63.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2156, allocations: 8.938 kB / 458.4 MB, free: 63.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005249/0.2209, allocations: 3.345 MB / 461.7 MB, free: 63.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/0.2244, allocations: 4.105 MB / 465.8 MB, free: 62.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.2246, allocations: 413.9 kB / 466.2 MB, free: 62.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006858/0.2253, allocations: 0.5435 MB / 466.8 MB, free: 62.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.2381, allocations: 10.4 MB / 477.2 MB, free: 57.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.2382, allocations: 69.97 kB / 477.3 MB, free: 57.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005141/0.2388, allocations: 261.6 kB / 477.5 MB, free: 57.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003182/0.2419, allocations: 2.931 MB / 480.4 MB, free: 57.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.2543, allocations: 5.226 MB / 485.7 MB, free: 56.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04116/0.2954, allocations: 72.18 MB / 0.5448 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006899/0.3023, allocations: 3.612 MB / 0.5483 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/0.3032, allocations: 0.7666 MB / 0.5491 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006356/0.3095, allocations: 6.319 MB / 0.5552 GB, free: 6.707 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3095, allocations: 58.08 kB / 0.5553 GB, free: 6.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.377e-06/0.3095, allocations: 0 / 0.5553 GB, free: 6.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.01947/0.329, allocations: 13.18 MB / 0.5682 GB, free: 9.543 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.3291, allocations: 149.8 kB / 0.5683 GB, free: 9.367 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005119/0.3342, allocations: 5.525 MB / 0.5737 GB, free: 3.859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.819e-05/0.3343, allocations: 57.7 kB / 0.5737 GB, free: 3.797 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002907/0.3372, allocations: 5.506 MB / 0.5791 GB, free: 14.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005723/0.3378, allocations: 0.8681 MB / 0.58 GB, free: 13.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/0.3393, allocations: 1.82 MB / 0.5818 GB, free: 11.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3394, allocations: 480.8 kB / 0.5822 GB, free: 11.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.3407, allocations: 0.7814 MB / 0.583 GB, free: 10.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004991/0.3456, allocations: 8.694 MB / 0.5915 GB, free: 14.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007299/0.3529, allocations: 10.49 MB / 0.6017 GB, free: 260 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-05/0.353, allocations: 56 kB / 0.6018 GB, free: 204 kB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1536/0.5067, allocations: 7.045 MB / 0.6086 GB, free: 132.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.116e-05/0.5067, allocations: 84.41 kB / 0.6087 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/0.5069, allocations: 191.1 kB / 0.6089 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.507, allocations: 250.1 kB / 0.6091 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.5098, allocations: 1.937 MB / 0.611 GB, free: 132.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001686/0.51, allocations: 370.1 kB / 0.6114 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/0.5131, allocations: 0.6361 MB / 0.612 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/0.5135, allocations: 0.5163 MB / 0.6125 GB, free: 132.7 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.001653/0.5152, allocations: 0.872 MB / 0.6134 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.5156, allocations: 0.561 MB / 0.6139 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.516, allocations: 496.1 kB / 0.6144 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.516, allocations: 22.25 kB / 0.6144 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.516, allocations: 0 / 0.6144 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.516, allocations: 9.672 kB / 0.6144 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.5267, allocations: 9.278 MB / 0.6235 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.903e-05/0.5267, allocations: 38.56 kB / 0.6235 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.5275, allocations: 381.8 kB / 0.6239 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.913e-05/0.5276, allocations: 54.06 kB / 0.6239 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.5277, allocations: 87.34 kB / 0.624 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.661e-05/0.5277, allocations: 72.48 kB / 0.6241 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.488e-05/0.5278, allocations: 65.5 kB / 0.6241 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003293/0.5311, allocations: 3.601 MB / 0.6277 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000807/0.5319, allocations: 0.5786 MB / 0.6282 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004349/0.5323, allocations: 97.59 kB / 0.6283 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.5335, allocations: 222.9 kB / 0.6285 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.5338, allocations: 261.6 kB / 0.6288 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.5339, allocations: 110.9 kB / 0.6289 GB, free: 126.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003065/0.537, allocations: 2.404 MB / 0.6312 GB, free: 126.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.537, allocations: 0 / 0.6312 GB, free: 126.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005231/0.5422, allocations: 1.502 MB / 0.6327 GB, free: 126.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.0004063/0.5426, allocations: 260.5 kB / 0.6329 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004621/0.5472, allocations: 3.596 MB / 0.6365 GB, free: 125.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.251e-05/0.5472, allocations: 7.062 kB / 0.6365 GB, free: 125.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006438/0.5479, allocations: 0.6402 MB / 0.6371 GB, free: 124.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.5504, allocations: 0.8074 MB / 0.6379 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.5658, allocations: 13.36 MB / 0.6509 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.5675, allocations: 2.088 MB / 0.653 GB, free: 114.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003634/0.5711, allocations: 2.165 MB / 0.6551 GB, free: 113.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.5717, allocations: 341.3 kB / 0.6554 GB, free: 113.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5717, allocations: 0 / 0.6554 GB, free: 113.1 MB / 474.7 MB Notification: Performance of Templates: time 0.05263/0.6243, allocations: 34.93 MB / 0.6895 GB, free: 83.36 MB / 474.7 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.662429112009704]