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.001106/0.001106, allocations: 87.33 kB / 20.42 MB, free: 4.141 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.001773/0.001773, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 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.8942/0.8942, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1349/0.1349, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 2.354e-06/2.354e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.195e-05, allocations: 10.19 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.008567/0.008599, allocations: 11.76 MB / 359.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008754/0.01735, allocations: 3.945 MB / 363.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/0.01995, allocations: 71.75 kB / 363.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.02234, allocations: 1.265 MB / 364.7 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.02674, allocations: 1.957 MB / 366.7 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.02818, allocations: 0.5299 MB / 367.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006063/0.03424, allocations: 4.738 MB / 372 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003947/0.03819, allocations: 2.345 MB / 374.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/0.04242, allocations: 1.98 MB / 376.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003495/0.04592, allocations: 2.167 MB / 378.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009041/0.04682, allocations: 244 kB / 378.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.04922, allocations: 1.076 MB / 379.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.05128, allocations: 1.827 MB / 381.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.05307, allocations: 1.059 MB / 382.6 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006263/0.05933, allocations: 4.354 MB / 387 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.05934, allocations: 0 / 387 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.05934, allocations: 7.938 kB / 387 MB, free: 1.961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002186/0.05956, allocations: 0 / 387 MB, free: 1.961 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.008005/0.06756, allocations: 4.853 MB / 391.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.06762, allocations: 8.031 kB / 391.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007586/0.0752, allocations: 3.75 MB / 395.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/0.07908, allocations: 1.909 MB / 397.5 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.07924, allocations: 189 kB / 397.7 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009739/0.08022, allocations: 332.4 kB / 398 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009488/0.0897, allocations: 5.518 MB / 403.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-05/0.08978, allocations: 27.7 kB / 403.6 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.09012, allocations: 123.8 kB / 403.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00253/0.09265, allocations: 2.557 MB / 406.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.1057, allocations: 3.572 MB / 409.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03692/0.1426, allocations: 35.39 MB / 445.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/0.1469, allocations: 1.684 MB / 446.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.1482, allocations: 0.6694 MB / 447.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/0.1489, allocations: 421.2 kB / 448 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.1489, allocations: 59.33 kB / 448 MB, free: 3.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=245): time 6.403e-06/0.1489, allocations: 0 / 448 MB, free: 3.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=261): time 0.2156/0.3645, allocations: 9.75 MB / 457.8 MB, free: 84.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001349/0.3658, allocations: 1.985 MB / 459.8 MB, free: 82.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/0.3698, allocations: 2.661 MB / 462.4 MB, free: 82.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004545/0.3702, allocations: 57.52 kB / 462.5 MB, free: 82.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.372, allocations: 2.975 MB / 465.5 MB, free: 80.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.3731, allocations: 1.04 MB / 466.5 MB, free: 79.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.3744, allocations: 1.213 MB / 467.7 MB, free: 79.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.3745, allocations: 478.6 kB / 468.2 MB, free: 79.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.3758, allocations: 0.7818 MB / 469 MB, free: 79.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.3786, allocations: 5.289 MB / 474.3 MB, free: 73.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005242/0.3838, allocations: 6.756 MB / 481 MB, free: 67.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/0.3839, allocations: 31.31 kB / 481 MB, free: 67.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01257/0.3965, allocations: 6.602 MB / 487.7 MB, free: 65.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.821e-05/0.3966, allocations: 52.94 kB / 487.7 MB, free: 65.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01398/0.4105, allocations: 2.842 MB / 490.5 MB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/0.424, allocations: 2.02 MB / 492.6 MB, free: 62.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006802/0.4308, allocations: 1.314 MB / 493.9 MB, free: 60.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.4444, allocations: 4.6 MB / 498.5 MB, free: 55.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009906/0.4543, allocations: 463.5 kB / 498.9 MB, free: 55.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006412/0.4549, allocations: 331 kB / 499.3 MB, free: 55.18 MB / 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 (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 (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.007794/0.4627, allocations: 0.5863 MB / 499.8 MB, free: 54.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006331/0.4634, allocations: 349.3 kB / 0.4885 GB, free: 54.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008205/0.4716, allocations: 2.979 MB / 0.4914 GB, free: 51.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005212/0.4768, allocations: 2.13 MB / 0.4934 GB, free: 49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.4768, allocations: 5.641 kB / 0.4935 GB, free: 49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.4768, allocations: 11.97 kB / 0.4935 GB, free: 48.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/0.4969, allocations: 8.997 MB / 0.5023 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.4969, allocations: 8 kB / 0.5023 GB, free: 39.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.4984, allocations: 419.3 kB / 0.5027 GB, free: 39.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/0.5015, allocations: 0.8787 MB / 0.5035 GB, free: 38.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003838/0.5019, allocations: 67.95 kB / 0.5036 GB, free: 38.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/0.5048, allocations: 4.144 MB / 0.5076 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007211/0.5055, allocations: 1.91 MB / 0.5095 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008225/0.5138, allocations: 3.744 MB / 0.5132 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.5149, allocations: 286.1 kB / 0.5134 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/0.5153, allocations: 55.89 kB / 0.5135 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.5165, allocations: 251.6 kB / 0.5137 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.5168, allocations: 185.3 kB / 0.5139 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.5169, allocations: 75.98 kB / 0.514 GB, free: 27.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00138/0.5183, allocations: 1.146 MB / 0.5151 GB, free: 26.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5183, allocations: 0 / 0.5151 GB, free: 26.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00397/0.5223, allocations: 1.182 MB / 0.5162 GB, free: 24.84 MB / 378.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.0005071/0.5228, allocations: 215.7 kB / 0.5164 GB, free: 24.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005619/0.5284, allocations: 3.734 MB / 0.5201 GB, free: 20.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.5284, allocations: 0 / 0.5201 GB, free: 20.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.5306, allocations: 1.649 MB / 0.5217 GB, free: 19.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.5329, allocations: 344.8 kB / 0.522 GB, free: 18.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.5446, allocations: 8.54 MB / 0.5304 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.5457, allocations: 1.238 MB / 0.5316 GB, free: 8.797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002478/0.5482, allocations: 1.719 MB / 0.5333 GB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/0.5488, allocations: 224.4 kB / 0.5335 GB, free: 6.852 MB / 378.7 MB Notification: Performance of SimCode: time 4.539e-06/0.5488, allocations: 0 / 0.5335 GB, free: 6.852 MB / 378.7 MB Notification: Performance of Templates: time 0.0505/0.5993, allocations: 34.17 MB / 0.5668 GB, free: 4.801 MB / 410.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.3864986738190055]