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.001522/0.001522, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001569/0.001569, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.327/1.327, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 51.92 kB / 371.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2415, allocations: 52.19 MB / 423.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01262/0.2541, allocations: 10.53 MB / 434 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007186/0.2613, allocations: 3.875 MB / 437.8 MB, free: 96 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008395/0.2621, allocations: 75.62 kB / 437.9 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004052/0.2662, allocations: 2.344 MB / 440.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.2694, allocations: 1.735 MB / 442 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2706, allocations: 0.6122 MB / 442.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.2746, allocations: 3.458 MB / 446 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.2772, allocations: 2.447 MB / 448.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.2788, allocations: 1.386 MB / 449.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.2811, allocations: 1.947 MB / 451.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.2816, allocations: 296 kB / 452.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.2834, allocations: 1.186 MB / 453.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.285, allocations: 1.753 MB / 455.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001829/0.2869, allocations: 1.961 MB / 457 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006522/0.2934, allocations: 6.272 MB / 463.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2934, allocations: 0 / 463.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2934, allocations: 0 / 463.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.2935, allocations: 0 / 463.3 MB, free: 6.504 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.007624/0.3011, allocations: 4.277 MB / 467.6 MB, free: 2.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3012, allocations: 8.031 kB / 467.6 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.372e-05/0.3012, allocations: 97.75 kB / 467.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007807/0.302, allocations: 0.6408 MB / 468.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006419/0.3084, allocations: 1.866 MB / 470.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/0.3128, allocations: 2.316 MB / 472.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.313, allocations: 213.4 kB / 472.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007981/0.3138, allocations: 367.7 kB / 473.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.3283, allocations: 8.866 MB / 481.9 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-05/0.3284, allocations: 43.62 kB / 482 MB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003506/0.3287, allocations: 135.9 kB / 482.1 MB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002469/0.3312, allocations: 1.645 MB / 483.7 MB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.3464, allocations: 7.49 MB / 491.2 MB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04133/0.3877, allocations: 34.95 MB / 0.5138 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007861/0.3956, allocations: 2.894 MB / 0.5167 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.3974, allocations: 1.381 MB / 0.518 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008411/0.4058, allocations: 5.643 MB / 0.5235 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4058, allocations: 43.22 kB / 0.5236 GB, free: 11.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 2.985e-06/0.4058, allocations: 7.938 kB / 0.5236 GB, free: 11.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.02508/0.4309, allocations: 11 MB / 0.5343 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.172/0.6029, allocations: 1.598 MB / 0.5359 GB, free: 108.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/0.6076, allocations: 3.548 MB / 0.5394 GB, free: 107.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002816/0.6078, allocations: 48.42 kB / 0.5394 GB, free: 107.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.609, allocations: 2.904 MB / 0.5422 GB, free: 106.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004503/0.6094, allocations: 0.5906 MB / 0.5428 GB, free: 105.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.6105, allocations: 1.114 MB / 0.5439 GB, free: 105.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.196e-05/0.6105, allocations: 301.1 kB / 0.5442 GB, free: 105.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.6124, allocations: 1.912 MB / 0.5461 GB, free: 104.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/0.6153, allocations: 5.359 MB / 0.5513 GB, free: 99.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005131/0.6204, allocations: 7.819 MB / 0.5589 GB, free: 92.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.831e-05/0.6204, allocations: 36 kB / 0.559 GB, free: 92.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01412/0.6346, allocations: 8.457 MB / 0.5672 GB, free: 84.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/0.6346, allocations: 56 kB / 0.5673 GB, free: 84.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008021/0.6427, allocations: 3.117 MB / 0.5703 GB, free: 81.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008204/0.6509, allocations: 1.861 MB / 0.5721 GB, free: 79.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.6539, allocations: 1.244 MB / 0.5733 GB, free: 78.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/0.6601, allocations: 5.847 MB / 0.5791 GB, free: 71.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003768/0.6639, allocations: 383.4 kB / 0.5794 GB, free: 71.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.6643, allocations: 344 kB / 0.5797 GB, free: 71.27 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.002025/0.6663, allocations: 1.84 MB / 0.5815 GB, free: 69.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.6667, allocations: 325.8 kB / 0.5819 GB, free: 69.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/0.671, allocations: 2.763 MB / 0.5846 GB, free: 66.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00357/0.6746, allocations: 2.344 MB / 0.5868 GB, free: 63.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6746, allocations: 3.938 kB / 0.5868 GB, free: 63.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6746, allocations: 7.984 kB / 0.5869 GB, free: 63.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009742/0.6843, allocations: 7.71 MB / 0.5944 GB, free: 56.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6843, allocations: 4 kB / 0.5944 GB, free: 56.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.6852, allocations: 231.7 kB / 0.5946 GB, free: 55.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/0.6878, allocations: 1.054 MB / 0.5956 GB, free: 54.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.204e-05/0.6878, allocations: 35.98 kB / 0.5957 GB, free: 54.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/0.6917, allocations: 5.077 MB / 0.6006 GB, free: 49.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005985/0.6923, allocations: 1.469 MB / 0.6021 GB, free: 47.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.6978, allocations: 4.972 MB / 0.6069 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.6983, allocations: 297.7 kB / 0.6072 GB, free: 42.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.6986, allocations: 28 kB / 0.6072 GB, free: 42.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6997, allocations: 127.8 kB / 0.6074 GB, free: 42.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.6999, allocations: 96.34 kB / 0.6074 GB, free: 42.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.371e-05/0.7, allocations: 47.58 kB / 0.6075 GB, free: 42.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002012/0.702, allocations: 2.191 MB / 0.6096 GB, free: 40.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.702, allocations: 0 / 0.6096 GB, free: 40.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003235/0.7053, allocations: 0.9492 MB / 0.6106 GB, free: 39.21 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.005755/0.711, allocations: 5.609 MB / 0.616 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006234/0.7172, allocations: 4.872 MB / 0.6208 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7172, allocations: 4.062 kB / 0.6208 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002782/0.72, allocations: 1.787 MB / 0.6225 GB, free: 26.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.7218, allocations: 393.7 kB / 0.6229 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05518/0.777, allocations: 42.58 MB / 0.6645 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003257/0.7803, allocations: 2.908 MB / 0.6673 GB, free: 7.641 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003685/0.784, allocations: 1.695 MB / 0.669 GB, free: 5.941 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/0.7861, allocations: 1.608 MB / 0.6706 GB, free: 4.332 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7861, allocations: 0 / 0.6706 GB, free: 4.332 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.434/1.22, allocations: 67.93 MB / 0.7369 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.58/21.8, allocations: 8.844 kB / 0.7369 GB, free: 181.1 MB / 0.5294 GB " [Timeout remaining time 638] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.545940304000396]