Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.001793/0.001793, allocations: 81.8 kB / 21.99 MB, free: 4.754 MB / 14.72 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.002024/0.002024, allocations: 153.4 kB / 25.24 MB, free: 2.746 MB / 14.72 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 1.295/1.295, allocations: 158.6 MB / 187 MB, free: 6.352 MB / 174.1 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002991/0.002991, allocations: 55.92 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2066, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0112/0.2178, allocations: 9.179 MB / 357.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007314/0.2251, allocations: 3.634 MB / 361.3 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.2262, allocations: 75.62 kB / 361.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00454/0.2307, allocations: 2.262 MB / 363.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.2349, allocations: 1.732 MB / 365.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.2362, allocations: 0.6161 MB / 366 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004561/0.2408, allocations: 3.467 MB / 369.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.2437, allocations: 2.426 MB / 371.9 MB, free: 8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.2455, allocations: 1.39 MB / 373.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.2481, allocations: 1.849 MB / 375.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005274/0.2486, allocations: 292 kB / 375.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.2505, allocations: 1.045 MB / 376.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001726/0.2523, allocations: 1.753 MB / 378.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.2539, allocations: 1.448 MB / 379.7 MB, free: 208 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006762/0.2607, allocations: 6.294 MB / 386 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2607, allocations: 0 / 386 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2607, allocations: 4 kB / 386 MB, free: 9.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.798e-05/0.2608, allocations: 0 / 386 MB, free: 9.887 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.007477/0.2683, allocations: 4.284 MB / 390.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2683, allocations: 11.98 kB / 390.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006778/0.2751, allocations: 1.905 MB / 392.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/0.2789, allocations: 2.059 MB / 394.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.2791, allocations: 213.4 kB / 394.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008011/0.2799, allocations: 371.7 kB / 394.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.294, allocations: 8.908 MB / 403.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.2942, allocations: 47.62 kB / 403.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003511/0.2945, allocations: 135.9 kB / 403.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/0.2971, allocations: 1.641 MB / 405.5 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.3109, allocations: 7.482 MB / 413 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04065/0.3516, allocations: 32.91 MB / 445.9 MB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008914/0.3605, allocations: 3.001 MB / 448.9 MB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/0.3625, allocations: 1.385 MB / 450.3 MB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009333/0.3718, allocations: 5.343 MB / 455.7 MB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.3719, allocations: 51.16 kB / 455.7 MB, free: 2.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.627e-06/0.3719, allocations: 0 / 455.7 MB, free: 2.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02773/0.3996, allocations: 11.2 MB / 466.9 MB, free: 7.027 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001499/0.4011, allocations: 1.576 MB / 468.5 MB, free: 5.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004845/0.406, allocations: 3.416 MB / 471.9 MB, free: 1.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.4063, allocations: 45.69 kB / 471.9 MB, free: 1.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1583/0.5646, allocations: 2.918 MB / 474.9 MB, free: 109.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006646/0.5653, allocations: 0.5943 MB / 475.4 MB, free: 109.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/0.5668, allocations: 1.122 MB / 476.6 MB, free: 108.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.971e-05/0.5669, allocations: 302.9 kB / 476.9 MB, free: 108.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/0.5693, allocations: 1.92 MB / 478.8 MB, free: 107.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/0.5724, allocations: 5.374 MB / 484.2 MB, free: 102.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00543/0.5778, allocations: 7.83 MB / 492 MB, free: 96.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.62e-05/0.5778, allocations: 36.12 kB / 492 MB, free: 96.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01661/0.5945, allocations: 8.75 MB / 0.489 GB, free: 90 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.5945, allocations: 60 kB / 0.4891 GB, free: 89.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009731/0.6043, allocations: 3.42 MB / 0.4924 GB, free: 86.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.6143, allocations: 2.234 MB / 0.4946 GB, free: 84.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/0.6179, allocations: 1.252 MB / 0.4958 GB, free: 83.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008204/0.6261, allocations: 7.062 MB / 0.5027 GB, free: 76.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004026/0.6301, allocations: 385.8 kB / 0.5031 GB, free: 75.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007191/0.6308, allocations: 343.3 kB / 0.5034 GB, free: 75.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * 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.002738/0.6336, allocations: 1.849 MB / 0.5052 GB, free: 73.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006158/0.6342, allocations: 290.1 kB / 0.5055 GB, free: 73.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/0.639, allocations: 2.732 MB / 0.5082 GB, free: 70.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003887/0.6429, allocations: 2.355 MB / 0.5105 GB, free: 68.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.6429, allocations: 4 kB / 0.5105 GB, free: 68.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.6429, allocations: 3.984 kB / 0.5105 GB, free: 68.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.6541, allocations: 6.895 MB / 0.5172 GB, free: 61.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.6541, allocations: 4 kB / 0.5172 GB, free: 61.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.6551, allocations: 227.7 kB / 0.5174 GB, free: 60.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002772/0.6579, allocations: 1.053 MB / 0.5185 GB, free: 59.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.658, allocations: 41.89 kB / 0.5185 GB, free: 59.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004303/0.6624, allocations: 5.001 MB / 0.5234 GB, free: 54.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006733/0.663, allocations: 1.438 MB / 0.5248 GB, free: 53.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006256/0.6693, allocations: 4.942 MB / 0.5296 GB, free: 48.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.6699, allocations: 264.8 kB / 0.5299 GB, free: 47.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/0.6703, allocations: 35.75 kB / 0.5299 GB, free: 47.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.6718, allocations: 127.8 kB / 0.53 GB, free: 47.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.672, allocations: 92.34 kB / 0.5301 GB, free: 47.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6721, allocations: 39.98 kB / 0.5302 GB, free: 47.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002465/0.6746, allocations: 1.956 MB / 0.5321 GB, free: 45.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6746, allocations: 0 / 0.5321 GB, free: 45.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003874/0.6785, allocations: 0.9631 MB / 0.533 GB, free: 44.69 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[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 (105): * Single equations (assignments): 98 * Array equations: 3 * 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.0003314/0.6788, allocations: 163.1 kB / 0.5332 GB, free: 44.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007145/0.6859, allocations: 4.886 MB / 0.5379 GB, free: 39.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6859, allocations: 0 / 0.5379 GB, free: 39.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003248/0.6892, allocations: 1.79 MB / 0.5397 GB, free: 37.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.6913, allocations: 336.2 kB / 0.54 GB, free: 37.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.7024, allocations: 8.583 MB / 0.5484 GB, free: 28.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004115/0.7065, allocations: 2.356 MB / 0.5507 GB, free: 26.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005471/0.712, allocations: 1.672 MB / 0.5523 GB, free: 24.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008/0.7128, allocations: 204.5 kB / 0.5525 GB, free: 24.61 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.7128, allocations: 0 / 0.5525 GB, free: 24.61 MB / 430.1 MB Notification: Performance of Templates: time 0.07398/0.7867, allocations: 30.35 MB / 0.5822 GB, free: 10.23 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.046568125020713]