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.001348/0.001348, allocations: 107 kB / 19.8 MB, free: 2.5 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.001512/0.001512, allocations: 215.5 kB / 23 MB, free: 5.574 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.459/1.459, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.001904/0.001904, allocations: 63.91 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2797, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01215/0.2918, allocations: 10.5 MB / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007444/0.2993, allocations: 3.871 MB / 444.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.3004, allocations: 63.81 kB / 444.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004407/0.3048, allocations: 2.344 MB / 446.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.3086, allocations: 1.693 MB / 448.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.3099, allocations: 0.6161 MB / 448.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004594/0.3145, allocations: 3.49 MB / 452.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.3179, allocations: 2.233 MB / 454.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.3202, allocations: 1.359 MB / 456 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.3231, allocations: 1.951 MB / 457.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008248/0.3239, allocations: 292 kB / 458.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.3271, allocations: 1.162 MB / 459.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002575/0.3297, allocations: 1.718 MB / 461.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003587/0.3333, allocations: 1.946 MB / 463 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008471/0.3418, allocations: 6.214 MB / 469.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3418, allocations: 0 / 469.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3418, allocations: 0 / 469.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001829/0.342, allocations: 0 / 469.3 MB, free: 15.91 MB / 382.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.008469/0.3504, allocations: 4.309 MB / 473.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3505, allocations: 12.02 kB / 473.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006628/0.3571, allocations: 1.909 MB / 475.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/0.3613, allocations: 2.045 MB / 477.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.3615, allocations: 213.4 kB / 477.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.3625, allocations: 375.6 kB / 478.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.3783, allocations: 8.897 MB / 487 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.3784, allocations: 39.67 kB / 487 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/0.3788, allocations: 135.9 kB / 487.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002542/0.3814, allocations: 1.637 MB / 488.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.3973, allocations: 7.525 MB / 496.3 MB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/0.4418, allocations: 35.07 MB / 0.519 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008521/0.4503, allocations: 3.369 MB / 0.5222 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.4523, allocations: 1.389 MB / 0.5236 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.4629, allocations: 6.904 MB / 0.5303 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.782e-05/0.463, allocations: 55.14 kB / 0.5304 GB, free: 3.711 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.378e-06/0.463, allocations: 0 / 0.5304 GB, free: 3.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2166/0.6796, allocations: 11.34 MB / 0.5415 GB, free: 99.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009407/0.6805, allocations: 1.708 MB / 0.5431 GB, free: 97.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003655/0.6842, allocations: 3.538 MB / 0.5466 GB, free: 96.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.6844, allocations: 41.64 kB / 0.5466 GB, free: 96.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.6856, allocations: 2.906 MB / 0.5495 GB, free: 94.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/0.686, allocations: 0.5925 MB / 0.55 GB, free: 94.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.6871, allocations: 1.114 MB / 0.5511 GB, free: 93.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.6871, allocations: 308.3 kB / 0.5514 GB, free: 93.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.6892, allocations: 1.933 MB / 0.5533 GB, free: 92.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/0.6924, allocations: 5.375 MB / 0.5586 GB, free: 87.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006274/0.6987, allocations: 7.839 MB / 0.5662 GB, free: 78.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.264e-05/0.6987, allocations: 36 kB / 0.5663 GB, free: 78.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01551/0.7142, allocations: 8.861 MB / 0.5749 GB, free: 69.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.7143, allocations: 56 kB / 0.575 GB, free: 69.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008997/0.7233, allocations: 3.525 MB / 0.5784 GB, free: 66.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009147/0.7324, allocations: 2.321 MB / 0.5807 GB, free: 63.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/0.736, allocations: 1.257 MB / 0.5819 GB, free: 62.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007677/0.7437, allocations: 7.446 MB / 0.5892 GB, free: 54.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/0.748, allocations: 379.5 kB / 0.5895 GB, free: 54.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006499/0.7487, allocations: 343.8 kB / 0.5899 GB, free: 54.15 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.002239/0.7509, allocations: 1.855 MB / 0.5917 GB, free: 52.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004954/0.7514, allocations: 321.8 kB / 0.592 GB, free: 51.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006064/0.752, allocations: 406.1 kB / 0.5924 GB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003784/0.7558, allocations: 2.367 MB / 0.5947 GB, free: 49.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.7558, allocations: 7.938 kB / 0.5947 GB, free: 49.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.7558, allocations: 3.984 kB / 0.5947 GB, free: 49.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.7666, allocations: 7.841 MB / 0.6023 GB, free: 41.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.7666, allocations: 0 / 0.6023 GB, free: 41.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009757/0.7675, allocations: 232.1 kB / 0.6026 GB, free: 41.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/0.7701, allocations: 1.064 MB / 0.6036 GB, free: 39.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.7703, allocations: 35.98 kB / 0.6036 GB, free: 39.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/0.7746, allocations: 5.279 MB / 0.6088 GB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006838/0.7753, allocations: 1.565 MB / 0.6103 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00624/0.7815, allocations: 4.994 MB / 0.6152 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/0.7823, allocations: 378.8 kB / 0.6156 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.7826, allocations: 31.98 kB / 0.6156 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.7838, allocations: 139.7 kB / 0.6157 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.7841, allocations: 88.52 kB / 0.6158 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7842, allocations: 43.34 kB / 0.6158 GB, free: 26.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002498/0.7867, allocations: 2.175 MB / 0.618 GB, free: 24.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7867, allocations: 0 / 0.618 GB, free: 24.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004354/0.791, allocations: 0.9608 MB / 0.6189 GB, free: 23.8 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.0004016/0.7914, allocations: 162.3 kB / 0.6191 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008186/0.7996, allocations: 5.058 MB / 0.624 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.7996, allocations: 0 / 0.624 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0032/0.8028, allocations: 1.951 MB / 0.6259 GB, free: 16.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.8053, allocations: 388.4 kB / 0.6263 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.8176, allocations: 8.609 MB / 0.6347 GB, free: 7.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.82, allocations: 2.901 MB / 0.6375 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003242/0.8232, allocations: 1.699 MB / 0.6392 GB, free: 2.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.8237, allocations: 211.4 kB / 0.6394 GB, free: 2.637 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.8237, allocations: 0 / 0.6394 GB, free: 2.637 MB / 446.1 MB Notification: Performance of Templates: time 0.06719/0.8909, allocations: 34.75 MB / 0.6733 GB, free: 76 kB / 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.267789146862924]