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.0015/0.0015, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.00104/0.00104, allocations: 167.6 kB / 24.83 MB, free: 9.266 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.9403/0.9403, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1361/0.1361, allocations: 32.38 MB / 271.5 MB, free: 14.53 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 1.453e-06/1.453e-06, allocations: 0 / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.673e-05, allocations: 9.344 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.007033/0.00705, allocations: 11.45 MB / 360.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006415/0.01346, allocations: 3.914 MB / 364.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.01417, allocations: 67.75 kB / 364.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.01562, allocations: 1.261 MB / 365.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.01792, allocations: 1.953 MB / 367.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.01868, allocations: 0.5298 MB / 368.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003103/0.02179, allocations: 4.734 MB / 372.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.02339, allocations: 2.349 MB / 375.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.02485, allocations: 1.98 MB / 377.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.02727, allocations: 2.17 MB / 379.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007743/0.02804, allocations: 240 kB / 379.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.03004, allocations: 1.072 MB / 380.6 MB, free: 9.332 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.03159, allocations: 1.831 MB / 382.5 MB, free: 7.496 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.03323, allocations: 1.059 MB / 383.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004654/0.03788, allocations: 4.358 MB / 387.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.03789, allocations: 0 / 387.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.03789, allocations: 4 kB / 387.9 MB, free: 2.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002066/0.0381, allocations: 0 / 387.9 MB, free: 2.055 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.006175/0.04427, allocations: 4.622 MB / 392.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.04431, allocations: 8.031 kB / 392.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008192/0.0525, allocations: 1.922 MB / 394.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/0.0566, allocations: 1.702 MB / 396.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.05671, allocations: 189 kB / 396.3 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005788/0.05729, allocations: 340.3 kB / 396.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006081/0.06337, allocations: 4.997 MB / 401.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-05/0.06343, allocations: 31.7 kB / 401.7 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.06368, allocations: 119.8 kB / 401.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002117/0.0658, allocations: 2.23 MB / 404 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/0.06972, allocations: 2.886 MB / 406.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02267/0.09238, allocations: 33.52 MB / 440.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.09505, allocations: 1.513 MB / 441.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006235/0.09567, allocations: 0.5521 MB / 442.5 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004509/0.09612, allocations: 409.2 kB / 442.9 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.09615, allocations: 55.39 kB / 442.9 MB, free: 9.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=245): time 4.088e-06/0.09616, allocations: 0 / 442.9 MB, free: 9.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=261): time 0.01525/0.1114, allocations: 7.81 MB / 450.8 MB, free: 1.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.153/0.2644, allocations: 1.934 MB / 452.7 MB, free: 99.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.2672, allocations: 2.651 MB / 455.3 MB, free: 99.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003999/0.2676, allocations: 61.2 kB / 455.4 MB, free: 99.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.2689, allocations: 3.003 MB / 458.4 MB, free: 97.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008486/0.2697, allocations: 1.047 MB / 459.5 MB, free: 96.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.2713, allocations: 1.237 MB / 460.7 MB, free: 96.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.2713, allocations: 481.3 kB / 461.2 MB, free: 95.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.2727, allocations: 0.7003 MB / 461.9 MB, free: 95.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/0.2754, allocations: 5.236 MB / 467.1 MB, free: 90.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004522/0.28, allocations: 6.609 MB / 473.7 MB, free: 84.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-05/0.28, allocations: 27.44 kB / 473.7 MB, free: 84.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01052/0.2905, allocations: 5.058 MB / 478.8 MB, free: 82.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.2906, allocations: 50.22 kB / 478.8 MB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00585/0.2964, allocations: 1.569 MB / 480.4 MB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005223/0.3017, allocations: 0.6269 MB / 481 MB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/0.3042, allocations: 1.213 MB / 482.2 MB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003466/0.3077, allocations: 4.131 MB / 486.4 MB, free: 76.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.3105, allocations: 217.5 kB / 486.6 MB, free: 76.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/0.3109, allocations: 283.5 kB / 486.9 MB, free: 75.79 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 (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]) * 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.001157/0.312, allocations: 0.5997 MB / 487.5 MB, free: 75.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/0.3124, allocations: 348 kB / 487.8 MB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.3166, allocations: 2.36 MB / 490.2 MB, free: 72.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003228/0.3199, allocations: 1.491 MB / 491.7 MB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3199, allocations: 4 kB / 491.7 MB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.3199, allocations: 7.969 kB / 491.7 MB, free: 71.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.3299, allocations: 7.112 MB / 498.8 MB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.3299, allocations: 8 kB / 498.8 MB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.331, allocations: 334.4 kB / 499.1 MB, free: 63.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002016/0.333, allocations: 460.6 kB / 499.6 MB, free: 63.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.3331, allocations: 67.91 kB / 499.6 MB, free: 63.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.3349, allocations: 3.924 MB / 0.4918 GB, free: 59.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004439/0.3354, allocations: 1.882 MB / 0.4936 GB, free: 57.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/0.3399, allocations: 3.014 MB / 0.4965 GB, free: 53.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.3402, allocations: 282 kB / 0.4968 GB, free: 53.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.3405, allocations: 51.98 kB / 0.4969 GB, free: 53.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009442/0.3415, allocations: 47.94 kB / 0.4969 GB, free: 53.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/0.3418, allocations: 181.4 kB / 0.4971 GB, free: 53.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.3419, allocations: 59.98 kB / 0.4971 GB, free: 53.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008694/0.3428, allocations: 1.071 MB / 0.4982 GB, free: 52.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3428, allocations: 0 / 0.4982 GB, free: 52.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003161/0.3459, allocations: 1.176 MB / 0.4993 GB, free: 51.07 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.0003633/0.3463, allocations: 229.8 kB / 0.4995 GB, free: 50.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004213/0.3505, allocations: 3.285 MB / 0.5028 GB, free: 47.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3505, allocations: 4 kB / 0.5028 GB, free: 47.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.3523, allocations: 1.321 MB / 0.504 GB, free: 46.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.3537, allocations: 334.1 kB / 0.5044 GB, free: 45.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.364, allocations: 8.464 MB / 0.5126 GB, free: 37.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.365, allocations: 1.242 MB / 0.5138 GB, free: 35.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001289/0.3663, allocations: 435.4 kB / 0.5143 GB, free: 35.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009104/0.3672, allocations: 0.5059 MB / 0.5148 GB, free: 34.91 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3672, allocations: 0 / 0.5148 GB, free: 34.91 MB / 378.7 MB Notification: Performance of Templates: time 0.04134/0.4086, allocations: 36.7 MB / 0.5506 GB, free: 14.24 MB / 394.7 MB " [Timeout remaining time 660] 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.6160754738375545]