Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.0009931/0.0009931, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001108/0.001108, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 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.949/0.949, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.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.2402/0.2402, allocations: 34.85 MB / 296.6 MB, free: 496 kB / 266.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.902e-05, allocations: 6.5 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.006982/0.007001, allocations: 9.049 MB / 335 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.01087, allocations: 2.968 MB / 338 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/0.01137, allocations: 59.81 kB / 338 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.01333, allocations: 2.102 MB / 340.1 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.01487, allocations: 1.159 MB / 341.3 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.01526, allocations: 327.1 kB / 341.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.01694, allocations: 2.207 MB / 343.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.01831, allocations: 1.844 MB / 345.7 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009408/0.01926, allocations: 1.294 MB / 346.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.02045, allocations: 1.126 MB / 348.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.02069, allocations: 192 kB / 348.3 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008489/0.02154, allocations: 0.659 MB / 348.9 MB, free: 52 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007522/0.02229, allocations: 1.184 MB / 350.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.02278, allocations: 0.7164 MB / 350.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.02495, allocations: 2.72 MB / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.02496, allocations: 4 kB / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02496, allocations: 0 / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.506e-05/0.02499, allocations: 0 / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.002654/0.02765, allocations: 2.678 MB / 356.2 MB, free: 8.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.02769, allocations: 8.031 kB / 356.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.02948, allocations: 0.7616 MB / 357 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.03058, allocations: 1.053 MB / 358 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.03065, allocations: 148 kB / 358.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.03085, allocations: 184.3 kB / 358.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.03361, allocations: 2.84 MB / 361.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.03365, allocations: 15.88 kB / 361.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.0338, allocations: 87.91 kB / 361.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001123/0.03492, allocations: 1.192 MB / 362.5 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.03706, allocations: 1.51 MB / 364 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.04869, allocations: 15.27 MB / 379.3 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.05042, allocations: 0.9112 MB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.05061, allocations: 156.8 kB / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002421/0.05303, allocations: 2.13 MB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.05306, allocations: 35.06 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.374e-06/0.05306, allocations: 0 / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002193/0.05525, allocations: 1.094 MB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.05528, allocations: 59.91 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.05632, allocations: 1.428 MB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.05636, allocations: 33.7 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006901/0.05705, allocations: 1.838 MB / 387 MB, free: 8.941 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.0572, allocations: 321.5 kB / 387.3 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/0.0576, allocations: 0.5684 MB / 387.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.05769, allocations: 357.8 kB / 388.2 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.05801, allocations: 318.1 kB / 388.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.05917, allocations: 2.084 MB / 390.6 MB, free: 4.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.061, allocations: 2.744 MB / 393.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.06102, allocations: 16 kB / 393.3 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001875/0.0629, allocations: 1.967 MB / 395.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.06293, allocations: 36.22 kB / 395.3 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/0.06297, allocations: 68 kB / 395.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-05/0.06303, allocations: 88 kB / 395.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.06408, allocations: 0.6667 MB / 396.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.503e-05/0.06413, allocations: 131.5 kB / 396.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.0652, allocations: 405 kB / 396.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.06534, allocations: 160 kB / 396.8 MB, free: 13.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * 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.0006811/0.06602, allocations: 377.6 kB / 397.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.245e-05/0.06612, allocations: 99.83 kB / 397.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.06625, allocations: 160 kB / 397.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.06626, allocations: 8 kB / 397.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.06627, allocations: 0 / 397.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.06627, allocations: 7.984 kB / 397.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.06828, allocations: 1.872 MB / 399.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.06828, allocations: 8 kB / 399.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.06848, allocations: 87.91 kB / 399.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.06848, allocations: 11.94 kB / 399.5 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.06851, allocations: 12 kB / 399.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.06851, allocations: 11.98 kB / 399.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.06852, allocations: 11.94 kB / 399.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.06895, allocations: 0.6215 MB / 400.1 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.06905, allocations: 150.7 kB / 400.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/0.06913, allocations: 19.98 kB / 400.3 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.06932, allocations: 19.98 kB / 400.3 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.06938, allocations: 51.75 kB / 400.4 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.06941, allocations: 23.98 kB / 400.4 MB, free: 9.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000402/0.06981, allocations: 0.5449 MB / 400.9 MB, free: 8.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.06981, allocations: 0 / 400.9 MB, free: 8.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001349/0.07116, allocations: 0.7006 MB / 401.6 MB, free: 8.168 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0002102/0.07137, allocations: 132 kB / 401.8 MB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009946/0.07237, allocations: 1.107 MB / 402.9 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.743e-05/0.07244, allocations: 47.94 kB / 402.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.0726, allocations: 154 kB / 403.1 MB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.07317, allocations: 197.7 kB / 403.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.07808, allocations: 4.463 MB / 407.7 MB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.07883, allocations: 0.7502 MB / 408.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006593/0.07949, allocations: 248 kB / 408.7 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/0.07989, allocations: 275.3 kB / 409 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.07989, allocations: 0 / 409 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of Templates: time 0.0242/0.1041, allocations: 12.46 MB / 421.4 MB, free: 4.367 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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: 3.0057485508732498]