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.001422/0.001422, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001048/0.001048, allocations: 163.4 kB / 24.99 MB, free: 8.344 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.3087/0.3087, allocations: 32.8 MB / 294.6 MB, free: 1.293 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.793e-06/1.793e-06, allocations: 0 / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.526e-05, allocations: 2.312 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01031/0.01035, allocations: 11.26 MB / 387.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00735/0.0177, allocations: 3.855 MB / 391.1 MB, free: 5.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.01944, allocations: 67.75 kB / 391.2 MB, free: 5.754 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.02148, allocations: 1.257 MB / 392.4 MB, free: 4.492 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.02535, allocations: 1.832 MB / 394.3 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.02652, allocations: 0.5299 MB / 394.8 MB, free: 2.121 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00569/0.03221, allocations: 4.722 MB / 399.5 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002953/0.03516, allocations: 2.259 MB / 401.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.03802, allocations: 1.863 MB / 403.6 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.04096, allocations: 2.069 MB / 405.7 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004262/0.04138, allocations: 224 kB / 405.9 MB, free: 6.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.043, allocations: 1.049 MB / 407 MB, free: 5.895 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.04422, allocations: 1.706 MB / 408.7 MB, free: 4.184 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.04552, allocations: 0.9886 MB / 409.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005508/0.05103, allocations: 4.082 MB / 413.8 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.05103, allocations: 0 / 413.8 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.05103, allocations: 0 / 413.8 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001788/0.05121, allocations: 0 / 413.8 MB, free: 15.09 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.00665/0.05786, allocations: 4.63 MB / 418.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.05791, allocations: 8.031 kB / 418.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007613/0.06552, allocations: 3.731 MB / 422.1 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.06917, allocations: 1.763 MB / 423.9 MB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.06931, allocations: 180.8 kB / 424.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008681/0.07018, allocations: 324.4 kB / 424.4 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009185/0.07936, allocations: 5.304 MB / 429.7 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.938e-05/0.07944, allocations: 23.77 kB / 429.7 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.07979, allocations: 115.8 kB / 429.8 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002562/0.08235, allocations: 2.439 MB / 432.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009587/0.09194, allocations: 3.423 MB / 435.7 MB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1995/0.2914, allocations: 34.25 MB / 469.9 MB, free: 56.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/0.2949, allocations: 1.603 MB / 471.5 MB, free: 56.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2959, allocations: 0.6491 MB / 472.2 MB, free: 56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.2964, allocations: 418.6 kB / 472.6 MB, free: 55.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2964, allocations: 55.08 kB / 472.6 MB, free: 55.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 4.078e-06/0.2964, allocations: 0 / 472.6 MB, free: 55.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.01901/0.3155, allocations: 9.56 MB / 482.2 MB, free: 54.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009838/0.3164, allocations: 1.976 MB / 484.2 MB, free: 52.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.3196, allocations: 2.569 MB / 486.8 MB, free: 51.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.3198, allocations: 58.8 kB / 486.8 MB, free: 51.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.321, allocations: 2.835 MB / 489.6 MB, free: 49.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000685/0.3217, allocations: 1.006 MB / 490.7 MB, free: 48.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.3229, allocations: 1.166 MB / 491.8 MB, free: 48.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.3229, allocations: 482.3 kB / 492.3 MB, free: 47.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.3245, allocations: 0.7545 MB / 493 MB, free: 47.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.3275, allocations: 5.094 MB / 498.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005173/0.3327, allocations: 6.509 MB / 0.4928 GB, free: 35.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.644e-05/0.3328, allocations: 30.83 kB / 0.4929 GB, free: 35.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01162/0.3444, allocations: 6.482 MB / 0.4992 GB, free: 34.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.3445, allocations: 52.28 kB / 0.4992 GB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006042/0.3505, allocations: 2.864 MB / 0.502 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006265/0.3568, allocations: 2.106 MB / 0.5041 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.3595, allocations: 1.258 MB / 0.5053 GB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/0.3633, allocations: 4.628 MB / 0.5098 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.3663, allocations: 447.7 kB / 0.5103 GB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004955/0.3668, allocations: 319.8 kB / 0.5106 GB, free: 29.83 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.001364/0.3682, allocations: 0.5775 MB / 0.5111 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004279/0.3686, allocations: 336.4 kB / 0.5114 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/0.3729, allocations: 2.892 MB / 0.5143 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003517/0.3764, allocations: 2.09 MB / 0.5163 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.3764, allocations: 4 kB / 0.5163 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.3764, allocations: 12.55 kB / 0.5163 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.3884, allocations: 8.712 MB / 0.5248 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.3884, allocations: 11.31 kB / 0.5248 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/0.3893, allocations: 408.3 kB / 0.5252 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/0.3912, allocations: 0.8716 MB / 0.5261 GB, free: 20.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.3913, allocations: 67.5 kB / 0.5262 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.3932, allocations: 4.139 MB / 0.5302 GB, free: 16.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004269/0.3936, allocations: 1.914 MB / 0.5321 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00477/0.3984, allocations: 3.657 MB / 0.5356 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/0.399, allocations: 278.2 kB / 0.5359 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/0.3994, allocations: 51.98 kB / 0.5359 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.4006, allocations: 245.2 kB / 0.5362 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.401, allocations: 172.8 kB / 0.5363 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.4011, allocations: 71.98 kB / 0.5364 GB, free: 10.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001362/0.4025, allocations: 1.101 MB / 0.5375 GB, free: 9.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4025, allocations: 0 / 0.5375 GB, free: 9.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003819/0.4063, allocations: 1.115 MB / 0.5386 GB, free: 8.047 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.0004535/0.4067, allocations: 211.3 kB / 0.5388 GB, free: 7.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006064/0.4128, allocations: 3.626 MB / 0.5423 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.4128, allocations: 0 / 0.5423 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.4153, allocations: 1.61 MB / 0.5439 GB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.417, allocations: 330.8 kB / 0.5442 GB, free: 2.207 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.4301, allocations: 8.194 MB / 0.5522 GB, free: 9.781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.4317, allocations: 1.182 MB / 0.5534 GB, free: 8.578 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003511/0.4353, allocations: 1.686 MB / 0.555 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007547/0.436, allocations: 208.4 kB / 0.5552 GB, free: 6.684 MB / 426.7 MB Notification: Performance of SimCode: time 3.226e-06/0.436, allocations: 0 / 0.5552 GB, free: 6.684 MB / 426.7 MB Notification: Performance of Templates: time 0.04959/0.4856, allocations: 32.38 MB / 0.5868 GB, free: 6.695 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.517911882139742]