Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.001609/0.001609, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001421/0.001421, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.459/1.459, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.UserDefinedGravityField,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 51.91 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.272, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008894/0.2809, allocations: 6.789 MB / 429.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006052/0.2869, allocations: 3.135 MB / 432.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007197/0.2876, allocations: 47.81 kB / 432.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.2897, allocations: 1.008 MB / 433.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.2927, allocations: 1.378 MB / 434.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.2938, allocations: 0.5534 MB / 435.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.2969, allocations: 2.585 MB / 438.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.2984, allocations: 1.215 MB / 439.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.2994, allocations: 0.8524 MB / 440.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.3011, allocations: 1.222 MB / 441.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003147/0.3014, allocations: 151.9 kB / 441.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.303, allocations: 0.7877 MB / 442.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.304, allocations: 1.09 MB / 443.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.3049, allocations: 0.9119 MB / 444.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.3093, allocations: 4.147 MB / 448.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3094, allocations: 3.984 kB / 448.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.3094, allocations: 4 kB / 448.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-05/0.3094, allocations: 4 kB / 448.5 MB, free: 4.379 MB / 350.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.005158/0.3146, allocations: 3.005 MB / 451.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3146, allocations: 8.031 kB / 451.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005263/0.3151, allocations: 462.4 kB / 451.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/0.3205, allocations: 1.602 MB / 453.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.3242, allocations: 1.673 MB / 455.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3243, allocations: 127 kB / 455.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/0.3247, allocations: 155.9 kB / 455.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009941/0.3346, allocations: 6.534 MB / 462 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/0.3347, allocations: 31.7 kB / 462 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.3349, allocations: 87.89 kB / 462.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002575/0.3375, allocations: 1.468 MB / 463.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.3483, allocations: 5.818 MB / 469.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03159/0.3799, allocations: 24.74 MB / 494.1 MB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005446/0.3853, allocations: 2.02 MB / 496.2 MB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.3869, allocations: 1.129 MB / 497.3 MB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007678/0.3946, allocations: 4.291 MB / 0.4898 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3946, allocations: 38.56 kB / 0.4899 GB, free: 13.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.356e-06/0.3947, allocations: 4 kB / 0.4899 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02428/0.4189, allocations: 9.745 MB / 0.4994 GB, free: 3.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.318e-05/0.419, allocations: 140.9 kB / 0.4995 GB, free: 3.785 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/0.423, allocations: 2.886 MB / 0.5023 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/0.4232, allocations: 41.7 kB / 0.5024 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/0.4248, allocations: 2.136 MB / 0.5045 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000487/0.4253, allocations: 444.7 kB / 0.5049 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.4263, allocations: 0.8376 MB / 0.5057 GB, free: 13.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4265, allocations: 305.1 kB / 0.506 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/0.4288, allocations: 1.437 MB / 0.5074 GB, free: 11.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/0.4332, allocations: 4.057 MB / 0.5114 GB, free: 6.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008491/0.4417, allocations: 5.954 MB / 0.5172 GB, free: 15.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-05/0.4418, allocations: 28 kB / 0.5172 GB, free: 14.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01201/0.4538, allocations: 6.007 MB / 0.5231 GB, free: 8.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.153e-05/0.4538, allocations: 45.16 kB / 0.5231 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/0.454, allocations: 92 kB / 0.5232 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.4565, allocations: 0.824 MB / 0.524 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/0.4596, allocations: 0.9435 MB / 0.5249 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006553/0.4662, allocations: 4.524 MB / 0.5293 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/0.4695, allocations: 235.6 kB / 0.5296 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005268/0.47, allocations: 260 kB / 0.5298 GB, free: 1.949 MB / 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.00232/0.4723, allocations: 1.372 MB / 0.5312 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/0.4729, allocations: 246.4 kB / 0.5314 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.4773, allocations: 2.118 MB / 0.5335 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.4773, allocations: 12 kB / 0.5335 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.4773, allocations: 11.94 kB / 0.5335 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.4773, allocations: 7.984 kB / 0.5335 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00995/0.4873, allocations: 4.789 MB / 0.5382 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.4873, allocations: 0 / 0.5382 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.4881, allocations: 163.7 kB / 0.5383 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.4902, allocations: 0.6718 MB / 0.539 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.4903, allocations: 23.98 kB / 0.539 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005902/0.4962, allocations: 4.015 MB / 0.5429 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4962, allocations: 3.938 kB / 0.5429 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00698/0.5032, allocations: 4.069 MB / 0.5469 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/0.5039, allocations: 218.2 kB / 0.5471 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2183/0.7222, allocations: 13.48 kB / 0.5471 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.7234, allocations: 74.3 kB / 0.5472 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.7237, allocations: 57.05 kB / 0.5472 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.7238, allocations: 34.19 kB / 0.5473 GB, free: 122.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002785/0.7266, allocations: 1.698 MB / 0.5489 GB, free: 122.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7266, allocations: 0 / 0.5489 GB, free: 122.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002976/0.7295, allocations: 0.6693 MB / 0.5496 GB, free: 122.2 MB / 462.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.005765/0.7353, allocations: 4.744 MB / 0.5542 GB, free: 120.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00404/0.7393, allocations: 3.335 MB / 0.5575 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7393, allocations: 0 / 0.5575 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.7404, allocations: 0.9711 MB / 0.5584 GB, free: 118.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.7418, allocations: 254.3 kB / 0.5587 GB, free: 118.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/0.7732, allocations: 29.97 MB / 0.5879 GB, free: 88.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.7747, allocations: 1.674 MB / 0.5896 GB, free: 86.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002293/0.777, allocations: 1.318 MB / 0.5909 GB, free: 85.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.778, allocations: 1.097 MB / 0.5919 GB, free: 84.49 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.778, allocations: 1.531 kB / 0.5919 GB, free: 84.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07711/0.8551, allocations: 45.16 MB / 0.636 GB, free: 39.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.94, allocations: 13.75 kB / 0.636 GB, free: 39.79 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 17.56273400085047]