Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.001025/0.001025, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001216/0.001216, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8709/0.8709, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1375/0.1375, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.296e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.1523/0.1523, allocations: 11.44 MB / 310.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006875/0.1592, allocations: 4.057 MB / 314.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008309/0.16, allocations: 69.38 kB / 314.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.1615, allocations: 1.278 MB / 315.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.1639, allocations: 1.962 MB / 317.9 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.1646, allocations: 0.5358 MB / 318.4 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.1677, allocations: 4.738 MB / 323.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.1694, allocations: 2.398 MB / 325.6 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.171, allocations: 1.98 MB / 327.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.1729, allocations: 2.057 MB / 329.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004502/0.1734, allocations: 240 kB / 329.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.1749, allocations: 1.076 MB / 330.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.1761, allocations: 1.827 MB / 332.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.1771, allocations: 1.059 MB / 333.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.1805, allocations: 4.358 MB / 338.1 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1805, allocations: 4 kB / 338.2 MB, free: 7.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1805, allocations: 0 / 338.2 MB, free: 7.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.1806, allocations: 0 / 338.2 MB, free: 7.062 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.00372/0.1843, allocations: 3.993 MB / 342.1 MB, free: 3.012 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1844, allocations: 12.03 kB / 342.2 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/0.188, allocations: 1.465 MB / 343.6 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.1895, allocations: 1.55 MB / 345.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.1896, allocations: 193 kB / 345.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004797/0.1901, allocations: 336.5 kB / 345.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/0.1943, allocations: 4.636 MB / 350.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.667e-05/0.1943, allocations: 31.7 kB / 350.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.1945, allocations: 119.8 kB / 350.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001889/0.1964, allocations: 2.226 MB / 352.7 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/0.2005, allocations: 2.857 MB / 355.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02308/0.2235, allocations: 25.37 MB / 380.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.2271, allocations: 1.53 MB / 382.5 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007632/0.2279, allocations: 462.7 kB / 382.9 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005592/0.2284, allocations: 425.2 kB / 383.3 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.2285, allocations: 52.56 kB / 383.4 MB, free: 8.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=245): time 4.398e-06/0.2285, allocations: 0 / 383.4 MB, free: 8.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=261): time 0.01869/0.2472, allocations: 6.962 MB / 390.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008297/0.248, allocations: 1.419 MB / 391.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.2499, allocations: 2.368 MB / 394.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.25, allocations: 61.7 kB / 394.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.2512, allocations: 2.727 MB / 396.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005386/0.2517, allocations: 0.9918 MB / 397.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000896/0.2526, allocations: 1.038 MB / 398.9 MB, free: 8.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.2527, allocations: 313 kB / 399.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.2539, allocations: 0.8473 MB / 400.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/0.2566, allocations: 3.76 MB / 403.8 MB, free: 2.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/0.2605, allocations: 5.211 MB / 409.1 MB, free: 11.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-05/0.2605, allocations: 32 kB / 409.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.006817/0.2673, allocations: 4.348 MB / 413.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.2674, allocations: 56.05 kB / 413.5 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003932/0.2713, allocations: 1.362 MB / 414.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003354/0.2747, allocations: 0.623 MB / 415.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.277, allocations: 1.213 MB / 416.7 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.2801, allocations: 3.013 MB / 419.7 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.2822, allocations: 212 kB / 419.9 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/0.2824, allocations: 280 kB / 420.2 MB, free: 88 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],freeMotion.arrowColor[1],freeMotion.arrowColor[2],freeMotion.arrowColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],frame_a.color_x[1],frame_a.color_x[2],frame_a.color_x[3],frame_a1.color_x[1],frame_a1.color_x[2],frame_a1.color_x[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.2836, allocations: 0.5434 MB / 420.7 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.2839, allocations: 223.8 kB / 420.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.287, allocations: 1.993 MB / 422.9 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002157/0.2891, allocations: 1.189 MB / 424.1 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2891, allocations: 0 / 424.1 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.2892, allocations: 15.95 kB / 424.1 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008834/0.298, allocations: 6.067 MB / 430.2 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.298, allocations: 12.94 kB / 430.2 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.2988, allocations: 323.5 kB / 430.5 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.3004, allocations: 0.5599 MB / 431.1 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.3005, allocations: 67.94 kB / 431.2 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.3023, allocations: 2.803 MB / 434 MB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008041/0.3031, allocations: 1.359 MB / 435.3 MB, free: 236 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/0.3066, allocations: 2.596 MB / 437.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.307, allocations: 286 kB / 438.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.3072, allocations: 55.98 kB / 438.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/0.3079, allocations: 40 kB / 438.3 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.3081, allocations: 177.4 kB / 438.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.3082, allocations: 63.97 kB / 438.5 MB, free: 12.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007415/0.309, allocations: 0.8464 MB / 439.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.309, allocations: 0 / 439.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003206/0.3122, allocations: 1.176 MB / 440.6 MB, free: 10.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004825/0.3127, allocations: 199.8 kB / 440.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004295/0.317, allocations: 2.948 MB / 443.7 MB, free: 7.562 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.873e-05/0.3171, allocations: 59.94 kB / 443.8 MB, free: 7.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.3184, allocations: 1.096 MB / 444.9 MB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.3201, allocations: 0.5907 MB / 445.4 MB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00905/0.3291, allocations: 8.169 MB / 453.6 MB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009298/0.33, allocations: 1.226 MB / 454.8 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.3311, allocations: 435.1 kB / 455.3 MB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008029/0.3319, allocations: 485.2 kB / 455.7 MB, free: 11.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3319, allocations: 0 / 455.7 MB, free: 11.21 MB / 426.7 MB Notification: Performance of Templates: time 0.1836/0.5155, allocations: 35.73 MB / 491.5 MB, free: 128.5 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.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.323453474789858]