Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.0009834/0.0009834, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009638/0.0009638, allocations: 157.3 kB / 24.99 MB, free: 8.797 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.9416/0.9416, allocations: 177 MB / 205.2 MB, free: 5.562 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.265/0.265, allocations: 34.87 MB / 296.6 MB, free: 0.5586 MB / 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.251e-05, allocations: 2.312 kB / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007425/0.007438, allocations: 9.198 MB / 387.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005099/0.01254, allocations: 2.865 MB / 390.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.0138, allocations: 55.81 kB / 390.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.0169, allocations: 2.138 MB / 393 MB, free: 4.098 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.01967, allocations: 1.171 MB / 394.2 MB, free: 2.922 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.02035, allocations: 319.2 kB / 394.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.02328, allocations: 2.364 MB / 396.8 MB, free: 244 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.02552, allocations: 1.801 MB / 398.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.02726, allocations: 1.29 MB / 399.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.02893, allocations: 1.173 MB / 401.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004346/0.02937, allocations: 196 kB / 401.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.03038, allocations: 0.6396 MB / 401.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008623/0.03124, allocations: 1.188 MB / 403.1 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007502/0.03199, allocations: 0.7202 MB / 403.8 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.035, allocations: 2.72 MB / 406.6 MB, free: 6.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.03501, allocations: 0 / 406.6 MB, free: 6.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.03501, allocations: 0 / 406.6 MB, free: 6.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.529e-05/0.03507, allocations: 0 / 406.6 MB, free: 6.449 MB / 378.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.003389/0.03846, allocations: 3.138 MB / 409.7 MB, free: 3.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.03851, allocations: 12.03 kB / 409.7 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.04167, allocations: 1.879 MB / 411.6 MB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.04322, allocations: 1.219 MB / 412.8 MB, free: 112 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.611e-05/0.0433, allocations: 144.1 kB / 413 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.04354, allocations: 184.2 kB / 413.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/0.04783, allocations: 3.317 MB / 416.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.04787, allocations: 15.81 kB / 416.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.04802, allocations: 91.91 kB / 416.6 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001221/0.04924, allocations: 1.344 MB / 417.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.05312, allocations: 1.803 MB / 419.7 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/0.06886, allocations: 20.58 MB / 440.3 MB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.07124, allocations: 0.9241 MB / 441.2 MB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.07156, allocations: 217.9 kB / 441.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1731/0.2446, allocations: 2.443 MB / 443.9 MB, free: 98.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.2447, allocations: 43.16 kB / 443.9 MB, free: 98.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.626e-06/0.2447, allocations: 0 / 443.9 MB, free: 98.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003602/0.2483, allocations: 1.282 MB / 445.2 MB, free: 98.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2483, allocations: 57.5 kB / 445.2 MB, free: 98.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.2499, allocations: 1.799 MB / 447 MB, free: 98.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.25, allocations: 36.8 kB / 447.1 MB, free: 98.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000785/0.2507, allocations: 2.01 MB / 449.1 MB, free: 97.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.2509, allocations: 337.1 kB / 449.4 MB, free: 97.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000522/0.2514, allocations: 0.6671 MB / 450.1 MB, free: 97.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.2515, allocations: 0.5252 MB / 450.6 MB, free: 96.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.252, allocations: 295.7 kB / 450.9 MB, free: 96.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.2531, allocations: 3.048 MB / 453.9 MB, free: 93.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.2553, allocations: 3.692 MB / 457.6 MB, free: 89.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.154e-05/0.2553, allocations: 17.22 kB / 457.7 MB, free: 89.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002923/0.2582, allocations: 2.499 MB / 460.2 MB, free: 88.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.2583, allocations: 33.84 kB / 460.2 MB, free: 88.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-05/0.2583, allocations: 68.55 kB / 460.3 MB, free: 88.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-05/0.2584, allocations: 89.34 kB / 460.3 MB, free: 88.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.2595, allocations: 0.6585 MB / 461 MB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.184e-05/0.2596, allocations: 125.9 kB / 461.1 MB, free: 88.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.2609, allocations: 420.7 kB / 461.5 MB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.2611, allocations: 186.5 kB / 461.7 MB, free: 87.75 MB / 410.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.0008058/0.2619, allocations: 412.2 kB / 462.1 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.2621, allocations: 181.3 kB / 462.3 MB, free: 87.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.2622, allocations: 157.7 kB / 462.4 MB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.2622, allocations: 9.812 kB / 462.5 MB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.2623, allocations: 0 / 462.5 MB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.2623, allocations: 3.188 kB / 462.5 MB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.2657, allocations: 2.841 MB / 465.3 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.2657, allocations: 3.219 kB / 465.3 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.2659, allocations: 100.2 kB / 465.4 MB, free: 85.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.2659, allocations: 6.469 kB / 465.4 MB, free: 85.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.266, allocations: 24.09 kB / 465.4 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.266, allocations: 10.09 kB / 465.4 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.266, allocations: 9.344 kB / 465.5 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000695/0.2667, allocations: 0.8675 MB / 466.3 MB, free: 85.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.2668, allocations: 150.4 kB / 466.5 MB, free: 84.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.2669, allocations: 17.62 kB / 466.5 MB, free: 84.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.2672, allocations: 24.22 kB / 466.5 MB, free: 84.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.2672, allocations: 59.88 kB / 466.6 MB, free: 84.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.2673, allocations: 29.62 kB / 466.6 MB, free: 84.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008087/0.2681, allocations: 0.7755 MB / 467.4 MB, free: 84.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2681, allocations: 0 / 467.4 MB, free: 84.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002138/0.2702, allocations: 0.7089 MB / 468.1 MB, free: 84.35 MB / 410.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.0003596/0.2706, allocations: 145.4 kB / 468.2 MB, free: 84.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.2725, allocations: 1.249 MB / 469.5 MB, free: 83.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.2725, allocations: 2.938 kB / 469.5 MB, free: 83.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.2728, allocations: 203.2 kB / 469.7 MB, free: 83.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.2735, allocations: 185.4 kB / 469.9 MB, free: 83.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/0.279, allocations: 4.353 MB / 474.2 MB, free: 81.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.2797, allocations: 0.7619 MB / 475 MB, free: 81.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001207/0.2809, allocations: 0.7939 MB / 475.8 MB, free: 80.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.2811, allocations: 120 kB / 475.9 MB, free: 80.94 MB / 410.7 MB Notification: Performance of SimCode: time 3.346e-06/0.2811, allocations: 0 / 475.9 MB, free: 80.94 MB / 410.7 MB Notification: Performance of Templates: time 0.02341/0.3045, allocations: 11.56 MB / 487.4 MB, free: 79.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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.5237972671166062]