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.001438/0.001438, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00144/0.00144, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.623/1.623, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001684/0.001684, allocations: 47.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1103, allocations: 53.33 MB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2803/0.3906, allocations: 10.48 MB / 437.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008125/0.3987, allocations: 3.861 MB / 441.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.4008, allocations: 72.59 kB / 441.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004416/0.4052, allocations: 2.33 MB / 443.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004813/0.41, allocations: 1.699 MB / 445.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.4115, allocations: 0.6086 MB / 445.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005075/0.4166, allocations: 3.486 MB / 449.3 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003923/0.4205, allocations: 2.565 MB / 451.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.423, allocations: 1.374 MB / 453.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.426, allocations: 1.953 MB / 455.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006165/0.4266, allocations: 294.1 kB / 455.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.429, allocations: 1.162 MB / 456.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001829/0.4308, allocations: 1.723 MB / 458.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.433, allocations: 1.943 MB / 460.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008268/0.4413, allocations: 6.221 MB / 466.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4413, allocations: 0 / 466.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4413, allocations: 0 / 466.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002185/0.4415, allocations: 0 / 466.6 MB, free: 6.441 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.01076/0.4523, allocations: 4.309 MB / 470.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4524, allocations: 9.625 kB / 470.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007532/0.4599, allocations: 1.914 MB / 472.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004656/0.4645, allocations: 2.05 MB / 474.8 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.4647, allocations: 215.1 kB / 475.1 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/0.466, allocations: 367.7 kB / 475.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.4863, allocations: 8.89 MB / 484.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.4864, allocations: 51.58 kB / 484.4 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000437/0.4868, allocations: 131.9 kB / 484.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002919/0.4898, allocations: 1.645 MB / 486.1 MB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/0.5071, allocations: 7.522 MB / 493.7 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05285/0.56, allocations: 35.07 MB / 0.5163 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009861/0.5699, allocations: 3.384 MB / 0.5196 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.5722, allocations: 1.375 MB / 0.521 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.5843, allocations: 6.904 MB / 0.5277 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.5844, allocations: 47.16 kB / 0.5278 GB, free: 12.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.829e-06/0.5844, allocations: 0 / 0.5278 GB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.03169/0.616, allocations: 11.36 MB / 0.5389 GB, free: 1.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00187/0.6179, allocations: 1.714 MB / 0.5405 GB, free: 15.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006027/0.6239, allocations: 3.528 MB / 0.544 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.6244, allocations: 49.69 kB / 0.544 GB, free: 11.53 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002592/0.627, allocations: 2.896 MB / 0.5469 GB, free: 8.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009643/0.628, allocations: 0.5971 MB / 0.5474 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/0.6298, allocations: 1.111 MB / 0.5485 GB, free: 6.887 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6299, allocations: 301.1 kB / 0.5488 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.6333, allocations: 1.931 MB / 0.5507 GB, free: 4.652 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006565/0.6398, allocations: 5.373 MB / 0.5559 GB, free: 13.55 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.6512, allocations: 7.85 MB / 0.5636 GB, free: 3.984 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/0.6513, allocations: 36 kB / 0.5636 GB, free: 3.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02474/0.6761, allocations: 8.854 MB / 0.5723 GB, free: 11.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-05/0.6762, allocations: 57 kB / 0.5723 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01221/0.6884, allocations: 3.514 MB / 0.5758 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/0.7003, allocations: 2.324 MB / 0.578 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/0.7048, allocations: 1.259 MB / 0.5793 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.7167, allocations: 7.451 MB / 0.5865 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004982/0.7217, allocations: 383.5 kB / 0.5869 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/0.7227, allocations: 336 kB / 0.5872 GB, free: 11.46 MB / 0.4981 GB 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.004194/0.7269, allocations: 1.855 MB / 0.589 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/0.7277, allocations: 313.9 kB / 0.5893 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.7288, allocations: 406.1 kB / 0.5897 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005325/0.7341, allocations: 2.375 MB / 0.5921 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7341, allocations: 0 / 0.5921 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.7341, allocations: 11.92 kB / 0.5921 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.7502, allocations: 7.848 MB / 0.5997 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.7502, allocations: 3.938 kB / 0.5997 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.7514, allocations: 227.7 kB / 0.5999 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003544/0.755, allocations: 1.061 MB / 0.601 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.7551, allocations: 35.97 kB / 0.601 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006777/0.7619, allocations: 5.284 MB / 0.6062 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001302/0.7632, allocations: 1.569 MB / 0.6077 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008909/0.7721, allocations: 4.991 MB / 0.6126 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.7732, allocations: 382.8 kB / 0.6129 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/0.7735, allocations: 28 kB / 0.613 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.7749, allocations: 127.8 kB / 0.6131 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.7752, allocations: 88.47 kB / 0.6132 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.7753, allocations: 43.98 kB / 0.6132 GB, free: 192 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.218/0.9933, allocations: 2.174 MB / 0.6153 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9933, allocations: 0 / 0.6153 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008967/1.002, allocations: 0.9517 MB / 0.6163 GB, free: 162.8 MB / 0.5137 GB 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.000704/1.003, allocations: 167.9 kB / 0.6164 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01512/1.018, allocations: 5.044 MB / 0.6214 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.018, allocations: 0 / 0.6214 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006839/1.025, allocations: 1.942 MB / 0.6233 GB, free: 161 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/1.03, allocations: 395.3 kB / 0.6236 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/1.047, allocations: 8.549 MB / 0.632 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/1.051, allocations: 2.899 MB / 0.6348 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004039/1.055, allocations: 1.702 MB / 0.6365 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/1.055, allocations: 217.1 kB / 0.6367 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.252e-06/1.055, allocations: 0 / 0.6367 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.05455/1.11, allocations: 33.43 MB / 0.6693 GB, free: 132.7 MB / 0.5137 GB " [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 -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/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_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.732247982174158]