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.001591/0.001591, allocations: 83.58 kB / 21.19 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.001638/0.001638, allocations: 161.4 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 1.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.629 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.2776/0.2776, allocations: 32.81 MB / 294.3 MB, free: 1.289 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 3.447e-06/3.447e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.184e-05/5.529e-05, allocations: 6.25 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01635/0.01641, allocations: 11.29 MB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.02685, allocations: 3.87 MB / 391.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.03011, allocations: 67.75 kB / 391.3 MB, free: 5.367 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.03374, allocations: 1.257 MB / 392.5 MB, free: 4.105 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004094/0.03783, allocations: 1.848 MB / 394.4 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.039, allocations: 0.526 MB / 394.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005274/0.04427, allocations: 4.732 MB / 399.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003245/0.04752, allocations: 2.255 MB / 401.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.05105, allocations: 1.871 MB / 403.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.05407, allocations: 2.061 MB / 405.8 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007971/0.05486, allocations: 224 kB / 406 MB, free: 6.543 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.05683, allocations: 1.057 MB / 407.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.05839, allocations: 1.706 MB / 408.8 MB, free: 3.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.06017, allocations: 0.9808 MB / 409.8 MB, free: 2.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005895/0.06606, allocations: 4.089 MB / 413.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.06607, allocations: 0 / 413.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.06607, allocations: 0 / 413.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002348/0.06631, allocations: 0 / 413.9 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.007609/0.07392, allocations: 4.626 MB / 418.5 MB, free: 9.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.07397, allocations: 8.031 kB / 418.5 MB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007296/0.08126, allocations: 3.735 MB / 422.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.0843, allocations: 1.819 MB / 424 MB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.08442, allocations: 180.8 kB / 424.2 MB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008626/0.08528, allocations: 320.4 kB / 424.5 MB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009868/0.09515, allocations: 5.296 MB / 429.8 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.09526, allocations: 27.77 kB / 429.9 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004721/0.09573, allocations: 115.8 kB / 430 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002542/0.09827, allocations: 2.44 MB / 432.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009909/0.1082, allocations: 3.425 MB / 435.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2089/0.317, allocations: 34.25 MB / 470.1 MB, free: 67.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/0.321, allocations: 1.602 MB / 471.7 MB, free: 67.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.3222, allocations: 0.6413 MB / 472.3 MB, free: 67.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/0.3228, allocations: 424.6 kB / 472.7 MB, free: 67.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3228, allocations: 55.98 kB / 472.8 MB, free: 67.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 6.192e-06/0.3228, allocations: 0 / 472.8 MB, free: 67.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.02015/0.343, allocations: 9.555 MB / 482.4 MB, free: 65.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000881/0.3439, allocations: 1.98 MB / 484.3 MB, free: 63.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.347, allocations: 2.572 MB / 486.9 MB, free: 62.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005433/0.3476, allocations: 58.58 kB / 487 MB, free: 62.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.349, allocations: 2.836 MB / 489.8 MB, free: 60.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001454/0.3504, allocations: 1.004 MB / 490.8 MB, free: 59.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/0.352, allocations: 1.165 MB / 492 MB, free: 58.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.352, allocations: 482.2 kB / 492.4 MB, free: 58.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.3537, allocations: 0.7527 MB / 493.2 MB, free: 58.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/0.3569, allocations: 5.09 MB / 498.3 MB, free: 52.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006317/0.3632, allocations: 6.511 MB / 0.493 GB, free: 45.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002195/0.3634, allocations: 29.41 kB / 0.493 GB, free: 45.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01448/0.3779, allocations: 6.488 MB / 0.4993 GB, free: 44.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/0.378, allocations: 50.97 kB / 0.4994 GB, free: 44.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00661/0.3846, allocations: 2.868 MB / 0.5022 GB, free: 43.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006387/0.391, allocations: 2.105 MB / 0.5042 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/0.3943, allocations: 1.254 MB / 0.5055 GB, free: 43.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/0.3982, allocations: 4.628 MB / 0.51 GB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/0.402, allocations: 451.9 kB / 0.5104 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000878/0.4029, allocations: 313.3 kB / 0.5107 GB, free: 39.71 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.001916/0.4048, allocations: 0.5844 MB / 0.5113 GB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005558/0.4054, allocations: 333.1 kB / 0.5116 GB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.4099, allocations: 2.895 MB / 0.5144 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003495/0.4134, allocations: 2.094 MB / 0.5165 GB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.4134, allocations: 4 kB / 0.5165 GB, free: 35.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.4134, allocations: 7.781 kB / 0.5165 GB, free: 35.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.4275, allocations: 8.711 MB / 0.525 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.4275, allocations: 8 kB / 0.525 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009646/0.4284, allocations: 410 kB / 0.5254 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002048/0.4305, allocations: 0.8742 MB / 0.5262 GB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/0.4307, allocations: 63.97 kB / 0.5263 GB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.4332, allocations: 4.136 MB / 0.5303 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005723/0.4337, allocations: 1.916 MB / 0.5322 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005279/0.439, allocations: 3.654 MB / 0.5358 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/0.4398, allocations: 278.2 kB / 0.536 GB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.4401, allocations: 51.98 kB / 0.5361 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009212/0.441, allocations: 242.3 kB / 0.5363 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.4413, allocations: 172.8 kB / 0.5365 GB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.4414, allocations: 75.97 kB / 0.5366 GB, free: 16.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001169/0.4425, allocations: 1.097 MB / 0.5376 GB, free: 15.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4425, allocations: 0 / 0.5376 GB, free: 15.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00356/0.4461, allocations: 1.119 MB / 0.5387 GB, free: 13.94 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.000492/0.4466, allocations: 205.4 kB / 0.5389 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005656/0.4522, allocations: 3.636 MB / 0.5425 GB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.4522, allocations: 0 / 0.5425 GB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.4546, allocations: 1.604 MB / 0.544 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.4565, allocations: 336.5 kB / 0.5444 GB, free: 8.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.4686, allocations: 8.193 MB / 0.5524 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.4702, allocations: 1.186 MB / 0.5535 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002958/0.4732, allocations: 1.682 MB / 0.5552 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007537/0.4739, allocations: 212.4 kB / 0.5554 GB, free: 12.58 MB / 426.7 MB Notification: Performance of SimCode: time 2.625e-06/0.4739, allocations: 0 / 0.5554 GB, free: 12.58 MB / 426.7 MB Notification: Performance of Templates: time 0.05458/0.5285, allocations: 33.23 MB / 0.5878 GB, free: 11.75 MB / 458.7 MB " [Timeout remaining time 659] 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.864038689993322]