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.001504/0.001504, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001596/0.001596, allocations: 200 kB / 18.01 MB, free: 5.047 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 39.94 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3544, allocations: 49.43 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01244/0.3669, allocations: 10.46 MB / 410.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00787/0.3748, allocations: 3.816 MB / 414.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.3763, allocations: 67.81 kB / 414.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004517/0.3809, allocations: 2.305 MB / 416.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004649/0.3856, allocations: 1.692 MB / 418.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.3872, allocations: 0.6122 MB / 419.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005176/0.3924, allocations: 3.453 MB / 422.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004091/0.3965, allocations: 3.027 MB / 425.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.3988, allocations: 1.378 MB / 427 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.4014, allocations: 1.791 MB / 428.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006552/0.402, allocations: 288 kB / 429.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.4043, allocations: 1.139 MB / 430.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001853/0.4062, allocations: 1.675 MB / 431.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.4087, allocations: 1.961 MB / 433.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007731/0.4164, allocations: 6.276 MB / 440.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4164, allocations: 3.938 kB / 440.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4165, allocations: 4 kB / 440.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001749/0.4166, allocations: 4 kB / 440.2 MB, free: 0.6641 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.008519/0.4252, allocations: 4.352 MB / 444.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4252, allocations: 8.031 kB / 444.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009794/0.4262, allocations: 0.633 MB / 445.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006705/0.4329, allocations: 1.866 MB / 447 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.4376, allocations: 2.389 MB / 449.4 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.4378, allocations: 213.4 kB / 449.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009233/0.4388, allocations: 367.7 kB / 450 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.4553, allocations: 8.877 MB / 458.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/0.4555, allocations: 35.69 kB / 458.9 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006837/0.4561, allocations: 139.9 kB / 459 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002799/0.459, allocations: 1.63 MB / 460.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/0.475, allocations: 7.506 MB / 468.2 MB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04664/0.5217, allocations: 35.05 MB / 0.4914 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009003/0.5307, allocations: 3.444 MB / 0.4948 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.533, allocations: 1.444 MB / 0.4962 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.5433, allocations: 6.801 MB / 0.5029 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.5433, allocations: 43.22 kB / 0.5029 GB, free: 3.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 4.018e-06/0.5433, allocations: 4 kB / 0.5029 GB, free: 3.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.02776/0.5711, allocations: 11.31 MB / 0.5139 GB, free: 8.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001546/0.5727, allocations: 1.703 MB / 0.5156 GB, free: 6.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00536/0.5781, allocations: 3.549 MB / 0.5191 GB, free: 2.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.5783, allocations: 41.7 kB / 0.5191 GB, free: 2.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/0.5806, allocations: 2.901 MB / 0.5219 GB, free: 15.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007385/0.5814, allocations: 0.5971 MB / 0.5225 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/0.583, allocations: 1.107 MB / 0.5236 GB, free: 13.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5832, allocations: 305.2 kB / 0.5239 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/0.586, allocations: 1.92 MB / 0.5258 GB, free: 11.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005811/0.5919, allocations: 5.353 MB / 0.531 GB, free: 4.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2527/0.8446, allocations: 7.828 MB / 0.5386 GB, free: 122.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/0.8447, allocations: 35.19 kB / 0.5387 GB, free: 122.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.0182/0.8629, allocations: 8.444 MB / 0.5469 GB, free: 120 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/0.863, allocations: 69.22 kB / 0.547 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008883/0.8719, allocations: 3.121 MB / 0.55 GB, free: 119.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008828/0.8808, allocations: 1.855 MB / 0.5519 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/0.8843, allocations: 1.248 MB / 0.5531 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006872/0.8912, allocations: 6.049 MB / 0.559 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/0.8953, allocations: 380 kB / 0.5593 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007499/0.8961, allocations: 336 kB / 0.5597 GB, free: 112.2 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.002412/0.8985, allocations: 1.857 MB / 0.5615 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/0.899, allocations: 314.6 kB / 0.5618 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.9037, allocations: 2.763 MB / 0.5645 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003753/0.9075, allocations: 2.36 MB / 0.5668 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.9075, allocations: 4 kB / 0.5668 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.9075, allocations: 7.969 kB / 0.5668 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.9186, allocations: 7.834 MB / 0.5744 GB, free: 97.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.9187, allocations: 9.016 kB / 0.5744 GB, free: 97.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.9196, allocations: 227.6 kB / 0.5747 GB, free: 97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002746/0.9224, allocations: 1.056 MB / 0.5757 GB, free: 95.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.9225, allocations: 35.97 kB / 0.5757 GB, free: 95.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.9268, allocations: 5.278 MB / 0.5809 GB, free: 90.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006809/0.9275, allocations: 1.567 MB / 0.5824 GB, free: 88.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/0.9336, allocations: 4.98 MB / 0.5873 GB, free: 83.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/0.9343, allocations: 379.6 kB / 0.5876 GB, free: 83.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/0.9346, allocations: 31.98 kB / 0.5877 GB, free: 83.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.9359, allocations: 123.8 kB / 0.5878 GB, free: 83.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.9361, allocations: 84.47 kB / 0.5879 GB, free: 83.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.926e-05/0.9362, allocations: 49.98 kB / 0.5879 GB, free: 83.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002427/0.9386, allocations: 2.191 MB / 0.5901 GB, free: 80.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.9387, allocations: 0 / 0.5901 GB, free: 80.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003688/0.9423, allocations: 0.9536 MB / 0.591 GB, free: 80 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.006232/0.9486, allocations: 5.635 MB / 0.5965 GB, free: 74.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007256/0.9559, allocations: 5.196 MB / 0.6016 GB, free: 69.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9559, allocations: 0 / 0.6016 GB, free: 69.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003076/0.959, allocations: 2.024 MB / 0.6035 GB, free: 66.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.9612, allocations: 404.5 kB / 0.6039 GB, free: 66.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05689/1.018, allocations: 42.52 MB / 0.6455 GB, free: 18.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003248/1.021, allocations: 2.908 MB / 0.6483 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003417/1.025, allocations: 1.683 MB / 0.6499 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.027, allocations: 1.612 MB / 0.6515 GB, free: 12.57 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/1.027, allocations: 0 / 0.6515 GB, free: 12.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.163/1.19, allocations: 62.91 MB / 0.7129 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.57/21.76, allocations: 6.531 kB / 0.713 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