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.001937/0.001937, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002282/0.002282, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.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 0.002381/0.002381, allocations: 63.88 kB / 378.2 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2435, allocations: 53.4 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0121/0.2556, allocations: 9.157 MB / 440.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008636/0.2642, allocations: 3.649 MB / 444.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.2664, allocations: 75.62 kB / 444.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00522/0.2716, allocations: 2.254 MB / 446.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004728/0.2763, allocations: 1.708 MB / 448.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.278, allocations: 0.6122 MB / 449.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005886/0.2839, allocations: 3.478 MB / 452.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00411/0.288, allocations: 2.434 MB / 455 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.2909, allocations: 1.374 MB / 456.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003437/0.2943, allocations: 1.834 MB / 458.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.2955, allocations: 292 kB / 458.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.2983, allocations: 1.038 MB / 459.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002708/0.301, allocations: 1.718 MB / 461.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004075/0.3051, allocations: 1.444 MB / 462.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.3172, allocations: 6.236 MB / 468.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3172, allocations: 3.938 kB / 468.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3172, allocations: 0 / 468.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002853/0.3175, allocations: 0 / 468.9 MB, free: 1.039 MB / 366.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.01372/0.3312, allocations: 4.234 MB / 473.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.3313, allocations: 15.98 kB / 473.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007671/0.339, allocations: 1.913 MB / 475.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005917/0.3449, allocations: 1.993 MB / 477.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.3451, allocations: 213.4 kB / 477.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.3467, allocations: 363.8 kB / 477.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.3663, allocations: 8.955 MB / 486.6 MB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.3665, allocations: 35.7 kB / 486.6 MB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009953/0.3675, allocations: 135.9 kB / 486.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002875/0.3703, allocations: 1.641 MB / 488.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.3889, allocations: 7.513 MB / 495.9 MB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05035/0.4393, allocations: 32.79 MB / 0.5163 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008997/0.4483, allocations: 2.927 MB / 0.5192 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/0.4506, allocations: 1.381 MB / 0.5205 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.4619, allocations: 5.314 MB / 0.5257 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/0.4619, allocations: 55.09 kB / 0.5258 GB, free: 9.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 5.03e-06/0.4619, allocations: 0 / 0.5258 GB, free: 9.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2156/0.6775, allocations: 11.05 MB / 0.5366 GB, free: 101.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009788/0.6785, allocations: 1.571 MB / 0.5381 GB, free: 100.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00435/0.6828, allocations: 3.39 MB / 0.5414 GB, free: 99.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.6831, allocations: 52.31 kB / 0.5415 GB, free: 99.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.6843, allocations: 2.931 MB / 0.5443 GB, free: 97.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000449/0.6847, allocations: 0.5895 MB / 0.5449 GB, free: 97.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.6859, allocations: 1.116 MB / 0.546 GB, free: 96.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.226e-05/0.6859, allocations: 301.1 kB / 0.5463 GB, free: 96.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.688, allocations: 1.928 MB / 0.5482 GB, free: 95.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003167/0.6911, allocations: 5.374 MB / 0.5534 GB, free: 90.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005777/0.6969, allocations: 7.853 MB / 0.5611 GB, free: 83.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.488e-05/0.697, allocations: 36 kB / 0.5611 GB, free: 83.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01691/0.7139, allocations: 8.829 MB / 0.5697 GB, free: 75.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.7139, allocations: 62.66 kB / 0.5698 GB, free: 74.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009508/0.7235, allocations: 3.514 MB / 0.5732 GB, free: 71.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/0.7335, allocations: 2.322 MB / 0.5755 GB, free: 69.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/0.737, allocations: 1.258 MB / 0.5767 GB, free: 67.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007905/0.7449, allocations: 7.086 MB / 0.5836 GB, free: 60.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/0.7491, allocations: 387.5 kB / 0.584 GB, free: 60.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000511/0.7496, allocations: 344 kB / 0.5843 GB, free: 59.86 MB / 446.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.002087/0.7517, allocations: 1.852 MB / 0.5861 GB, free: 58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/0.7521, allocations: 290.1 kB / 0.5864 GB, free: 57.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005852/0.7527, allocations: 379.4 kB / 0.5868 GB, free: 57.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00393/0.7566, allocations: 2.371 MB / 0.5891 GB, free: 54.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.7567, allocations: 8 kB / 0.5891 GB, free: 54.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.7567, allocations: 3.984 kB / 0.5891 GB, free: 54.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.7672, allocations: 6.885 MB / 0.5958 GB, free: 47.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.7672, allocations: 4 kB / 0.5958 GB, free: 47.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/0.7682, allocations: 227.7 kB / 0.5961 GB, free: 47.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.7708, allocations: 1.061 MB / 0.5971 GB, free: 46.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.771, allocations: 27.98 kB / 0.5971 GB, free: 46.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004134/0.7751, allocations: 4.995 MB / 0.602 GB, free: 41.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006415/0.7757, allocations: 1.455 MB / 0.6034 GB, free: 39.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00634/0.7821, allocations: 4.973 MB / 0.6083 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/0.7828, allocations: 269.9 kB / 0.6085 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.7831, allocations: 24 kB / 0.6085 GB, free: 34.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.7843, allocations: 123.8 kB / 0.6087 GB, free: 34.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.7846, allocations: 92.47 kB / 0.6088 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.586e-05/0.7847, allocations: 44.39 kB / 0.6088 GB, free: 34.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002046/0.7867, allocations: 1.932 MB / 0.6107 GB, free: 32.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7867, allocations: 0 / 0.6107 GB, free: 32.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003916/0.7906, allocations: 0.953 MB / 0.6116 GB, free: 31.45 MB / 446.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.0003843/0.791, allocations: 162.6 kB / 0.6118 GB, free: 31.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00741/0.7984, allocations: 4.899 MB / 0.6166 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.7984, allocations: 4 kB / 0.6166 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004176/0.8026, allocations: 1.791 MB / 0.6183 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/0.806, allocations: 356.7 kB / 0.6186 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/0.8237, allocations: 8.584 MB / 0.627 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004055/0.8278, allocations: 2.359 MB / 0.6293 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005685/0.8335, allocations: 1.662 MB / 0.631 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007682/0.8342, allocations: 203.4 kB / 0.6312 GB, free: 11.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.8342, allocations: 0 / 0.6312 GB, free: 11.32 MB / 446.1 MB Notification: Performance of Templates: time 0.07681/0.911, allocations: 33.97 MB / 0.6643 GB, free: 9.777 MB / 478.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.484415518119931]