Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 48.06 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.212, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01141/0.2234, allocations: 9.142 MB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00639/0.2298, allocations: 3.648 MB / 445.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005626/0.2304, allocations: 75.62 kB / 445.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0043/0.2347, allocations: 2.258 MB / 447.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.2377, allocations: 1.7 MB / 449.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.2389, allocations: 0.62 MB / 449.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003807/0.2427, allocations: 3.477 MB / 453.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.2453, allocations: 2.449 MB / 455.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.2468, allocations: 1.378 MB / 457.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.2491, allocations: 1.943 MB / 459 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004925/0.2496, allocations: 292 kB / 459.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.2514, allocations: 1.045 MB / 460.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.2529, allocations: 1.718 MB / 462.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.2544, allocations: 1.444 MB / 463.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006264/0.2607, allocations: 6.233 MB / 469.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2607, allocations: 3.938 kB / 469.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2607, allocations: 0 / 469.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.729e-05/0.2608, allocations: 4 kB / 469.8 MB, free: 1.105 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.007293/0.2681, allocations: 4.23 MB / 474 MB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2681, allocations: 16.03 kB / 474 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006811/0.2749, allocations: 1.913 MB / 475.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.2791, allocations: 1.989 MB / 477.9 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.2793, allocations: 209.4 kB / 478.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008439/0.2802, allocations: 367.7 kB / 478.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/0.2941, allocations: 8.955 MB / 487.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.774e-05/0.2942, allocations: 43.64 kB / 487.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.2945, allocations: 131.9 kB / 487.6 MB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002549/0.2971, allocations: 1.637 MB / 489.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.3107, allocations: 7.505 MB / 496.7 MB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04025/0.3509, allocations: 32.79 MB / 0.5171 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008696/0.3596, allocations: 2.931 MB / 0.52 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.3615, allocations: 1.374 MB / 0.5213 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00953/0.3711, allocations: 5.322 MB / 0.5265 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.3711, allocations: 51.14 kB / 0.5266 GB, free: 9.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.257e-06/0.3711, allocations: 8 kB / 0.5266 GB, free: 9.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.1956/0.5667, allocations: 11.04 MB / 0.5374 GB, free: 101.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008682/0.5676, allocations: 1.586 MB / 0.5389 GB, free: 100.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/0.5713, allocations: 3.385 MB / 0.5422 GB, free: 99.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.5715, allocations: 45.48 kB / 0.5423 GB, free: 99.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.5725, allocations: 2.933 MB / 0.5451 GB, free: 97.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.5729, allocations: 0.5874 MB / 0.5457 GB, free: 97.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.574, allocations: 1.119 MB / 0.5468 GB, free: 96.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.571e-05/0.574, allocations: 304.5 kB / 0.5471 GB, free: 96.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.5761, allocations: 1.931 MB / 0.549 GB, free: 95.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/0.579, allocations: 5.376 MB / 0.5542 GB, free: 90.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00536/0.5844, allocations: 7.847 MB / 0.5619 GB, free: 83.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.823e-05/0.5844, allocations: 36 kB / 0.5619 GB, free: 83.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01564/0.6, allocations: 8.826 MB / 0.5705 GB, free: 75.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.6001, allocations: 56.94 kB / 0.5706 GB, free: 75.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009695/0.6098, allocations: 3.521 MB / 0.574 GB, free: 71.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009929/0.6197, allocations: 2.32 MB / 0.5763 GB, free: 69.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/0.6228, allocations: 1.261 MB / 0.5775 GB, free: 68.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0078/0.6306, allocations: 7.097 MB / 0.5845 GB, free: 60.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/0.634, allocations: 379.5 kB / 0.5848 GB, free: 60.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/0.6344, allocations: 343.3 kB / 0.5851 GB, free: 60.11 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.001764/0.6361, allocations: 1.852 MB / 0.587 GB, free: 58.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.6365, allocations: 286.1 kB / 0.5872 GB, free: 57.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005846/0.637, allocations: 379.4 kB / 0.5876 GB, free: 57.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004041/0.6411, allocations: 2.375 MB / 0.5899 GB, free: 55.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.6411, allocations: 0 / 0.5899 GB, free: 55.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.6411, allocations: 11.97 kB / 0.5899 GB, free: 55.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.6517, allocations: 6.876 MB / 0.5966 GB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6517, allocations: 4.094 kB / 0.5966 GB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6527, allocations: 228.2 kB / 0.5969 GB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002868/0.6556, allocations: 1.057 MB / 0.5979 GB, free: 46.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.6557, allocations: 43.97 kB / 0.5979 GB, free: 46.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.6599, allocations: 5.001 MB / 0.6028 GB, free: 41.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006395/0.6605, allocations: 1.445 MB / 0.6042 GB, free: 40.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006115/0.6666, allocations: 4.965 MB / 0.6091 GB, free: 35.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.667, allocations: 269.9 kB / 0.6093 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/0.6673, allocations: 31.98 kB / 0.6094 GB, free: 34.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6686, allocations: 131.8 kB / 0.6095 GB, free: 34.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.6688, allocations: 92.41 kB / 0.6096 GB, free: 34.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6689, allocations: 43.92 kB / 0.6096 GB, free: 34.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.6707, allocations: 1.932 MB / 0.6115 GB, free: 32.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6707, allocations: 0 / 0.6115 GB, free: 32.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003357/0.674, allocations: 0.9488 MB / 0.6124 GB, free: 31.71 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.0002875/0.6743, allocations: 155.9 kB / 0.6126 GB, free: 31.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006307/0.6806, allocations: 4.902 MB / 0.6174 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6806, allocations: 0 / 0.6174 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003114/0.6838, allocations: 1.796 MB / 0.6191 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.6855, allocations: 346.5 kB / 0.6194 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/0.6943, allocations: 8.588 MB / 0.6278 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.6964, allocations: 2.356 MB / 0.6301 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002829/0.6993, allocations: 1.662 MB / 0.6318 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.6997, allocations: 203.3 kB / 0.632 GB, free: 11.59 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6997, allocations: 0 / 0.632 GB, free: 11.59 MB / 446.1 MB Notification: Performance of Templates: time 0.06163/0.7613, allocations: 36.29 MB / 0.6674 GB, free: 7.75 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.107874742010608]