Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0007751/0.0007751, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0008871/0.0008871, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 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.902/0.902, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1271/0.1271, allocations: 32.8 MB / 294.6 MB, free: 15.45 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.502e-05, allocations: 6.25 kB / 323.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.007918/0.007933, allocations: 11 MB / 334.2 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005725/0.01366, allocations: 3.978 MB / 338.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006303/0.01429, allocations: 67.75 kB / 338.3 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.01569, allocations: 1.253 MB / 339.5 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.01775, allocations: 1.852 MB / 341.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.01844, allocations: 0.5299 MB / 341.9 MB, free: 40 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1424/0.1608, allocations: 4.722 MB / 346.6 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.1629, allocations: 2.314 MB / 348.9 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.1645, allocations: 1.87 MB / 350.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.166, allocations: 1.959 MB / 352.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.1662, allocations: 224.2 kB / 353 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009154/0.1671, allocations: 1.041 MB / 354 MB, free: 18.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006679/0.1678, allocations: 1.711 MB / 355.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.1683, allocations: 0.9902 MB / 356.7 MB, free: 17.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.1703, allocations: 4.08 MB / 360.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1703, allocations: 4.062 kB / 360.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1703, allocations: 0 / 360.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.1703, allocations: 4.656 kB / 360.8 MB, free: 14.72 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.002477/0.1728, allocations: 3.78 MB / 364.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.1728, allocations: 11.98 kB / 364.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/0.1761, allocations: 1.466 MB / 366.1 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.1773, allocations: 1.482 MB / 367.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.1774, allocations: 179.7 kB / 367.7 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/0.1778, allocations: 323.7 kB / 368.1 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/0.181, allocations: 4.442 MB / 372.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.181, allocations: 27.47 kB / 372.5 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.1812, allocations: 118.2 kB / 372.6 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00145/0.1827, allocations: 2.116 MB / 374.8 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.1859, allocations: 2.745 MB / 377.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01862/0.2045, allocations: 24.5 MB / 402 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.2071, allocations: 1.463 MB / 403.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.2076, allocations: 451.8 kB / 403.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004348/0.2081, allocations: 420 kB / 404.3 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2081, allocations: 52.56 kB / 404.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=236): time 3.717e-06/0.2081, allocations: 3.375 kB / 404.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.01412/0.2222, allocations: 6.818 MB / 411.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007454/0.223, allocations: 1.422 MB / 412.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.2245, allocations: 2.283 MB / 414.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.2246, allocations: 63.72 kB / 415 MB, free: 9.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.2257, allocations: 2.595 MB / 417.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.2262, allocations: 0.9496 MB / 418.5 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008313/0.2271, allocations: 1.005 MB / 419.5 MB, free: 5.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.2271, allocations: 301.1 kB / 419.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.2283, allocations: 0.827 MB / 420.6 MB, free: 4.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.2306, allocations: 3.607 MB / 424.2 MB, free: 15.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/0.2341, allocations: 5.025 MB / 429.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.663e-05/0.2342, allocations: 28 kB / 429.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.006395/0.2406, allocations: 4.222 MB / 433.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.2406, allocations: 48 kB / 433.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003845/0.2444, allocations: 1.333 MB / 434.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/0.2479, allocations: 0.6113 MB / 435.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.2498, allocations: 1.166 MB / 436.7 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.2523, allocations: 3.011 MB / 439.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.2538, allocations: 212 kB / 439.9 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.254, allocations: 276 kB / 440.2 MB, free: 14.13 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (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],freeMotion.arrow.headAtOrigin,freeMotion.arrow.twoHeadedArrow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 660 * 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.0009279/0.2549, allocations: 0.5279 MB / 440.7 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.2552, allocations: 203.8 kB / 440.9 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.258, allocations: 1.942 MB / 442.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002169/0.2602, allocations: 1.161 MB / 444 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2602, allocations: 0 / 444 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.2602, allocations: 11.95 kB / 444 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007673/0.2679, allocations: 5.894 MB / 449.9 MB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.2679, allocations: 8.188 kB / 449.9 MB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.2687, allocations: 307.5 kB / 450.2 MB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.2702, allocations: 0.5479 MB / 450.7 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.2703, allocations: 59.97 kB / 450.8 MB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.2719, allocations: 2.8 MB / 453.6 MB, free: 132 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004994/0.2724, allocations: 1.355 MB / 455 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.2757, allocations: 2.531 MB / 457.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.2759, allocations: 266.1 kB / 457.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.2761, allocations: 51.98 kB / 457.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/0.2767, allocations: 47.98 kB / 457.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.2769, allocations: 176.7 kB / 458 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/0.277, allocations: 59.97 kB / 458.1 MB, free: 11.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005971/0.2776, allocations: 0.8046 MB / 458.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2776, allocations: 0 / 458.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002224/0.2798, allocations: 1.113 MB / 460 MB, free: 9.395 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 (192): * Single equations (assignments): 182 * 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.0003226/0.2801, allocations: 191.8 kB / 460.2 MB, free: 9.199 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.2831, allocations: 2.851 MB / 463 MB, free: 6.324 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-05/0.2832, allocations: 59.94 kB / 463.1 MB, free: 6.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.2845, allocations: 1.061 MB / 464.2 MB, free: 5.168 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.2857, allocations: 0.5909 MB / 464.7 MB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006806/0.2925, allocations: 7.806 MB / 472.5 MB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/0.2934, allocations: 1.167 MB / 473.7 MB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008706/0.2942, allocations: 420.3 kB / 474.1 MB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007456/0.295, allocations: 461.2 kB / 474.6 MB, free: 10.49 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.295, allocations: 0 / 474.6 MB, free: 10.49 MB / 426.7 MB Notification: Performance of Templates: time 0.04553/0.3405, allocations: 34.72 MB / 0.4974 GB, free: 8.039 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.916052353102714]