Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007426/0.0007426, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001836, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006836/0.0006836, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008995/0.001583, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9836/0.9836, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09786/1.081, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2963/0.2963, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02421/0.3205, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.709e-06/1.125e-05, allocations: 3.078 kB / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01043/0.01044, allocations: 14.24 MB / 308.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.02066, allocations: 5.198 MB / 313.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.02236, allocations: 143.3 kB / 313.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005393/0.02775, allocations: 6.059 MB / 319.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.03173, allocations: 2.888 MB / 322.4 MB, free: 8.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.03377, allocations: 1.63 MB / 324 MB, free: 6.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006689/0.04046, allocations: 8.796 MB / 332.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004918/0.04537, allocations: 5.927 MB / 338.7 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/0.04987, allocations: 4.729 MB / 343.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.05368, allocations: 4.244 MB / 347.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.05474, allocations: 0.5859 MB / 348.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.05669, allocations: 1.381 MB / 349.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002174/0.05887, allocations: 3.41 MB / 353.1 MB, free: 9.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.0606, allocations: 1.838 MB / 354.9 MB, free: 7.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005517/0.06612, allocations: 7.079 MB / 362 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.06613, allocations: 0 / 362 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.06613, allocations: 0 / 362 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001239/0.06626, allocations: 0 / 362 MB, free: 0.7344 MB / 346.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.009307/0.07556, allocations: 9.367 MB / 371.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.0756, allocations: 10.55 kB / 371.4 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/0.07923, allocations: 1.636 MB / 373 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/0.08307, allocations: 3.654 MB / 376.7 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004393/0.08351, allocations: 419 kB / 377.1 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005255/0.08403, allocations: 0.5392 MB / 377.6 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008423/0.09246, allocations: 8.277 MB / 385.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.09256, allocations: 75.38 kB / 386 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.09294, allocations: 267.8 kB / 386.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00206/0.095, allocations: 2.686 MB / 388.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006225/0.1012, allocations: 4.052 MB / 393 MB, free: 404 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.229/0.3303, allocations: 51.08 MB / 444.1 MB, free: 82.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006408/0.3367, allocations: 3.048 MB / 447.1 MB, free: 82.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006139/0.3373, allocations: 0.5259 MB / 447.6 MB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006889/0.3442, allocations: 5.618 MB / 453.2 MB, free: 81.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3442, allocations: 60.86 kB / 453.3 MB, free: 81.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.386e-06/0.3442, allocations: 2.219 kB / 453.3 MB, free: 81.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.01393/0.3581, allocations: 7.02 MB / 460.3 MB, free: 80.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3582, allocations: 150.3 kB / 460.5 MB, free: 80.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/0.3616, allocations: 4.943 MB / 465.4 MB, free: 79.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.371e-05/0.3616, allocations: 56.11 kB / 465.5 MB, free: 79.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.363, allocations: 4.838 MB / 470.3 MB, free: 75.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.3633, allocations: 0.8436 MB / 471.2 MB, free: 75.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009269/0.3642, allocations: 1.598 MB / 472.8 MB, free: 74.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.542e-05/0.3643, allocations: 301.1 kB / 473 MB, free: 74.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.3653, allocations: 0.9464 MB / 474 MB, free: 73.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.3674, allocations: 6.133 MB / 480.1 MB, free: 65.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003482/0.3709, allocations: 7.969 MB / 488.1 MB, free: 55.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-05/0.371, allocations: 52 kB / 488.1 MB, free: 55.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.004171/0.3751, allocations: 5.654 MB / 493.8 MB, free: 50.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.3752, allocations: 92.12 kB / 493.9 MB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.26e-05/0.3753, allocations: 192 kB / 494.1 MB, free: 50.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.533e-05/0.3754, allocations: 252 kB / 494.3 MB, free: 49.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.3782, allocations: 2.111 MB / 496.4 MB, free: 47.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001088/0.3783, allocations: 374.6 kB / 496.8 MB, free: 47.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.3808, allocations: 374.6 kB / 497.2 MB, free: 47.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.3811, allocations: 456.4 kB / 497.6 MB, free: 46.84 MB / 426.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.00133/0.3825, allocations: 0.8285 MB / 498.4 MB, free: 46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.3828, allocations: 315.7 kB / 498.7 MB, free: 45.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.3831, allocations: 497.9 kB / 499.2 MB, free: 45.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.3832, allocations: 24 kB / 499.3 MB, free: 45.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.3832, allocations: 0 / 499.3 MB, free: 45.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3832, allocations: 7.969 kB / 499.3 MB, free: 45.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007129/0.3903, allocations: 7.922 MB / 0.4953 GB, free: 36.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.3903, allocations: 40 kB / 0.4953 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/0.3909, allocations: 407.4 kB / 0.4957 GB, free: 36.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.3913, allocations: 0.5354 MB / 0.4963 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.905e-05/0.3913, allocations: 52 kB / 0.4963 GB, free: 35.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/0.3914, allocations: 80 kB / 0.4964 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/0.3914, allocations: 75.7 kB / 0.4964 GB, free: 35.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.612e-05/0.3914, allocations: 63.03 kB / 0.4965 GB, free: 35.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3926, allocations: 2.937 MB / 0.4994 GB, free: 31.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/0.3929, allocations: 87.97 kB / 0.4995 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009028/0.3938, allocations: 75.17 kB / 0.4995 GB, free: 31.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.394, allocations: 266.7 kB / 0.4998 GB, free: 31.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.394, allocations: 95.98 kB / 0.4999 GB, free: 31.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001274/0.3953, allocations: 2.152 MB / 0.502 GB, free: 29.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3953, allocations: 4 kB / 0.502 GB, free: 29.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003398/0.3987, allocations: 1.5 MB / 0.5034 GB, free: 27.57 MB / 426.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.0002692/0.399, allocations: 239.3 kB / 0.5037 GB, free: 27.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.4012, allocations: 3.212 MB / 0.5068 GB, free: 24.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001716/0.4014, allocations: 145.2 kB / 0.507 GB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.4018, allocations: 0.5693 MB / 0.5075 GB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.4041, allocations: 1.165 MB / 0.5086 GB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.416, allocations: 13.9 MB / 0.5222 GB, free: 7.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.4173, allocations: 2.075 MB / 0.5242 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001461/0.4188, allocations: 0.7521 MB / 0.525 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/0.4196, allocations: 0.8018 MB / 0.5258 GB, free: 4.031 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4196, allocations: 0 / 0.5258 GB, free: 4.031 MB / 426.7 MB Notification: Performance of Templates: time 0.05749/0.4771, allocations: 38.36 MB / 0.5632 GB, free: 14.15 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.425016764551401]