Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002424/0.002424, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 51.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 53.38 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008651/0.2571, allocations: 6.751 MB / 437.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006542/0.2636, allocations: 3.145 MB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009835/0.2646, allocations: 43.81 kB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.2668, allocations: 1.02 MB / 442.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.2702, allocations: 1.351 MB / 443.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.2715, allocations: 0.5379 MB / 443.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.2751, allocations: 2.617 MB / 446.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.2768, allocations: 1.222 MB / 447.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.2781, allocations: 0.8523 MB / 448.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.2796, allocations: 1.199 MB / 449.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.28, allocations: 148 kB / 450 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.2815, allocations: 0.7877 MB / 450.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.2826, allocations: 1.079 MB / 451.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.2836, allocations: 0.8884 MB / 452.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.2883, allocations: 4.116 MB / 456.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2883, allocations: 0 / 456.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2883, allocations: 0 / 456.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.933e-05/0.2884, allocations: 0 / 456.9 MB, free: 12.76 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.005997/0.2944, allocations: 2.997 MB / 459.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2944, allocations: 8.031 kB / 459.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005693/0.295, allocations: 466.4 kB / 460.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005365/0.3004, allocations: 1.598 MB / 461.9 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/0.3041, allocations: 1.559 MB / 463.5 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.3043, allocations: 123 kB / 463.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004188/0.3047, allocations: 163.8 kB / 463.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009984/0.3147, allocations: 6.534 MB / 470.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.656e-05/0.3147, allocations: 27.75 kB / 470.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.315, allocations: 79.89 kB / 470.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/0.3175, allocations: 1.476 MB / 471.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.3278, allocations: 5.818 MB / 477.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.3594, allocations: 24.72 MB / 0.4906 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005446/0.3649, allocations: 2.028 MB / 0.4926 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.3665, allocations: 1.129 MB / 0.4937 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008191/0.3747, allocations: 4.287 MB / 0.4979 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.3747, allocations: 46.55 kB / 0.4979 GB, free: 6.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.938e-06/0.3747, allocations: 0 / 0.4979 GB, free: 6.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02405/0.3988, allocations: 9.745 MB / 0.5075 GB, free: 12.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/0.3989, allocations: 137 kB / 0.5076 GB, free: 12.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00381/0.4027, allocations: 2.881 MB / 0.5104 GB, free: 9.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.4029, allocations: 33.7 kB / 0.5104 GB, free: 9.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.4046, allocations: 2.132 MB / 0.5125 GB, free: 7.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005102/0.4051, allocations: 444.7 kB / 0.5129 GB, free: 6.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.4061, allocations: 0.8415 MB / 0.5138 GB, free: 5.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4063, allocations: 301.1 kB / 0.5141 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.4085, allocations: 1.437 MB / 0.5155 GB, free: 4.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/0.4128, allocations: 4.069 MB / 0.5194 GB, free: 14.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007294/0.4201, allocations: 5.943 MB / 0.5252 GB, free: 7.535 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.938e-05/0.4202, allocations: 28 kB / 0.5253 GB, free: 7.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01181/0.432, allocations: 6.014 MB / 0.5311 GB, free: 1.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.4321, allocations: 48 kB / 0.5312 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.4322, allocations: 92 kB / 0.5313 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.4346, allocations: 0.8243 MB / 0.5321 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/0.4376, allocations: 0.9396 MB / 0.533 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006277/0.4438, allocations: 4.521 MB / 0.5374 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/0.4468, allocations: 243.8 kB / 0.5376 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004741/0.4472, allocations: 264 kB / 0.5379 GB, free: 10.45 MB / 462.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.00197/0.4492, allocations: 1.372 MB / 0.5392 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004114/0.4496, allocations: 238.3 kB / 0.5395 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.454, allocations: 2.118 MB / 0.5415 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.454, allocations: 19.98 kB / 0.5415 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.454, allocations: 7.984 kB / 0.5416 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.454, allocations: 7.922 kB / 0.5416 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009781/0.4638, allocations: 4.769 MB / 0.5462 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4638, allocations: 0 / 0.5462 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.4646, allocations: 163.8 kB / 0.5464 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.4667, allocations: 0.68 MB / 0.547 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-05/0.4668, allocations: 15.98 kB / 0.5471 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2164/0.6832, allocations: 4.022 MB / 0.551 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6832, allocations: 2.219 kB / 0.551 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005955/0.6891, allocations: 4.064 MB / 0.555 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/0.6897, allocations: 221.6 kB / 0.5552 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.69, allocations: 11.94 kB / 0.5552 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.6909, allocations: 71.61 kB / 0.5552 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.6911, allocations: 62.17 kB / 0.5553 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.6912, allocations: 34.77 kB / 0.5553 GB, free: 112.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002375/0.6936, allocations: 1.69 MB / 0.557 GB, free: 111.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6936, allocations: 0 / 0.557 GB, free: 111.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003092/0.6967, allocations: 0.6611 MB / 0.5576 GB, free: 111.8 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.005616/0.7023, allocations: 4.741 MB / 0.5623 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004475/0.7068, allocations: 3.348 MB / 0.5655 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.7068, allocations: 0 / 0.5655 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.7079, allocations: 0.9639 MB / 0.5665 GB, free: 107.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.7095, allocations: 252.6 kB / 0.5667 GB, free: 107 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/0.7405, allocations: 29.95 MB / 0.596 GB, free: 74.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.742, allocations: 1.666 MB / 0.5976 GB, free: 72.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002377/0.7444, allocations: 1.321 MB / 0.5989 GB, free: 71.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.7454, allocations: 1.097 MB / 0.5999 GB, free: 70.41 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7454, allocations: 0 / 0.5999 GB, free: 70.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/0.8491, allocations: 45.15 MB / 0.644 GB, free: 25.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.08, allocations: 3.938 kB / 0.644 GB, free: 25.73 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.689634214155376]