Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001721/0.001721, allocations: 127.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002111/0.002111, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.115, allocations: 53.37 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.2427/0.3577, allocations: 7.636 MB / 434 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.364, allocations: 3.374 MB / 437.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.3652, allocations: 47.19 kB / 437.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.3673, allocations: 1.042 MB / 438.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.3709, allocations: 1.338 MB / 439.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.3724, allocations: 0.5467 MB / 440.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00462/0.3771, allocations: 2.619 MB / 443 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.379, allocations: 1.195 MB / 444.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.3807, allocations: 0.8417 MB / 445 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.3827, allocations: 1.263 MB / 446.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004839/0.3832, allocations: 147.7 kB / 446.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.3854, allocations: 0.9241 MB / 447.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.3867, allocations: 1.069 MB / 448.4 MB, free: 2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.3885, allocations: 1.245 MB / 449.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005713/0.3942, allocations: 4.104 MB / 453.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3942, allocations: 0 / 453.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3942, allocations: 0 / 453.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.3944, allocations: 1.75 kB / 453.8 MB, free: 14.83 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.007518/0.4019, allocations: 3.073 MB / 456.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4019, allocations: 10.81 kB / 456.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008444/0.4028, allocations: 459.7 kB / 457.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006074/0.4089, allocations: 1.602 MB / 458.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/0.4133, allocations: 1.605 MB / 460.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.4135, allocations: 127.6 kB / 460.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005536/0.414, allocations: 161.4 kB / 460.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.4261, allocations: 6.533 MB / 467.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.868e-05/0.4261, allocations: 32.12 kB / 467.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.4264, allocations: 79.39 kB / 467.4 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002804/0.4292, allocations: 1.475 MB / 468.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.441, allocations: 5.834 MB / 474.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03509/0.4761, allocations: 25.69 MB / 0.4887 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006178/0.4823, allocations: 2.464 MB / 0.4911 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.4842, allocations: 1.133 MB / 0.4922 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009401/0.4936, allocations: 4.826 MB / 0.4969 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.4936, allocations: 46.5 kB / 0.497 GB, free: 12.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 5.63e-06/0.4936, allocations: 3.938 kB / 0.497 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02768/0.5213, allocations: 9.917 MB / 0.5067 GB, free: 2.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.5214, allocations: 145 kB / 0.5068 GB, free: 2.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005507/0.5269, allocations: 2.715 MB / 0.5094 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003168/0.5272, allocations: 33.7 kB / 0.5095 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001977/0.5292, allocations: 2.136 MB / 0.5116 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000755/0.53, allocations: 452.6 kB / 0.512 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001948/0.5319, allocations: 0.8299 MB / 0.5128 GB, free: 11.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5321, allocations: 301.1 kB / 0.5131 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/0.5349, allocations: 1.442 MB / 0.5145 GB, free: 10.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005047/0.5399, allocations: 4.069 MB / 0.5185 GB, free: 4.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008286/0.5482, allocations: 5.944 MB / 0.5243 GB, free: 13.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/0.5483, allocations: 28 kB / 0.5243 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01492/0.5632, allocations: 6.007 MB / 0.5302 GB, free: 7.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.5634, allocations: 54.44 kB / 0.5302 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001693/0.5635, allocations: 92 kB / 0.5303 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/0.5662, allocations: 0.8204 MB / 0.5311 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003337/0.5695, allocations: 0.9404 MB / 0.532 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006977/0.5765, allocations: 4.661 MB / 0.5366 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/0.5803, allocations: 239.7 kB / 0.5368 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008578/0.5811, allocations: 260 kB / 0.5371 GB, free: 368 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (498): * Single equations (assignments): 494 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003381/0.5845, allocations: 1.376 MB / 0.5384 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006515/0.5852, allocations: 238.4 kB / 0.5386 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/0.5903, allocations: 2.114 MB / 0.5407 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/0.5903, allocations: 16 kB / 0.5407 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.5903, allocations: 4 kB / 0.5407 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.5903, allocations: 7.969 kB / 0.5407 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.6026, allocations: 5.063 MB / 0.5457 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.6026, allocations: 4 kB / 0.5457 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/0.6035, allocations: 156.3 kB / 0.5458 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.6058, allocations: 0.6834 MB / 0.5465 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.606, allocations: 25.17 kB / 0.5465 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005926/0.6119, allocations: 4.137 MB / 0.5505 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6119, allocations: 7.969 kB / 0.5506 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00721/0.6191, allocations: 4.068 MB / 0.5545 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008001/0.6199, allocations: 291.4 kB / 0.5548 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005713/0.6205, allocations: 16 kB / 0.5548 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.6218, allocations: 67.89 kB / 0.5549 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.622, allocations: 64.3 kB / 0.5549 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.6222, allocations: 35.98 kB / 0.555 GB, free: 13.72 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003781/0.6259, allocations: 1.693 MB / 0.5566 GB, free: 12.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6259, allocations: 0 / 0.5566 GB, free: 12.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004087/0.63, allocations: 0.6638 MB / 0.5573 GB, free: 11.35 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008118/0.6381, allocations: 4.734 MB / 0.5619 GB, free: 6.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006252/0.6444, allocations: 3.347 MB / 0.5652 GB, free: 3.227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6444, allocations: 1.062 kB / 0.5652 GB, free: 3.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.646, allocations: 0.9615 MB / 0.5661 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.6483, allocations: 264.4 kB / 0.5664 GB, free: 2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05782/0.7061, allocations: 29.9 MB / 0.5956 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003572/0.7097, allocations: 2.232 MB / 0.5977 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003339/0.713, allocations: 1.319 MB / 0.599 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/0.7151, allocations: 1.101 MB / 0.6001 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of SimCode: time 1.173e-06/0.7151, allocations: 4 kB / 0.6001 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3169/1.032, allocations: 44.97 MB / 0.644 GB, free: 159.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.19/19.22, allocations: 18.72 kB / 0.644 GB, free: 159.1 MB / 0.5137 GB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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: 21.95689070795197]