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.001191/0.001191, allocations: 106.4 kB / 17.15 MB, free: 6.309 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: 198 kB / 18.07 MB, free: 5.41 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.34/1.34, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001122/0.001122, allocations: 47.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.0937, allocations: 46.64 MB / 326.7 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03285/0.1266, allocations: 38.41 MB / 365.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.1448, allocations: 8.532 MB / 373.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00757/0.1524, allocations: 167.6 kB / 373.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004609/0.1571, allocations: 2.295 MB / 376.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.1613, allocations: 1.577 MB / 377.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1627, allocations: 0.5539 MB / 378.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1842/0.3469, allocations: 4.987 MB / 383.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005723/0.3527, allocations: 3.005 MB / 386.2 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.3556, allocations: 1.213 MB / 387.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.3591, allocations: 1.922 MB / 389.4 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.3602, allocations: 201.7 kB / 389.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.3627, allocations: 1.098 MB / 390.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.3645, allocations: 1.618 MB / 392.3 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.3664, allocations: 1.898 MB / 394.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005495/0.3719, allocations: 5.989 MB / 400.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3719, allocations: 0 / 400.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3719, allocations: 0 / 400.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.3721, allocations: 0 / 400.2 MB, free: 7.086 MB / 318.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.008128/0.3802, allocations: 4.256 MB / 404.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3803, allocations: 9.656 kB / 404.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008315/0.3811, allocations: 0.6404 MB / 405.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/0.3868, allocations: 1.841 MB / 406.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.3906, allocations: 2.489 MB / 409.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.3907, allocations: 220 kB / 409.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006975/0.3914, allocations: 368.5 kB / 410 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.4055, allocations: 8.866 MB / 418.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.264e-05/0.4057, allocations: 43.62 kB / 418.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/0.406, allocations: 137.6 kB / 419 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/0.4084, allocations: 1.638 MB / 420.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/0.4227, allocations: 7.499 MB / 428.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04759/0.4704, allocations: 35.16 MB / 463.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00848/0.4789, allocations: 3.445 MB / 466.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.481, allocations: 1.448 MB / 468.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.4917, allocations: 6.782 MB / 475 MB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/0.4918, allocations: 47.16 kB / 475 MB, free: 1.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 7.885e-06/0.4918, allocations: 0 / 475 MB, free: 1.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02781/0.5196, allocations: 11.18 MB / 486.2 MB, free: 6.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001311/0.5209, allocations: 1.619 MB / 487.8 MB, free: 4.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005895/0.5269, allocations: 3.568 MB / 491.4 MB, free: 1.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002387/0.5271, allocations: 49.8 kB / 491.5 MB, free: 1.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.5289, allocations: 2.792 MB / 494.2 MB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/0.5295, allocations: 0.5658 MB / 494.8 MB, free: 13.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.5308, allocations: 1.095 MB / 495.9 MB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.5309, allocations: 305.1 kB / 496.2 MB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.5335, allocations: 1.916 MB / 498.1 MB, free: 10.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004572/0.538, allocations: 5.35 MB / 0.4917 GB, free: 3.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008378/0.5464, allocations: 7.837 MB / 0.4993 GB, free: 10.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-05/0.5466, allocations: 36 kB / 0.4994 GB, free: 10.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01877/0.5653, allocations: 8.434 MB / 0.5076 GB, free: 2.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/0.5655, allocations: 60 kB / 0.5076 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009001/0.5745, allocations: 3.128 MB / 0.5107 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008866/0.5834, allocations: 1.868 MB / 0.5125 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004178/0.5876, allocations: 1.244 MB / 0.5137 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008099/0.5957, allocations: 5.689 MB / 0.5193 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/0.6006, allocations: 375.2 kB / 0.5197 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.6017, allocations: 344 kB / 0.52 GB, free: 5.703 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 (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.003351/0.605, allocations: 1.85 MB / 0.5218 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006673/0.6057, allocations: 308 kB / 0.5221 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005245/0.611, allocations: 2.758 MB / 0.5248 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004281/0.6153, allocations: 2.364 MB / 0.5271 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.6153, allocations: 4 kB / 0.5271 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/0.6153, allocations: 3.984 kB / 0.5271 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.6294, allocations: 7.857 MB / 0.5348 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.6295, allocations: 0 / 0.5348 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6306, allocations: 227.6 kB / 0.535 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/0.6335, allocations: 1.057 MB / 0.536 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.6337, allocations: 34.8 kB / 0.536 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1748/0.8084, allocations: 4.949 MB / 0.5409 GB, free: 174 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001015/0.8095, allocations: 1.473 MB / 0.5423 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00788/0.8174, allocations: 4.967 MB / 0.5472 GB, free: 172.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009611/0.8184, allocations: 368.5 kB / 0.5475 GB, free: 172.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.8188, allocations: 28.69 kB / 0.5476 GB, free: 172.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.8201, allocations: 126 kB / 0.5477 GB, free: 172.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/0.8204, allocations: 84.92 kB / 0.5478 GB, free: 172.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.8205, allocations: 43.67 kB / 0.5478 GB, free: 172.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003816/0.8243, allocations: 2.207 MB / 0.5499 GB, free: 171.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8243, allocations: 0 / 0.5499 GB, free: 171.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00494/0.8293, allocations: 0.9599 MB / 0.5509 GB, free: 171.6 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.007959/0.8373, allocations: 5.61 MB / 0.5564 GB, free: 169.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007766/0.8451, allocations: 5.165 MB / 0.5614 GB, free: 167.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.8451, allocations: 0 / 0.5614 GB, free: 167.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.8481, allocations: 2.012 MB / 0.5634 GB, free: 166.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.8506, allocations: 378.4 kB / 0.5637 GB, free: 166.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06547/0.9161, allocations: 48.56 MB / 0.6112 GB, free: 119.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/0.9186, allocations: 2.912 MB / 0.614 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003575/0.9222, allocations: 1.703 MB / 0.6157 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/0.9238, allocations: 1.612 MB / 0.6172 GB, free: 113.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.343e-06/0.9239, allocations: 0 / 0.6172 GB, free: 113.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0834/1.007, allocations: 65.14 MB / 0.6809 GB, free: 48.06 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/1.007, allocations: 239.1 kB / 0.6811 GB, free: 47.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/4.493, allocations: 4 kB / 0.6811 GB, free: 47.8 MB / 462.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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches