Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001973/0.001973, allocations: 82.47 kB / 21.43 MB, free: 296 kB / 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.002515/0.002515, allocations: 164.2 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.414e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01197/0.01201, allocations: 9.181 MB / 308.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009104/0.02111, allocations: 3.642 MB / 311.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.02315, allocations: 75.62 kB / 311.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005294/0.02844, allocations: 2.363 MB / 314.2 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005376/0.03382, allocations: 1.796 MB / 316 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.03557, allocations: 0.6626 MB / 316.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006292/0.04186, allocations: 3.836 MB / 320.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004342/0.04621, allocations: 2.699 MB / 323.2 MB, free: 336 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1776/0.2238, allocations: 2.08 MB / 325.3 MB, free: 16.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003271/0.227, allocations: 1.928 MB / 327.2 MB, free: 16.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007717/0.2278, allocations: 297.3 kB / 327.5 MB, free: 16.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.2301, allocations: 1.098 MB / 328.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00217/0.2323, allocations: 1.824 MB / 330.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.2342, allocations: 1.14 MB / 331.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008527/0.2427, allocations: 6.302 MB / 337.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.2427, allocations: 1.25 kB / 337.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.2427, allocations: 0 / 337.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002417/0.243, allocations: 0 / 337.9 MB, free: 15.36 MB / 302.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.01154/0.2545, allocations: 4.291 MB / 342.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2546, allocations: 16.05 kB / 342.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007163/0.2617, allocations: 1.904 MB / 344.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00538/0.2671, allocations: 2.02 MB / 346.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.2672, allocations: 221.8 kB / 346.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009593/0.2682, allocations: 367.9 kB / 346.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.2837, allocations: 8.908 MB / 355.6 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.885e-05/0.2838, allocations: 47.72 kB / 355.6 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003585/0.2841, allocations: 137.6 kB / 355.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002055/0.2862, allocations: 1.639 MB / 357.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.3006, allocations: 7.484 MB / 364.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04981/0.3504, allocations: 33 MB / 397.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009415/0.3598, allocations: 3.011 MB / 400.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.3619, allocations: 1.381 MB / 402.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.3721, allocations: 5.478 MB / 407.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/0.3721, allocations: 50.97 kB / 407.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 4.268e-06/0.3721, allocations: 0 / 407.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=139): time 0.03026/0.4024, allocations: 11.26 MB / 419.1 MB, free: 4.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001641/0.404, allocations: 1.583 MB / 420.7 MB, free: 2.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005699/0.4097, allocations: 3.526 MB / 424.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003646/0.4101, allocations: 41.7 kB / 424.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002526/0.4126, allocations: 2.895 MB / 427.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.4137, allocations: 0.5862 MB / 427.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001841/0.4156, allocations: 1.109 MB / 428.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4157, allocations: 305.1 kB / 429.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/0.4189, allocations: 1.939 MB / 431.1 MB, free: 8.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006735/0.4257, allocations: 5.379 MB / 436.4 MB, free: 1.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.4364, allocations: 7.851 MB / 444.3 MB, free: 7.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-05/0.4365, allocations: 36 kB / 444.3 MB, free: 7.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02209/0.4586, allocations: 8.785 MB / 453.1 MB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/0.4587, allocations: 59.94 kB / 453.2 MB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01178/0.4705, allocations: 3.467 MB / 456.6 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.482, allocations: 2.23 MB / 458.9 MB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004495/0.4865, allocations: 1.252 MB / 460.1 MB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.4979, allocations: 7.073 MB / 467.2 MB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005581/0.5035, allocations: 431.3 kB / 467.6 MB, free: 144 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/0.5047, allocations: 337.8 kB / 467.9 MB, free: 15.81 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.003922/0.5086, allocations: 1.858 MB / 469.8 MB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007086/0.5093, allocations: 294 kB / 470.1 MB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005993/0.5153, allocations: 2.732 MB / 472.8 MB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005121/0.5204, allocations: 2.348 MB / 475.2 MB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.5204, allocations: 4 kB / 475.2 MB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.5204, allocations: 11.97 kB / 475.2 MB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.5356, allocations: 6.952 MB / 482.1 MB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.5356, allocations: 0 / 482.1 MB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.5368, allocations: 227.6 kB / 482.3 MB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00339/0.5402, allocations: 1.057 MB / 483.4 MB, free: 188 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.5404, allocations: 35.97 kB / 483.4 MB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1945/0.7349, allocations: 4.999 MB / 488.4 MB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008105/0.7357, allocations: 1.442 MB / 489.9 MB, free: 137.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008508/0.7442, allocations: 4.934 MB / 494.8 MB, free: 135.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.7454, allocations: 293.3 kB / 495.1 MB, free: 135.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004229/0.7458, allocations: 33.72 kB / 495.1 MB, free: 135.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.7475, allocations: 153.8 kB / 495.3 MB, free: 135.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/0.7478, allocations: 88.59 kB / 495.4 MB, free: 135.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.7479, allocations: 43.92 kB / 495.4 MB, free: 135.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003633/0.7516, allocations: 2.037 MB / 497.5 MB, free: 134.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7516, allocations: 0 / 497.5 MB, free: 134.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004629/0.7562, allocations: 1.023 MB / 498.5 MB, free: 134.7 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.000539/0.7567, allocations: 191.5 kB / 498.7 MB, free: 134.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008198/0.7649, allocations: 4.901 MB / 0.4918 GB, free: 132.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7649, allocations: 0 / 0.4918 GB, free: 132.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003498/0.7684, allocations: 1.78 MB / 0.4935 GB, free: 132.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.7709, allocations: 355.9 kB / 0.4938 GB, free: 132.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/0.7849, allocations: 8.377 MB / 0.502 GB, free: 127.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/0.7876, allocations: 2.365 MB / 0.5043 GB, free: 125.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003167/0.7907, allocations: 1.674 MB / 0.506 GB, free: 124.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.7913, allocations: 203.2 kB / 0.5062 GB, free: 124.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.7913, allocations: 0 / 0.5062 GB, free: 124.1 MB / 430.1 MB Notification: Performance of Templates: time 0.05281/0.8441, allocations: 31.66 MB / 0.5371 GB, free: 93.48 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.569176115095615]