Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002046/0.002046, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002356/0.002356, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.058e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01156/0.01158, allocations: 9.158 MB / 334.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008234/0.01981, allocations: 3.66 MB / 337.8 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.02178, allocations: 74.28 kB / 337.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005285/0.02706, allocations: 2.362 MB / 340.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.03183, allocations: 1.772 MB / 342 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.03347, allocations: 0.6548 MB / 342.7 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006427/0.0399, allocations: 3.872 MB / 346.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004019/0.04391, allocations: 2.707 MB / 349.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003914/0.04783, allocations: 2.058 MB / 351.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.05123, allocations: 1.929 MB / 353.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007882/0.05202, allocations: 296 kB / 353.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.05453, allocations: 1.084 MB / 354.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002313/0.05685, allocations: 1.8 MB / 356.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.05909, allocations: 1.125 MB / 357.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008136/0.06723, allocations: 6.246 MB / 363.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.06723, allocations: 0 / 363.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.06724, allocations: 0 / 363.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001856/0.06742, allocations: 0 / 363.8 MB, free: 14.12 MB / 334.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.009978/0.0774, allocations: 4.264 MB / 368.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.07744, allocations: 11.98 kB / 368.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007592/0.08503, allocations: 1.96 MB / 370 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/0.08892, allocations: 1.973 MB / 372 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.08911, allocations: 217.6 kB / 372.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008673/0.08997, allocations: 375.7 kB / 372.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.1058, allocations: 8.939 MB / 381.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/0.1059, allocations: 35.69 kB / 381.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005355/0.1065, allocations: 139.8 kB / 381.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00275/0.1092, allocations: 1.645 MB / 383.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/0.1249, allocations: 7.509 MB / 390.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0446/0.1695, allocations: 32.98 MB / 423.8 MB, free: 340 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009479/0.179, allocations: 3.031 MB / 426.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/0.1812, allocations: 1.377 MB / 428.2 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.1919, allocations: 5.479 MB / 433.7 MB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.192, allocations: 51.2 kB / 433.8 MB, free: 6.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 4.449e-06/0.192, allocations: 0 / 433.8 MB, free: 6.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=139): time 0.03133/0.2233, allocations: 11.3 MB / 445.1 MB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001551/0.2249, allocations: 1.58 MB / 446.7 MB, free: 9.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006054/0.2309, allocations: 3.478 MB / 450.1 MB, free: 5.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003227/0.2312, allocations: 41.7 kB / 450.2 MB, free: 5.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002454/0.2337, allocations: 2.891 MB / 453.1 MB, free: 2.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000929/0.2346, allocations: 0.5893 MB / 453.7 MB, free: 2.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002048/0.2367, allocations: 1.104 MB / 454.8 MB, free: 1.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2368, allocations: 301.1 kB / 455.1 MB, free: 0.7539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/0.2403, allocations: 1.943 MB / 457 MB, free: 14.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006388/0.2467, allocations: 5.4 MB / 462.4 MB, free: 7.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1774/0.4241, allocations: 7.855 MB / 470.3 MB, free: 120.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/0.4242, allocations: 35.06 kB / 470.3 MB, free: 120.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02231/0.4465, allocations: 8.87 MB / 479.2 MB, free: 118.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.4467, allocations: 62.92 kB / 479.2 MB, free: 118.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01143/0.4581, allocations: 3.557 MB / 482.8 MB, free: 117.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.4688, allocations: 2.326 MB / 485.1 MB, free: 117.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003914/0.4728, allocations: 1.263 MB / 486.4 MB, free: 117.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008699/0.4815, allocations: 7.104 MB / 493.5 MB, free: 112.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004435/0.4859, allocations: 422.7 kB / 493.9 MB, free: 112.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009419/0.4868, allocations: 344.3 kB / 494.2 MB, free: 112.2 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.00338/0.4902, allocations: 1.848 MB / 496.1 MB, free: 111.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006428/0.4909, allocations: 297.5 kB / 496.4 MB, free: 111 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008354/0.4917, allocations: 375.4 kB / 496.7 MB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00425/0.4959, allocations: 2.367 MB / 499.1 MB, free: 108.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.496, allocations: 0 / 499.1 MB, free: 108.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.496, allocations: 19.91 kB / 499.1 MB, free: 108.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.5085, allocations: 6.946 MB / 0.4942 GB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.5085, allocations: 0 / 0.4942 GB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.5096, allocations: 231.7 kB / 0.4944 GB, free: 101 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/0.5125, allocations: 1.053 MB / 0.4954 GB, free: 99.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.5126, allocations: 35.97 kB / 0.4955 GB, free: 99.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/0.517, allocations: 5.007 MB / 0.5004 GB, free: 94.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007002/0.5177, allocations: 1.446 MB / 0.5018 GB, free: 93.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006608/0.5243, allocations: 4.951 MB / 0.5066 GB, free: 88.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/0.525, allocations: 295.4 kB / 0.5069 GB, free: 88.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004948/0.5255, allocations: 27.98 kB / 0.5069 GB, free: 88.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.5271, allocations: 157 kB / 0.5071 GB, free: 88.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/0.5274, allocations: 96.41 kB / 0.5072 GB, free: 87.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.5275, allocations: 40.69 kB / 0.5072 GB, free: 87.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002631/0.5301, allocations: 1.995 MB / 0.5092 GB, free: 85.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5301, allocations: 0 / 0.5092 GB, free: 85.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004174/0.5343, allocations: 1 MB / 0.5101 GB, free: 84.93 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.0004953/0.5348, allocations: 175.1 kB / 0.5103 GB, free: 84.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007504/0.5423, allocations: 4.918 MB / 0.5151 GB, free: 79.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5423, allocations: 0 / 0.5151 GB, free: 79.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003285/0.5456, allocations: 1.794 MB / 0.5169 GB, free: 78.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.5479, allocations: 371.3 kB / 0.5172 GB, free: 77.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.5603, allocations: 8.362 MB / 0.5254 GB, free: 69.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002791/0.5631, allocations: 2.353 MB / 0.5277 GB, free: 66.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003272/0.5663, allocations: 1.666 MB / 0.5293 GB, free: 65.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/0.567, allocations: 208.5 kB / 0.5295 GB, free: 65.01 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.567, allocations: 0 / 0.5295 GB, free: 65.01 MB / 430.1 MB Notification: Performance of Templates: time 0.05051/0.6175, allocations: 31.3 MB / 0.5601 GB, free: 34.15 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.159290220588446]