Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.001636/0.001636, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002018/0.002018, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 52.39 kB / 347.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2798, allocations: 49.17 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.03013/0.31, allocations: 24.88 MB / 421.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003849/0.3138, allocations: 2.508 MB / 423.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.314, allocations: 11.62 kB / 423.8 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.3146, allocations: 161.5 kB / 423.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006794/0.3152, allocations: 333.4 kB / 424.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.3178, allocations: 1.056 MB / 425.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.3189, allocations: 0.9123 MB / 426.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.3191, allocations: 86.09 kB / 426.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005076/0.3242, allocations: 3.116 MB / 429.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.3247, allocations: 297.2 kB / 429.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.3248, allocations: 30.75 kB / 429.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006616/0.3255, allocations: 255.5 kB / 430 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.3256, allocations: 101.4 kB / 430.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.3258, allocations: 192.1 kB / 430.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007806/0.3266, allocations: 0.5793 MB / 430.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3266, allocations: 0 / 430.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3266, allocations: 0 / 430.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3266, allocations: 0 / 430.9 MB, free: 0.7891 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008907/0.3275, allocations: 0.5636 MB / 431.4 MB, free: 196 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3275, allocations: 15.98 kB / 431.5 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.546e-05/0.3276, allocations: 58.73 kB / 431.5 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.328, allocations: 48.73 kB / 431.6 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.3285, allocations: 249.7 kB / 431.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.3285, allocations: 25.03 kB / 431.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.3285, allocations: 24.38 kB / 431.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.3291, allocations: 335.4 kB / 432.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3291, allocations: 4 kB / 432.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.3291, allocations: 12 kB / 432.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.3291, allocations: 8 kB / 432.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.3295, allocations: 189.5 kB / 432.4 MB, free: 15.17 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.3315, allocations: 1.633 MB / 434 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.3319, allocations: 182.4 kB / 434.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.332, allocations: 72.83 kB / 434.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.259e-05/0.3321, allocations: 24.2 kB / 434.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3321, allocations: 38.56 kB / 434.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.893e-06/0.3321, allocations: 4 kB / 434.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002488/0.3346, allocations: 0.8721 MB / 435.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3346, allocations: 55.41 kB / 435.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.3349, allocations: 265.8 kB / 435.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.335, allocations: 33.64 kB / 435.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3351, allocations: 188.5 kB / 435.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.3352, allocations: 111 kB / 435.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.3353, allocations: 66.08 kB / 435.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3355, allocations: 342.8 kB / 436.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.3356, allocations: 88.72 kB / 436.3 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3359, allocations: 166.8 kB / 436.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.3363, allocations: 281.2 kB / 436.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3363, allocations: 0 / 436.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006245/0.3369, allocations: 377.8 kB / 437.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3369, allocations: 4 kB / 437.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3369, allocations: 4.312 kB / 437.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/0.3373, allocations: 96.78 kB / 437.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.3376, allocations: 71.84 kB / 437.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006171/0.3382, allocations: 0.6499 MB / 438 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.3384, allocations: 11.98 kB / 438 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.3384, allocations: 16 kB / 438 MB, free: 9.242 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.3386, allocations: 157.8 kB / 438.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.3387, allocations: 31.75 kB / 438.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.3394, allocations: 368.9 kB / 438.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3394, allocations: 11.94 kB / 438.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3394, allocations: 0 / 438.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006034/0.34, allocations: 0.5515 MB / 439.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.3412, allocations: 0.7104 MB / 439.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3412, allocations: 4 kB / 439.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3414, allocations: 31.97 kB / 439.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005335/0.3419, allocations: 116.7 kB / 440 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.3419, allocations: 8 kB / 440 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005986/0.3425, allocations: 0.6381 MB / 440.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3425, allocations: 0 / 440.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.3433, allocations: 485.7 kB / 441.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.3434, allocations: 23.89 kB / 441.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.3435, allocations: 4 kB / 441.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.3437, allocations: 11.98 kB / 441.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3437, allocations: 15.97 kB / 441.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.3437, allocations: 15.98 kB / 441.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.344, allocations: 201.3 kB / 441.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.344, allocations: 0 / 441.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000482/0.3444, allocations: 111.9 kB / 441.5 MB, free: 5.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.3458, allocations: 1.057 MB / 442.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.3463, allocations: 231.5 kB / 442.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3463, allocations: 0 / 442.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.3466, allocations: 124.5 kB / 442.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009627/0.3476, allocations: 164.7 kB / 443 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.3519, allocations: 3.1 MB / 446.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.3523, allocations: 0.7606 MB / 446.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.3526, allocations: 67.17 kB / 446.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3527, allocations: 99.39 kB / 447 MB, free: 15.74 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3527, allocations: 0 / 447 MB, free: 15.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04424/0.397, allocations: 10.6 MB / 457.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.23, allocations: 15.8 kB / 457.7 MB, free: 5.066 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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: 15.660242412996013]