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.001835/0.001835, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00177/0.00177, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.498/1.498, allocations: 230.3 MB / 258 MB, free: 8.254 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.001938/0.001938, allocations: 59.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2589, allocations: 53.37 MB / 432.2 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01279/0.2717, allocations: 10.5 MB / 442.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008774/0.2805, allocations: 3.886 MB / 446.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.2821, allocations: 71.62 kB / 446.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005025/0.2871, allocations: 2.348 MB / 449 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004528/0.2916, allocations: 1.7 MB / 450.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.2931, allocations: 0.6161 MB / 451.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004688/0.2978, allocations: 3.486 MB / 454.8 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.3004, allocations: 2.24 MB / 457 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.3021, allocations: 1.378 MB / 458.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.3044, allocations: 1.939 MB / 460.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004876/0.3049, allocations: 292 kB / 460.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.3069, allocations: 1.166 MB / 461.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.3085, allocations: 1.726 MB / 463.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.3104, allocations: 1.946 MB / 465.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007007/0.3174, allocations: 6.216 MB / 471.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3174, allocations: 0 / 471.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3174, allocations: 0 / 471.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001421/0.3175, allocations: 0 / 471.7 MB, free: 15.38 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.009295/0.3268, allocations: 4.238 MB / 475.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3269, allocations: 12.03 kB / 475.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007472/0.3343, allocations: 1.913 MB / 477.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/0.3397, allocations: 1.981 MB / 479.8 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.3399, allocations: 209.4 kB / 480 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.3411, allocations: 371.7 kB / 480.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.3591, allocations: 8.901 MB / 489.3 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.3592, allocations: 39.64 kB / 489.3 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003954/0.3596, allocations: 135.9 kB / 489.4 MB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/0.3622, allocations: 1.641 MB / 491.1 MB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.3784, allocations: 7.529 MB / 498.6 MB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.047/0.4254, allocations: 34.94 MB / 0.521 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009005/0.4344, allocations: 2.913 MB / 0.5239 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.4367, allocations: 1.393 MB / 0.5253 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009547/0.4462, allocations: 5.694 MB / 0.5308 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.35e-05/0.4463, allocations: 63.16 kB / 0.5309 GB, free: 5.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.727e-06/0.4463, allocations: 0 / 0.5309 GB, free: 5.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.244/0.6903, allocations: 11.04 MB / 0.5417 GB, free: 99.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001103/0.6914, allocations: 1.6 MB / 0.5432 GB, free: 98.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005471/0.6969, allocations: 3.536 MB / 0.5467 GB, free: 96.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003798/0.6973, allocations: 45.58 kB / 0.5467 GB, free: 96.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.6986, allocations: 2.9 MB / 0.5496 GB, free: 94.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006396/0.6992, allocations: 0.592 MB / 0.5501 GB, free: 94.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.7003, allocations: 1.113 MB / 0.5512 GB, free: 93.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.158e-05/0.7004, allocations: 301.1 kB / 0.5515 GB, free: 93.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.7026, allocations: 1.932 MB / 0.5534 GB, free: 92.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003152/0.7057, allocations: 5.374 MB / 0.5586 GB, free: 87.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005988/0.7117, allocations: 7.85 MB / 0.5663 GB, free: 80.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.385e-05/0.7118, allocations: 36 kB / 0.5663 GB, free: 79.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01806/0.7298, allocations: 8.847 MB / 0.575 GB, free: 71.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.7299, allocations: 63.94 kB / 0.575 GB, free: 71.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009872/0.7398, allocations: 3.519 MB / 0.5785 GB, free: 67.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.75, allocations: 2.32 MB / 0.5807 GB, free: 65.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/0.7536, allocations: 1.255 MB / 0.582 GB, free: 64.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/0.7619, allocations: 7.248 MB / 0.589 GB, free: 56.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/0.7664, allocations: 387.5 kB / 0.5894 GB, free: 56.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000846/0.7673, allocations: 344 kB / 0.5897 GB, free: 56.21 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.002602/0.7699, allocations: 1.854 MB / 0.5916 GB, free: 54.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005808/0.7705, allocations: 317.9 kB / 0.5919 GB, free: 54.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.7711, allocations: 406.1 kB / 0.5922 GB, free: 53.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004027/0.7751, allocations: 2.367 MB / 0.5946 GB, free: 51.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.7752, allocations: 8 kB / 0.5946 GB, free: 51.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.7752, allocations: 3.984 kB / 0.5946 GB, free: 51.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.7866, allocations: 7.729 MB / 0.6021 GB, free: 43.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.7866, allocations: 1.312 kB / 0.6021 GB, free: 43.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.7877, allocations: 232.1 kB / 0.6023 GB, free: 43.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002809/0.7905, allocations: 1.064 MB / 0.6034 GB, free: 42.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.7906, allocations: 31.98 kB / 0.6034 GB, free: 42.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/0.7949, allocations: 5.077 MB / 0.6084 GB, free: 36.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006857/0.7956, allocations: 1.458 MB / 0.6098 GB, free: 35.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/0.802, allocations: 5 MB / 0.6147 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007349/0.8027, allocations: 301.7 kB / 0.615 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/0.8031, allocations: 31.94 kB / 0.615 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.8044, allocations: 127.8 kB / 0.6151 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.8046, allocations: 92.42 kB / 0.6152 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.773e-05/0.8047, allocations: 43.97 kB / 0.6152 GB, free: 29.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002313/0.807, allocations: 2.175 MB / 0.6174 GB, free: 27.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.807, allocations: 0 / 0.6174 GB, free: 27.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003798/0.8108, allocations: 0.9568 MB / 0.6183 GB, free: 26.47 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.0003295/0.8111, allocations: 167 kB / 0.6185 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007023/0.8181, allocations: 4.898 MB / 0.6232 GB, free: 21.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.8181, allocations: 0 / 0.6232 GB, free: 21.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003271/0.8214, allocations: 1.795 MB / 0.625 GB, free: 19.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.8237, allocations: 402.6 kB / 0.6254 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.8353, allocations: 8.613 MB / 0.6338 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.8376, allocations: 2.897 MB / 0.6366 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0033/0.8409, allocations: 1.695 MB / 0.6383 GB, free: 5.883 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/0.8415, allocations: 215.4 kB / 0.6385 GB, free: 5.672 MB / 446.1 MB Notification: Performance of SimCode: time 2.053e-06/0.8415, allocations: 0 / 0.6385 GB, free: 5.672 MB / 446.1 MB Notification: Performance of Templates: time 0.06975/0.9112, allocations: 37.07 MB / 0.6747 GB, free: 0.832 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.519400184042752]