Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.314e-05, allocations: 3.125 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01032/0.01034, allocations: 9.17 MB / 328.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007865/0.01821, allocations: 3.655 MB / 331.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009607/0.01917, allocations: 73.16 kB / 331.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004458/0.02362, allocations: 2.365 MB / 334.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.02767, allocations: 1.792 MB / 336 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.02911, allocations: 0.6698 MB / 336.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004417/0.03352, allocations: 3.816 MB / 340.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.03683, allocations: 2.699 MB / 343.2 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.04087, allocations: 2.085 MB / 345.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.04388, allocations: 1.921 MB / 347.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007608/0.04464, allocations: 296 kB / 347.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.04687, allocations: 1.112 MB / 348.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.0487, allocations: 1.815 MB / 350.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.05026, allocations: 1.145 MB / 351.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007381/0.05764, allocations: 6.292 MB / 357.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.05765, allocations: 3.938 kB / 357.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.05765, allocations: 0 / 357.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.59e-05/0.05773, allocations: 0 / 357.8 MB, free: 4.629 MB / 318.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.00845/0.06618, allocations: 4.292 MB / 362.1 MB, free: 288 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.06622, allocations: 8.922 kB / 362.1 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007012/0.07324, allocations: 1.905 MB / 364 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/0.07756, allocations: 1.965 MB / 366 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.07777, allocations: 221.5 kB / 366.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009229/0.07869, allocations: 367.7 kB / 366.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.09363, allocations: 8.912 MB / 375.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.239e-05/0.09372, allocations: 39.7 kB / 375.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003719/0.09409, allocations: 139.8 kB / 375.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/0.09669, allocations: 1.645 MB / 377.3 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/0.1112, allocations: 7.482 MB / 384.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04357/0.1548, allocations: 32.97 MB / 417.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008765/0.1636, allocations: 3.013 MB / 420.8 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.1655, allocations: 1.373 MB / 422.2 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009211/0.1747, allocations: 5.475 MB / 427.6 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1748, allocations: 55.14 kB / 427.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 3.677e-06/0.1748, allocations: 4 kB / 427.7 MB, free: 12.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=139): time 0.02817/0.203, allocations: 11.22 MB / 438.9 MB, free: 1.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001533/0.2045, allocations: 1.572 MB / 440.5 MB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005048/0.2095, allocations: 3.479 MB / 444 MB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003482/0.2099, allocations: 53.62 kB / 444 MB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002661/0.2126, allocations: 2.902 MB / 446.9 MB, free: 9.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009539/0.2135, allocations: 0.5855 MB / 447.5 MB, free: 8.855 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/0.215, allocations: 1.1 MB / 448.6 MB, free: 7.746 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2151, allocations: 301.1 kB / 448.9 MB, free: 7.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.2181, allocations: 1.939 MB / 450.8 MB, free: 5.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006187/0.2243, allocations: 5.377 MB / 456.2 MB, free: 14.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0096/0.2339, allocations: 7.853 MB / 464.1 MB, free: 4.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-05/0.234, allocations: 40 kB / 464.1 MB, free: 4.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.1839/0.4178, allocations: 8.768 MB / 472.9 MB, free: 122.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.536e-05/0.4179, allocations: 57.25 kB / 472.9 MB, free: 122.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01136/0.4293, allocations: 3.47 MB / 476.4 MB, free: 122.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.4402, allocations: 2.236 MB / 478.6 MB, free: 122.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00419/0.4444, allocations: 1.252 MB / 479.9 MB, free: 122.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009308/0.4537, allocations: 7.081 MB / 487 MB, free: 118.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/0.458, allocations: 417.2 kB / 487.4 MB, free: 118.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005759/0.4586, allocations: 345.5 kB / 487.7 MB, free: 118.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.002368/0.461, allocations: 1.845 MB / 489.6 MB, free: 117.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/0.4614, allocations: 295.6 kB / 489.8 MB, free: 117.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004536/0.4659, allocations: 2.728 MB / 492.6 MB, free: 116.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003893/0.4698, allocations: 2.36 MB / 494.9 MB, free: 115.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.4698, allocations: 2.875 kB / 494.9 MB, free: 115.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.4699, allocations: 3.984 kB / 494.9 MB, free: 115.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.4804, allocations: 6.946 MB / 0.4901 GB, free: 111.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4804, allocations: 0 / 0.4901 GB, free: 111.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009876/0.4814, allocations: 224.6 kB / 0.4903 GB, free: 111.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/0.4842, allocations: 1.056 MB / 0.4914 GB, free: 110.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.4844, allocations: 42.19 kB / 0.4914 GB, free: 110.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.4885, allocations: 5.012 MB / 0.4963 GB, free: 105.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006415/0.4892, allocations: 1.441 MB / 0.4977 GB, free: 103.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006352/0.4955, allocations: 4.934 MB / 0.5025 GB, free: 98.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.4966, allocations: 294.2 kB / 0.5028 GB, free: 98.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.497, allocations: 24 kB / 0.5028 GB, free: 98.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/0.4985, allocations: 147.8 kB / 0.503 GB, free: 98.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/0.4987, allocations: 96.41 kB / 0.5031 GB, free: 98.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.4988, allocations: 38.33 kB / 0.5031 GB, free: 98.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002305/0.5012, allocations: 2.007 MB / 0.5051 GB, free: 96.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5012, allocations: 0 / 0.5051 GB, free: 96.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004342/0.5055, allocations: 1.022 MB / 0.5061 GB, free: 95.42 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.0004466/0.5059, allocations: 193.8 kB / 0.5062 GB, free: 95.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007097/0.513, allocations: 4.898 MB / 0.511 GB, free: 90.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.513, allocations: 0 / 0.511 GB, free: 90.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003081/0.5161, allocations: 1.785 MB / 0.5128 GB, free: 88.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.5181, allocations: 348.3 kB / 0.5131 GB, free: 88.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009631/0.5278, allocations: 8.362 MB / 0.5213 GB, free: 79.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/0.5298, allocations: 2.361 MB / 0.5236 GB, free: 77.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002851/0.5326, allocations: 1.666 MB / 0.5252 GB, free: 75.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/0.5331, allocations: 204.4 kB / 0.5254 GB, free: 75.55 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5331, allocations: 4 kB / 0.5254 GB, free: 75.54 MB / 430.1 MB Notification: Performance of Templates: time 0.05042/0.5835, allocations: 31.45 MB / 0.5561 GB, free: 44.55 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.049287535250187]