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.0009101/0.0009101, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009558/0.0009558, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.8673/0.8673, allocations: 177 MB / 205.2 MB, free: 4.996 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.989e-06/1.123e-05, allocations: 5.125 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007001/0.007012, allocations: 9.841 MB / 283.2 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004994/0.01201, allocations: 3.873 MB / 287.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.01259, allocations: 71.62 kB / 287.2 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.01487, allocations: 2.468 MB / 289.6 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0957/0.1106, allocations: 1.776 MB / 291.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.1116, allocations: 0.664 MB / 292.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003429/0.115, allocations: 3.887 MB / 296 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.1176, allocations: 2.845 MB / 298.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.1197, allocations: 2.089 MB / 300.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.1215, allocations: 1.899 MB / 302.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004346/0.1219, allocations: 296.4 kB / 303.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.1231, allocations: 1.078 MB / 304.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008132/0.1239, allocations: 1.824 MB / 306 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007208/0.1246, allocations: 1.133 MB / 307.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.1267, allocations: 4.041 MB / 311.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1267, allocations: 0 / 311.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1267, allocations: 0 / 311.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-05/0.1268, allocations: 4 kB / 311.2 MB, free: 9.02 MB / 266.7 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.002927/0.1297, allocations: 3.921 MB / 315.1 MB, free: 5.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.1297, allocations: 15.98 kB / 315.1 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.132, allocations: 1.042 MB / 316.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.1333, allocations: 1.564 MB / 317.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/0.1333, allocations: 217.2 kB / 317.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000428/0.1338, allocations: 366.8 kB / 318.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.1375, allocations: 4.498 MB / 322.8 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-05/0.1376, allocations: 34.55 kB / 322.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.1378, allocations: 143.5 kB / 323 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001207/0.139, allocations: 1.467 MB / 324.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/0.1425, allocations: 2.377 MB / 326.8 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.1589, allocations: 27.51 MB / 354.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.1621, allocations: 1.66 MB / 356 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/0.1625, allocations: 359 kB / 356.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003688/0.1662, allocations: 3.592 MB / 359.9 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1662, allocations: 58.67 kB / 360 MB, free: 8.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=132): time 2.385e-06/0.1662, allocations: 0 / 360 MB, free: 8.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=139): time 0.00828/0.1745, allocations: 4.068 MB / 364 MB, free: 4.754 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006336/0.1751, allocations: 1.474 MB / 365.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.1769, allocations: 2.811 MB / 368.3 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.177, allocations: 53.84 kB / 368.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.1781, allocations: 2.736 MB / 371.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.1784, allocations: 0.5815 MB / 371.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008166/0.1793, allocations: 1.037 MB / 372.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.1793, allocations: 304.9 kB / 373 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.1803, allocations: 0.729 MB / 373.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.1828, allocations: 4.047 MB / 377.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.1867, allocations: 5.351 MB / 383.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.359e-05/0.1868, allocations: 36 kB / 383.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.006555/0.1933, allocations: 4.206 MB / 387.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.1934, allocations: 60 kB / 387.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003332/0.1967, allocations: 0.9758 MB / 388.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003282/0.2, allocations: 0.5683 MB / 389 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.2018, allocations: 1.205 MB / 390.2 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.2048, allocations: 3.155 MB / 393.4 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.2066, allocations: 247.7 kB / 393.6 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.2068, allocations: 304 kB / 393.9 MB, free: 3.512 MB / 346.7 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.0008627/0.2077, allocations: 0.568 MB / 394.5 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.2079, allocations: 179.8 kB / 394.6 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.2082, allocations: 319.4 kB / 394.9 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001416/0.2096, allocations: 0.682 MB / 395.6 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2096, allocations: 11.98 kB / 395.6 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2096, allocations: 3.984 kB / 395.6 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004874/0.2145, allocations: 3.706 MB / 399.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2145, allocations: 7.938 kB / 399.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.215, allocations: 179.7 kB / 399.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.2162, allocations: 0.4991 MB / 400 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.2163, allocations: 31.98 kB / 400.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.2182, allocations: 2.866 MB / 402.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004797/0.2187, allocations: 1.342 MB / 404.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.2209, allocations: 1.853 MB / 406.1 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.2211, allocations: 273.8 kB / 406.4 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.2213, allocations: 28 kB / 406.4 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/0.2219, allocations: 31.98 kB / 406.5 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.222, allocations: 80.48 kB / 406.5 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/0.2221, allocations: 35.97 kB / 406.6 MB, free: 6.316 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007693/0.2228, allocations: 1.002 MB / 407.6 MB, free: 5.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2228, allocations: 0 / 407.6 MB, free: 5.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002388/0.2252, allocations: 0.9999 MB / 408.6 MB, free: 4.312 MB / 362.7 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.0002854/0.2255, allocations: 164.1 kB / 408.7 MB, free: 4.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003081/0.2286, allocations: 2.693 MB / 411.4 MB, free: 1.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000131/0.2287, allocations: 92.16 kB / 411.5 MB, free: 1.332 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.2299, allocations: 0.8474 MB / 412.4 MB, free: 456 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.2311, allocations: 0.542 MB / 412.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/0.2377, allocations: 6.586 MB / 419.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008032/0.2385, allocations: 1.057 MB / 420.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009/0.2394, allocations: 427.9 kB / 421 MB, free: 7.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/0.2401, allocations: 0.4894 MB / 421.5 MB, free: 7.23 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2401, allocations: 4 kB / 421.5 MB, free: 7.227 MB / 378.7 MB Notification: Performance of Templates: time 0.1324/0.3724, allocations: 34.41 MB / 455.9 MB, free: 104.4 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5399304372258484]