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.001432/0.001432, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001471/0.001471, allocations: 190 kB / 17.54 MB, free: 6.066 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.357/1.357, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 46.67 kB / 300.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09943, allocations: 49.44 MB / 349.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2401/0.3396, allocations: 38.41 MB / 388.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.3574, allocations: 8.43 MB / 396.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008364/0.3658, allocations: 166.3 kB / 396.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004922/0.3708, allocations: 2.208 MB / 398.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.3758, allocations: 1.574 MB / 400.5 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.3775, allocations: 0.584 MB / 401.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005915/0.3834, allocations: 3.494 MB / 404.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004919/0.3884, allocations: 3.21 MB / 407.8 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/0.3913, allocations: 1.388 MB / 409.2 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003305/0.3947, allocations: 2.004 MB / 411.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009628/0.3957, allocations: 292 kB / 411.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.3986, allocations: 1.151 MB / 412.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002379/0.401, allocations: 1.703 MB / 414.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00225/0.4032, allocations: 1.989 MB / 416.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00664/0.4099, allocations: 6.086 MB / 422.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4099, allocations: 0 / 422.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4099, allocations: 0 / 422.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001357/0.4101, allocations: 0 / 422.4 MB, free: 11.91 MB / 334.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.007378/0.4175, allocations: 4.242 MB / 426.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.4175, allocations: 12.03 kB / 426.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007288/0.4183, allocations: 0.6369 MB / 427.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/0.4243, allocations: 1.844 MB / 429.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/0.4282, allocations: 2.334 MB / 431.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.4283, allocations: 209.4 kB / 431.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007635/0.4291, allocations: 375.6 kB / 432 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.4423, allocations: 8.873 MB / 440.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.4425, allocations: 35.66 kB / 440.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004268/0.4429, allocations: 135.9 kB / 441.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002273/0.4452, allocations: 1.637 MB / 442.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.4596, allocations: 7.502 MB / 450.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04187/0.5015, allocations: 35.13 MB / 485.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.5095, allocations: 3.455 MB / 488.8 MB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.5114, allocations: 1.44 MB / 490.2 MB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009132/0.5205, allocations: 6.776 MB / 497 MB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.5206, allocations: 51.09 kB / 497 MB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.948e-06/0.5206, allocations: 0 / 497 MB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02551/0.5462, allocations: 11.11 MB / 0.4963 GB, free: 3.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001444/0.5476, allocations: 1.71 MB / 0.4979 GB, free: 1.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006234/0.5539, allocations: 3.536 MB / 0.5014 GB, free: 14.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003064/0.5542, allocations: 41.7 kB / 0.5014 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002346/0.5566, allocations: 2.786 MB / 0.5041 GB, free: 11.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008528/0.5575, allocations: 0.5749 MB / 0.5047 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/0.5596, allocations: 1.103 MB / 0.5058 GB, free: 9.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.5597, allocations: 301.1 kB / 0.5061 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/0.5627, allocations: 1.916 MB / 0.5079 GB, free: 7.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005667/0.5684, allocations: 5.353 MB / 0.5132 GB, free: 340 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009111/0.5775, allocations: 7.831 MB / 0.5208 GB, free: 6.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/0.5776, allocations: 32 kB / 0.5208 GB, free: 6.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.2187/0.7963, allocations: 8.431 MB / 0.5291 GB, free: 144.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.7965, allocations: 60.81 kB / 0.5291 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01009/0.8066, allocations: 3.125 MB / 0.5322 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009564/0.8161, allocations: 1.867 MB / 0.534 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003957/0.8201, allocations: 1.241 MB / 0.5352 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008105/0.8282, allocations: 6.051 MB / 0.5411 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004902/0.8332, allocations: 375.3 kB / 0.5415 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006099/0.8338, allocations: 345.8 kB / 0.5418 GB, free: 140.7 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.003025/0.8368, allocations: 1.861 MB / 0.5436 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004859/0.8373, allocations: 300.4 kB / 0.5439 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004726/0.8421, allocations: 2.764 MB / 0.5466 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003703/0.8458, allocations: 2.362 MB / 0.5489 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.8458, allocations: 3.969 kB / 0.5489 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.8458, allocations: 7.781 kB / 0.5489 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.8589, allocations: 7.848 MB / 0.5566 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.8589, allocations: 3.969 kB / 0.5566 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009939/0.8599, allocations: 222.8 kB / 0.5568 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.8625, allocations: 1.056 MB / 0.5578 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.8627, allocations: 37 kB / 0.5579 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004201/0.8669, allocations: 5.279 MB / 0.563 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006667/0.8676, allocations: 1.565 MB / 0.5646 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/0.8736, allocations: 4.963 MB / 0.5694 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/0.8743, allocations: 365.1 kB / 0.5698 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/0.8746, allocations: 29.92 kB / 0.5698 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.8758, allocations: 127.6 kB / 0.5699 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.876, allocations: 92.05 kB / 0.57 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/0.8761, allocations: 39.98 kB / 0.57 GB, free: 124.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002424/0.8786, allocations: 2.191 MB / 0.5722 GB, free: 122.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8786, allocations: 0 / 0.5722 GB, free: 122.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003878/0.8825, allocations: 0.9518 MB / 0.5731 GB, free: 121.4 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.006372/0.8888, allocations: 5.618 MB / 0.5786 GB, free: 115.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007845/0.8967, allocations: 5.657 MB / 0.5841 GB, free: 110.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.8967, allocations: 3.938 kB / 0.5841 GB, free: 110.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002915/0.8997, allocations: 2.019 MB / 0.5861 GB, free: 108 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.902, allocations: 386.1 kB / 0.5865 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06991/0.9719, allocations: 48.36 MB / 0.6337 GB, free: 52.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003648/0.9756, allocations: 2.909 MB / 0.6365 GB, free: 49.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003785/0.9794, allocations: 1.695 MB / 0.6382 GB, free: 47.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/0.9813, allocations: 1.608 MB / 0.6397 GB, free: 46.21 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.9813, allocations: 0 / 0.6397 GB, free: 46.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.025/2.006, allocations: 66.27 MB / 0.7045 GB, free: 154.4 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/2.006, allocations: 242.4 kB / 0.7047 GB, free: 154.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/5.439, allocations: 0.7031 kB / 0.7047 GB, free: 154.1 MB / 462.1 MB (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