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.001021/0.001021, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001536/0.001536, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9578/0.9578, allocations: 177.1 MB / 205 MB, free: 5.609 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.2578/0.2578, allocations: 32.81 MB / 294.3 MB, free: 1.266 MB / 266.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.433e-06/1.433e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.669e-05, allocations: 9.484 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.009086/0.009103, allocations: 11.28 MB / 387.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006914/0.01602, allocations: 3.867 MB / 391.2 MB, free: 5.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.01729, allocations: 71.69 kB / 391.3 MB, free: 5.359 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.01944, allocations: 1.253 MB / 392.5 MB, free: 4.102 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.02221, allocations: 1.848 MB / 394.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008697/0.02308, allocations: 0.5221 MB / 394.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003934/0.02702, allocations: 4.733 MB / 399.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002477/0.0295, allocations: 2.255 MB / 401.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.03228, allocations: 1.871 MB / 403.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.03414, allocations: 2.061 MB / 405.8 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.03441, allocations: 224 kB / 406 MB, free: 6.543 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.03565, allocations: 1.049 MB / 407.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009514/0.0366, allocations: 1.706 MB / 408.8 MB, free: 3.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.03763, allocations: 0.9925 MB / 409.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00313/0.04076, allocations: 4.082 MB / 413.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.04076, allocations: 0 / 413.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.04076, allocations: 0 / 413.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.556e-05/0.04081, allocations: 0 / 413.8 MB, free: 14.68 MB / 394.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.00469/0.0455, allocations: 4.626 MB / 418.5 MB, free: 9.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.04554, allocations: 8.031 kB / 418.5 MB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006361/0.0519, allocations: 3.735 MB / 422.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.05431, allocations: 1.767 MB / 424 MB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.329e-05/0.0544, allocations: 180.8 kB / 424.2 MB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/0.05489, allocations: 320.4 kB / 424.5 MB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005545/0.06043, allocations: 5.3 MB / 429.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/0.06048, allocations: 23.77 kB / 429.8 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/0.06071, allocations: 119.8 kB / 429.9 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/0.06316, allocations: 2.436 MB / 432.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005735/0.0689, allocations: 3.425 MB / 435.8 MB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1799/0.2488, allocations: 34.24 MB / 470 MB, free: 67.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.2517, allocations: 1.604 MB / 471.6 MB, free: 67.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/0.2525, allocations: 0.6498 MB / 472.3 MB, free: 67.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/0.2529, allocations: 417.8 kB / 472.7 MB, free: 67.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.253, allocations: 58.27 kB / 472.7 MB, free: 67.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 4.979e-06/0.253, allocations: 7.375 kB / 472.7 MB, free: 67.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.0165/0.2695, allocations: 9.55 MB / 482.3 MB, free: 65.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006867/0.2702, allocations: 1.985 MB / 484.3 MB, free: 63.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.2721, allocations: 2.569 MB / 486.8 MB, free: 62.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.846e-05/0.2722, allocations: 55.8 kB / 486.9 MB, free: 62.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008895/0.2731, allocations: 2.84 MB / 489.7 MB, free: 60.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.2736, allocations: 1.009 MB / 490.7 MB, free: 59.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.2747, allocations: 1.164 MB / 491.9 MB, free: 58.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.501e-05/0.2747, allocations: 482.4 kB / 492.4 MB, free: 58.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.276, allocations: 0.7586 MB / 493.1 MB, free: 58.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.2785, allocations: 5.083 MB / 498.2 MB, free: 52.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004521/0.283, allocations: 6.512 MB / 0.4929 GB, free: 46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.624e-05/0.2831, allocations: 29.81 kB / 0.4929 GB, free: 46 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01043/0.2935, allocations: 6.482 MB / 0.4993 GB, free: 44.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.2936, allocations: 53.06 kB / 0.4993 GB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005774/0.2993, allocations: 2.865 MB / 0.5021 GB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005921/0.3053, allocations: 2.102 MB / 0.5042 GB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.3074, allocations: 1.257 MB / 0.5054 GB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.3109, allocations: 4.628 MB / 0.5099 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.3133, allocations: 455.1 kB / 0.5103 GB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002796/0.3135, allocations: 311.4 kB / 0.5106 GB, free: 39.76 MB / 410.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 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (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.001175/0.3147, allocations: 0.5784 MB / 0.5112 GB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.315, allocations: 334.9 kB / 0.5115 GB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.319, allocations: 2.892 MB / 0.5144 GB, free: 37.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003325/0.3223, allocations: 2.094 MB / 0.5164 GB, free: 35.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3223, allocations: 4 kB / 0.5164 GB, free: 35.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.3223, allocations: 10.22 kB / 0.5164 GB, free: 35.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.3329, allocations: 8.707 MB / 0.5249 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.3329, allocations: 12 kB / 0.5249 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008655/0.3338, allocations: 408 kB / 0.5253 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001989/0.3357, allocations: 0.8751 MB / 0.5262 GB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.3359, allocations: 63.17 kB / 0.5262 GB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.3378, allocations: 4.148 MB / 0.5303 GB, free: 22.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005111/0.3383, allocations: 1.91 MB / 0.5321 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/0.3429, allocations: 3.659 MB / 0.5357 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.3433, allocations: 278.1 kB / 0.536 GB, free: 16.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.3434, allocations: 47.98 kB / 0.536 GB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008515/0.3443, allocations: 240.9 kB / 0.5363 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.3445, allocations: 168.8 kB / 0.5364 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.794e-05/0.3446, allocations: 78.62 kB / 0.5365 GB, free: 16.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001023/0.3456, allocations: 1.105 MB / 0.5376 GB, free: 15.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3456, allocations: 4 kB / 0.5376 GB, free: 15.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003018/0.3486, allocations: 1.109 MB / 0.5387 GB, free: 14.02 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.0003538/0.349, allocations: 215.6 kB / 0.5389 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00436/0.3534, allocations: 3.623 MB / 0.5424 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.3534, allocations: 4 kB / 0.5424 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.3552, allocations: 1.621 MB / 0.544 GB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3563, allocations: 321.7 kB / 0.5443 GB, free: 8.164 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/0.3652, allocations: 8.183 MB / 0.5523 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.3664, allocations: 1.186 MB / 0.5534 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003171/0.3696, allocations: 1.678 MB / 0.5551 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000657/0.3702, allocations: 216.4 kB / 0.5553 GB, free: 12.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3703, allocations: 4 kB / 0.5553 GB, free: 12.64 MB / 426.7 MB Notification: Performance of Templates: time 0.05045/0.4207, allocations: 32.38 MB / 0.5869 GB, free: 12.66 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: 4.480735662858933]