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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 181.8 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 43.94 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3034, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0132/0.3166, allocations: 10.53 MB / 433.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008422/0.325, allocations: 3.871 MB / 437 MB, free: 120 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.3267, allocations: 71.62 kB / 437.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005192/0.3319, allocations: 2.352 MB / 439.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005536/0.3375, allocations: 1.734 MB / 441.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.3394, allocations: 0.6161 MB / 441.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006418/0.3458, allocations: 3.467 MB / 445.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004759/0.3505, allocations: 2.43 MB / 447.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.3539, allocations: 1.39 MB / 449.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003943/0.3578, allocations: 1.943 MB / 451 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.3591, allocations: 292 kB / 451.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.3625, allocations: 1.201 MB / 452.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003041/0.3655, allocations: 1.741 MB / 454.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004495/0.37, allocations: 1.961 MB / 456.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.3805, allocations: 6.273 MB / 462.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.3805, allocations: 0 / 462.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3805, allocations: 0 / 462.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002805/0.3808, allocations: 0 / 462.5 MB, free: 6.531 MB / 366.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.01055/0.3913, allocations: 4.281 MB / 466.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3914, allocations: 12.03 kB / 466.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001164/0.3925, allocations: 0.633 MB / 467.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006643/0.3992, allocations: 1.882 MB / 469.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005291/0.4045, allocations: 2.309 MB / 471.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.4047, allocations: 209.4 kB / 471.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.4057, allocations: 371.7 kB / 472.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.4215, allocations: 8.873 MB / 481.1 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.4216, allocations: 35.73 kB / 481.1 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004257/0.422, allocations: 135.9 kB / 481.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002623/0.4247, allocations: 1.645 MB / 482.9 MB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.4396, allocations: 7.502 MB / 490.4 MB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04643/0.486, allocations: 34.93 MB / 0.513 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008466/0.4945, allocations: 2.902 MB / 0.5158 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.4967, allocations: 1.382 MB / 0.5172 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.5076, allocations: 5.643 MB / 0.5227 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.5076, allocations: 47.16 kB / 0.5227 GB, free: 11.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.98e-06/0.5077, allocations: 4 kB / 0.5227 GB, free: 11.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.02808/0.5357, allocations: 11 MB / 0.5335 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2177/0.7535, allocations: 1.593 MB / 0.535 GB, free: 107.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006222/0.7597, allocations: 3.55 MB / 0.5385 GB, free: 107 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000391/0.7601, allocations: 44.45 kB / 0.5385 GB, free: 106.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.7616, allocations: 2.912 MB / 0.5414 GB, free: 105.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006416/0.7622, allocations: 0.5899 MB / 0.542 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.7635, allocations: 1.111 MB / 0.543 GB, free: 104.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.7635, allocations: 305.1 kB / 0.5433 GB, free: 104.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.7657, allocations: 1.915 MB / 0.5452 GB, free: 103.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/0.7695, allocations: 5.355 MB / 0.5504 GB, free: 98.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00677/0.7762, allocations: 7.83 MB / 0.5581 GB, free: 91.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-05/0.7763, allocations: 33 kB / 0.5581 GB, free: 91.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.0179/0.7942, allocations: 8.451 MB / 0.5664 GB, free: 84.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.7943, allocations: 56 kB / 0.5664 GB, free: 84.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008165/0.8025, allocations: 3.112 MB / 0.5695 GB, free: 81.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008169/0.8106, allocations: 1.865 MB / 0.5713 GB, free: 79.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.8141, allocations: 1.251 MB / 0.5725 GB, free: 78.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.8204, allocations: 5.845 MB / 0.5782 GB, free: 72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004303/0.8247, allocations: 377.4 kB / 0.5786 GB, free: 71.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007127/0.8254, allocations: 340 kB / 0.5789 GB, free: 71.3 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.002578/0.828, allocations: 1.846 MB / 0.5807 GB, free: 69.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005699/0.8286, allocations: 321.8 kB / 0.581 GB, free: 69.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.8329, allocations: 2.761 MB / 0.5837 GB, free: 66.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00354/0.8365, allocations: 2.351 MB / 0.586 GB, free: 64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.8365, allocations: 4 kB / 0.586 GB, free: 64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.8365, allocations: 7.922 kB / 0.586 GB, free: 63.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.8477, allocations: 7.709 MB / 0.5935 GB, free: 56.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.8477, allocations: 0 / 0.5935 GB, free: 56.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009588/0.8487, allocations: 227.7 kB / 0.5938 GB, free: 55.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002458/0.8511, allocations: 1.057 MB / 0.5948 GB, free: 54.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.8513, allocations: 31.98 kB / 0.5948 GB, free: 54.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/0.8553, allocations: 5.075 MB / 0.5998 GB, free: 49.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006419/0.8559, allocations: 1.473 MB / 0.6012 GB, free: 47.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00584/0.8618, allocations: 4.971 MB / 0.6061 GB, free: 42.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008394/0.8626, allocations: 298.4 kB / 0.6063 GB, free: 42.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/0.8629, allocations: 31.98 kB / 0.6064 GB, free: 42.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.8641, allocations: 123.8 kB / 0.6065 GB, free: 42.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.8643, allocations: 98.38 kB / 0.6066 GB, free: 42.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/0.8644, allocations: 43.81 kB / 0.6066 GB, free: 42.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002344/0.8668, allocations: 2.191 MB / 0.6088 GB, free: 40.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.8668, allocations: 0 / 0.6088 GB, free: 40.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003557/0.8703, allocations: 0.9531 MB / 0.6097 GB, free: 39.24 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.005898/0.8762, allocations: 5.612 MB / 0.6152 GB, free: 33.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006596/0.8828, allocations: 4.864 MB / 0.6199 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.8828, allocations: 0 / 0.6199 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.8856, allocations: 1.789 MB / 0.6217 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.8878, allocations: 391.2 kB / 0.6221 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05896/0.9468, allocations: 42.59 MB / 0.6636 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003463/0.9502, allocations: 2.904 MB / 0.6665 GB, free: 7.676 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003857/0.9541, allocations: 1.695 MB / 0.6681 GB, free: 5.977 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002244/0.9563, allocations: 1.604 MB / 0.6697 GB, free: 4.371 MB / 478.1 MB Notification: Performance of SimCode: time 1.373e-06/0.9563, allocations: 0 / 0.6697 GB, free: 4.371 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3454/1.302, allocations: 67.91 MB / 0.736 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.45/22.75, allocations: 5.109 kB / 0.736 GB, free: 181.3 MB / 0.5294 GB " [Timeout remaining time 637] (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 --stepSize=0.0019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.056845526909456]