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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_0_0_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.001297/0.001297, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.001184/0.001184, allocations: 195 kB / 18 MB, free: 5.105 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009733/0.0009735, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2299, allocations: 49.45 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01075/0.2406, allocations: 10.45 MB / 410.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00668/0.2474, allocations: 3.82 MB / 414.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000938/0.2483, allocations: 63.81 kB / 414.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00398/0.2523, allocations: 2.317 MB / 416.9 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003404/0.2558, allocations: 1.681 MB / 418.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.257, allocations: 0.6161 MB / 419.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003929/0.261, allocations: 3.451 MB / 422.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003118/0.2641, allocations: 3.03 MB / 425.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.2658, allocations: 1.363 MB / 427 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.268, allocations: 1.799 MB / 428.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004874/0.2685, allocations: 292 kB / 429.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.2703, allocations: 1.151 MB / 430.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.2717, allocations: 1.707 MB / 432 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.2734, allocations: 1.961 MB / 433.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005652/0.2791, allocations: 6.244 MB / 440.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.2791, allocations: 8 kB / 440.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2791, allocations: 0 / 440.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.371e-05/0.2792, allocations: 4 kB / 440.2 MB, free: 0.6914 MB / 350.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.007091/0.2863, allocations: 4.234 MB / 444.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2864, allocations: 12.03 kB / 444.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007368/0.2871, allocations: 0.6408 MB / 445.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006539/0.2937, allocations: 1.829 MB / 446.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004778/0.2985, allocations: 2.384 MB / 449.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.2986, allocations: 217.4 kB / 449.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008136/0.2994, allocations: 367.6 kB / 449.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01375/0.3132, allocations: 8.87 MB / 458.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.44e-05/0.3133, allocations: 39.59 kB / 458.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00037/0.3137, allocations: 135.9 kB / 458.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00237/0.3161, allocations: 1.649 MB / 460.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.33, allocations: 7.49 MB / 468 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03939/0.3694, allocations: 34.99 MB / 0.4912 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008486/0.3779, allocations: 3.44 MB / 0.4946 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.3799, allocations: 1.444 MB / 0.496 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.39, allocations: 6.776 MB / 0.5026 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.39, allocations: 43.22 kB / 0.5027 GB, free: 3.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.888e-06/0.3901, allocations: 7.938 kB / 0.5027 GB, free: 3.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.0258/0.4159, allocations: 11.11 MB / 0.5135 GB, free: 8.539 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001284/0.4172, allocations: 1.71 MB / 0.5152 GB, free: 6.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.4215, allocations: 3.54 MB / 0.5187 GB, free: 3.109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002313/0.4217, allocations: 49.64 kB / 0.5187 GB, free: 3.055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.4235, allocations: 2.79 MB / 0.5214 GB, free: 232 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/0.4241, allocations: 0.5596 MB / 0.522 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.4254, allocations: 1.103 MB / 0.523 GB, free: 14.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.4255, allocations: 305.1 kB / 0.5233 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/0.4281, allocations: 1.92 MB / 0.5252 GB, free: 12.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004687/0.4328, allocations: 5.361 MB / 0.5304 GB, free: 5.223 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1779/0.6107, allocations: 7.821 MB / 0.5381 GB, free: 123 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/0.6109, allocations: 35.25 kB / 0.5381 GB, free: 123 MB / 462.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.0171/0.628, allocations: 8.424 MB / 0.5463 GB, free: 120.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/0.6281, allocations: 61.34 kB / 0.5464 GB, free: 120.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008921/0.637, allocations: 3.129 MB / 0.5495 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008895/0.6459, allocations: 1.861 MB / 0.5513 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.6494, allocations: 1.244 MB / 0.5525 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.6562, allocations: 6.039 MB / 0.5584 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003868/0.6601, allocations: 380.7 kB / 0.5588 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/0.6606, allocations: 336 kB / 0.5591 GB, free: 113 MB / 462.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.00214/0.6627, allocations: 1.859 MB / 0.5609 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.6632, allocations: 300.2 kB / 0.5612 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/0.6679, allocations: 2.761 MB / 0.5639 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003833/0.6717, allocations: 2.359 MB / 0.5662 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6717, allocations: 4 kB / 0.5662 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.6718, allocations: 5.734 kB / 0.5662 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.6835, allocations: 7.838 MB / 0.5738 GB, free: 97.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.6835, allocations: 0 / 0.5738 GB, free: 97.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.6845, allocations: 231.6 kB / 0.5741 GB, free: 97.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002812/0.6873, allocations: 1.057 MB / 0.5751 GB, free: 96.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.6875, allocations: 35.97 kB / 0.5751 GB, free: 96.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.6918, allocations: 5.278 MB / 0.5803 GB, free: 91.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000691/0.6925, allocations: 1.563 MB / 0.5818 GB, free: 89.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006187/0.6987, allocations: 4.967 MB / 0.5867 GB, free: 84.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006878/0.6994, allocations: 364.9 kB / 0.587 GB, free: 84.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.6997, allocations: 31.94 kB / 0.587 GB, free: 84.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.701, allocations: 127.8 kB / 0.5872 GB, free: 84.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.7013, allocations: 76.53 kB / 0.5872 GB, free: 83.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.966e-05/0.7014, allocations: 43.97 kB / 0.5873 GB, free: 83.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002448/0.7038, allocations: 2.191 MB / 0.5894 GB, free: 81.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7039, allocations: 0 / 0.5894 GB, free: 81.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003842/0.7077, allocations: 0.9576 MB / 0.5904 GB, free: 80.79 MB / 462.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.006696/0.7144, allocations: 5.625 MB / 0.5958 GB, free: 75.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007264/0.7217, allocations: 5.189 MB / 0.6009 GB, free: 69.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.7218, allocations: 0 / 0.6009 GB, free: 69.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003209/0.725, allocations: 2.012 MB / 0.6029 GB, free: 67.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.7271, allocations: 398.9 kB / 0.6033 GB, free: 67.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05243/0.7796, allocations: 42.37 MB / 0.6446 GB, free: 19.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/0.782, allocations: 2.905 MB / 0.6475 GB, free: 16.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003224/0.7852, allocations: 1.695 MB / 0.6491 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/0.7869, allocations: 1.608 MB / 0.6507 GB, free: 13.52 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7869, allocations: 0 / 0.6507 GB, free: 13.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/0.917, allocations: 63.86 MB / 0.7131 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.15/21.07, allocations: 7.922 kB / 0.7131 GB, free: 14.1 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/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