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.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 3.2.3+maint.om/package.mo", uses=false) 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.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.00146/0.00146, allocations: 183 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 51.94 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.08398, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.177/0.261, allocations: 10.47 MB / 385.1 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006887/0.2679, allocations: 3.815 MB / 388.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.2695, allocations: 61.34 kB / 389 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00407/0.2736, allocations: 2.319 MB / 391.3 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0043/0.278, allocations: 1.677 MB / 393 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2794, allocations: 0.6089 MB / 393.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004761/0.2842, allocations: 3.469 MB / 397.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004331/0.2885, allocations: 3.03 MB / 400.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.2908, allocations: 1.365 MB / 401.5 MB, free: 156 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.2938, allocations: 1.807 MB / 403.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.295, allocations: 291.2 kB / 403.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.298, allocations: 1.137 MB / 404.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002307/0.3004, allocations: 1.707 MB / 406.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004077/0.3044, allocations: 1.97 MB / 408.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008524/0.313, allocations: 6.258 MB / 414.6 MB, free: 7.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.313, allocations: 0 / 414.6 MB, free: 7.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.313, allocations: 0 / 414.6 MB, free: 7.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002736/0.3133, allocations: 0 / 414.6 MB, free: 7.789 MB / 334.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.01082/0.3242, allocations: 4.254 MB / 418.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3242, allocations: 12.03 kB / 418.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001675/0.3259, allocations: 0.6408 MB / 419.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006696/0.3326, allocations: 1.84 MB / 421.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004896/0.3375, allocations: 2.533 MB / 423.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.3377, allocations: 217.4 kB / 424.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.339, allocations: 367.6 kB / 424.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.3549, allocations: 8.87 MB / 433.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001589/0.3551, allocations: 39.67 kB / 433.4 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000895/0.356, allocations: 135.9 kB / 433.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002464/0.3585, allocations: 1.637 MB / 435.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.3729, allocations: 7.502 MB / 442.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04273/0.4156, allocations: 35 MB / 477.7 MB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008221/0.4239, allocations: 3.448 MB / 481.1 MB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.4259, allocations: 1.447 MB / 482.6 MB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009747/0.4357, allocations: 6.773 MB / 489.3 MB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.4358, allocations: 47.22 kB / 489.4 MB, free: 10.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.669e-06/0.4358, allocations: 0 / 489.4 MB, free: 10.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.0267/0.4625, allocations: 11.18 MB / 0.4888 GB, free: 15.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001285/0.4638, allocations: 1.706 MB / 0.4905 GB, free: 13.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005794/0.4696, allocations: 3.568 MB / 0.494 GB, free: 9.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003064/0.47, allocations: 45.7 kB / 0.494 GB, free: 9.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001996/0.472, allocations: 2.786 MB / 0.4967 GB, free: 7.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007532/0.4727, allocations: 0.5672 MB / 0.4973 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002136/0.4749, allocations: 1.103 MB / 0.4984 GB, free: 5.352 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.475, allocations: 301.4 kB / 0.4987 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/0.4779, allocations: 1.912 MB / 0.5005 GB, free: 3.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005128/0.483, allocations: 5.365 MB / 0.5058 GB, free: 12.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008546/0.4916, allocations: 7.838 MB / 0.5134 GB, free: 2.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/0.4917, allocations: 36 kB / 0.5135 GB, free: 2.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01928/0.511, allocations: 8.434 MB / 0.5217 GB, free: 9.984 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.5112, allocations: 56 kB / 0.5217 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009386/0.5206, allocations: 3.117 MB / 0.5248 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009003/0.5296, allocations: 1.868 MB / 0.5266 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/0.5336, allocations: 1.248 MB / 0.5278 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00814/0.5418, allocations: 6.046 MB / 0.5337 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/0.5464, allocations: 383.3 kB / 0.5341 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.5475, allocations: 340 kB / 0.5344 GB, free: 12.63 MB / 478.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 (672): * Single equations (assignments): 663 * 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.003867/0.5514, allocations: 1.854 MB / 0.5362 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006856/0.5521, allocations: 304.1 kB / 0.5365 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005733/0.5578, allocations: 2.769 MB / 0.5392 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004453/0.5623, allocations: 2.351 MB / 0.5415 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.5623, allocations: 4 kB / 0.5415 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/0.5624, allocations: 15.91 kB / 0.5415 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2135/0.7758, allocations: 7.839 MB / 0.5492 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.7759, allocations: 1.25 kB / 0.5492 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.777, allocations: 226.1 kB / 0.5494 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003257/0.7803, allocations: 1.06 MB / 0.5504 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.7805, allocations: 37.45 kB / 0.5505 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005493/0.786, allocations: 5.283 MB / 0.5556 GB, free: 144.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008105/0.7868, allocations: 1.563 MB / 0.5572 GB, free: 142.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008152/0.795, allocations: 4.955 MB / 0.562 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009683/0.796, allocations: 367.2 kB / 0.5624 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/0.7964, allocations: 27.97 kB / 0.5624 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.7977, allocations: 130 kB / 0.5625 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.798, allocations: 84.94 kB / 0.5626 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.7981, allocations: 44.11 kB / 0.5626 GB, free: 140.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003644/0.8018, allocations: 2.208 MB / 0.5648 GB, free: 140.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8018, allocations: 0 / 0.5648 GB, free: 140.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005132/0.8069, allocations: 0.9509 MB / 0.5657 GB, free: 140.1 MB / 478.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.008057/0.815, allocations: 5.618 MB / 0.5712 GB, free: 137.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008119/0.8231, allocations: 5.191 MB / 0.5763 GB, free: 135.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.8232, allocations: 3.938 kB / 0.5763 GB, free: 135.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003141/0.8263, allocations: 2.016 MB / 0.5782 GB, free: 134.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.829, allocations: 399.7 kB / 0.5786 GB, free: 134.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05807/0.887, allocations: 42.51 MB / 0.6201 GB, free: 92.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002393/0.8895, allocations: 2.902 MB / 0.623 GB, free: 89.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003217/0.8927, allocations: 1.707 MB / 0.6246 GB, free: 87.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/0.8944, allocations: 1.608 MB / 0.6262 GB, free: 85.95 MB / 478.1 MB Notification: Performance of SimCode: time 1.382e-06/0.8944, allocations: 4 kB / 0.6262 GB, free: 85.95 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/1.298, allocations: 64.07 MB / 0.6888 GB, free: 21.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.98/21.28, allocations: 23.64 kB / 0.6888 GB, free: 21.77 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches