Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001063, allocations: 103.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 54.64 kB / 300.6 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08401, allocations: 49.44 MB / 350.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.009911/0.09395, allocations: 10.46 MB / 360.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007752/0.1017, allocations: 3.824 MB / 364.3 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.1029, allocations: 63.81 kB / 364.4 MB, free: 6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.1066, allocations: 2.313 MB / 366.7 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.1099, allocations: 1.683 MB / 368.4 MB, free: 1.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.1112, allocations: 0.6161 MB / 369 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1666/0.2777, allocations: 3.444 MB / 372.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00447/0.2822, allocations: 3.036 MB / 375.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.2851, allocations: 1.375 MB / 376.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003044/0.2882, allocations: 1.791 MB / 378.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008885/0.2891, allocations: 290.1 kB / 378.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.2918, allocations: 1.143 MB / 380.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002222/0.294, allocations: 1.673 MB / 381.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003098/0.2971, allocations: 1.953 MB / 383.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006931/0.304, allocations: 6.03 MB / 389.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3041, allocations: 0 / 389.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3041, allocations: 4 kB / 389.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001957/0.3043, allocations: 1.688 kB / 389.7 MB, free: 5.367 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.01018/0.3145, allocations: 4.222 MB / 394 MB, free: 2.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3145, allocations: 8.906 kB / 394 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00675/0.3213, allocations: 1.832 MB / 395.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/0.3257, allocations: 2.014 MB / 397.8 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.3259, allocations: 217.5 kB / 398 MB, free: 252 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.327, allocations: 373.9 kB / 398.4 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.3427, allocations: 8.867 MB / 407.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-05/0.3429, allocations: 36.78 kB / 407.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/0.3433, allocations: 138.9 kB / 407.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002378/0.3456, allocations: 1.646 MB / 409.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.3604, allocations: 7.502 MB / 416.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04476/0.4052, allocations: 35.16 MB / 451.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008393/0.4136, allocations: 3.446 MB / 455.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.4155, allocations: 1.441 MB / 456.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008889/0.4244, allocations: 6.812 MB / 463.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.4244, allocations: 53.58 kB / 463.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.777e-06/0.4245, allocations: 0 / 463.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02573/0.4502, allocations: 11.1 MB / 474.6 MB, free: 3.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001225/0.4515, allocations: 1.705 MB / 476.3 MB, free: 1.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004323/0.4558, allocations: 3.531 MB / 479.8 MB, free: 14.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.456, allocations: 46.92 kB / 479.9 MB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.4576, allocations: 2.784 MB / 482.7 MB, free: 11.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/0.4582, allocations: 0.5721 MB / 483.2 MB, free: 10.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.4595, allocations: 1.106 MB / 484.3 MB, free: 9.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.4596, allocations: 309.1 kB / 484.7 MB, free: 9.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/0.4621, allocations: 1.919 MB / 486.6 MB, free: 7.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004896/0.467, allocations: 5.357 MB / 491.9 MB, free: 244 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008576/0.4756, allocations: 7.841 MB / 499.8 MB, free: 6.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.709e-05/0.4757, allocations: 36 kB / 499.8 MB, free: 6.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0217/0.4974, allocations: 8.759 MB / 0.4966 GB, free: 13.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.4976, allocations: 56 kB / 0.4967 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01471/0.5123, allocations: 3.441 MB / 0.5001 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01446/0.5268, allocations: 2.238 MB / 0.5022 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006089/0.5329, allocations: 1.252 MB / 0.5035 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.5465, allocations: 7.415 MB / 0.5107 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/0.5511, allocations: 375.3 kB / 0.5111 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009848/0.5521, allocations: 344 kB / 0.5114 GB, free: 14.48 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.004143/0.5563, allocations: 1.855 MB / 0.5132 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/0.5573, allocations: 300.1 kB / 0.5135 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00631/0.5636, allocations: 2.76 MB / 0.5162 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004622/0.5683, allocations: 2.363 MB / 0.5185 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.5683, allocations: 4 kB / 0.5185 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.5683, allocations: 3.984 kB / 0.5185 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1796/0.7479, allocations: 7.839 MB / 0.5262 GB, free: 146.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/0.7479, allocations: 3 kB / 0.5262 GB, free: 146.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.7492, allocations: 226.8 kB / 0.5264 GB, free: 146.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003249/0.7524, allocations: 1.06 MB / 0.5274 GB, free: 146.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/0.7527, allocations: 34.84 kB / 0.5274 GB, free: 146.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004875/0.7576, allocations: 5.287 MB / 0.5326 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007314/0.7583, allocations: 1.562 MB / 0.5341 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007551/0.7659, allocations: 4.961 MB / 0.539 GB, free: 140.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008269/0.7667, allocations: 356.7 kB / 0.5393 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003624/0.7671, allocations: 30.23 kB / 0.5393 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.7685, allocations: 129.3 kB / 0.5395 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/0.7687, allocations: 85.36 kB / 0.5396 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.7689, allocations: 41.88 kB / 0.5396 GB, free: 140.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003532/0.7724, allocations: 2.183 MB / 0.5417 GB, free: 139.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7724, allocations: 3.969 kB / 0.5417 GB, free: 139.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00456/0.777, allocations: 0.9733 MB / 0.5427 GB, free: 139.3 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.0003879/0.7774, allocations: 171.5 kB / 0.5428 GB, free: 139.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008367/0.7858, allocations: 5.708 MB / 0.5484 GB, free: 137.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.7858, allocations: 0 / 0.5484 GB, free: 137.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/0.7893, allocations: 2.018 MB / 0.5504 GB, free: 136.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.7917, allocations: 396.3 kB / 0.5508 GB, free: 136.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.8044, allocations: 8.497 MB / 0.5591 GB, free: 132.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/0.8068, allocations: 2.911 MB / 0.5619 GB, free: 130.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003513/0.8103, allocations: 1.703 MB / 0.5636 GB, free: 129.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.8108, allocations: 209.8 kB / 0.5638 GB, free: 129 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8108, allocations: 0 / 0.5638 GB, free: 129 MB / 446.1 MB Notification: Performance of Templates: time 0.04908/0.8599, allocations: 35.97 MB / 0.5989 GB, free: 93.7 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches