Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.0009194/0.0009194, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009015/0.0009015, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9412/0.9412, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1358/0.1358, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.546e-05, allocations: 14.02 kB / 406.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3129/0.313, allocations: 156.4 MB / 0.55 GB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.3174, allocations: 5.287 MB / 0.5552 GB, free: 2.922 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.3177, allocations: 26.53 kB / 0.5552 GB, free: 2.906 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.3183, allocations: 313 kB / 0.5555 GB, free: 2.738 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.3207, allocations: 1.633 MB / 0.5571 GB, free: 1.875 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3225, allocations: 1.274 MB / 0.5584 GB, free: 1.262 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3236, allocations: 1.89 MB / 0.5602 GB, free: 252 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.324, allocations: 398 kB / 0.5606 GB, free: 15.97 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.3257, allocations: 1.499 MB / 0.5621 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008216/0.3265, allocations: 0.7214 MB / 0.5628 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-05/0.3266, allocations: 61.31 kB / 0.5628 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009575/0.3275, allocations: 0.7535 MB / 0.5636 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.3277, allocations: 287 kB / 0.5638 GB, free: 14.1 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.3279, allocations: 288.6 kB / 0.5641 GB, free: 13.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3293, allocations: 1.527 MB / 0.5656 GB, free: 12.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3293, allocations: 6.094 kB / 0.5656 GB, free: 12.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3293, allocations: 0 / 0.5656 GB, free: 12.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3293, allocations: 0 / 0.5656 GB, free: 12.98 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001858/0.3311, allocations: 1.073 MB / 0.5666 GB, free: 12.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3312, allocations: 7.438 kB / 0.5667 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.3313, allocations: 100.2 kB / 0.5668 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004727/0.3318, allocations: 144.4 kB / 0.5669 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.3324, allocations: 480.3 kB / 0.5673 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.3325, allocations: 160.8 kB / 0.5675 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.3326, allocations: 48.66 kB / 0.5675 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/0.3335, allocations: 1.166 MB / 0.5687 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.3335, allocations: 0 / 0.5687 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.3336, allocations: 30.8 kB / 0.5687 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.3336, allocations: 35.45 kB / 0.5687 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.3344, allocations: 0.6198 MB / 0.5694 GB, free: 10.14 MB / 458.7 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.002864/0.3372, allocations: 3.316 MB / 0.5726 GB, free: 7.367 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.3376, allocations: 342.3 kB / 0.5729 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3378, allocations: 157.1 kB / 0.5731 GB, free: 7.105 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.338, allocations: 135.5 kB / 0.5732 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3381, allocations: 37.81 kB / 0.5732 GB, free: 7.004 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.492e-06/0.3381, allocations: 0 / 0.5732 GB, free: 7.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.003082/0.3412, allocations: 1.593 MB / 0.5748 GB, free: 6.062 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.3412, allocations: 134 kB / 0.5749 GB, free: 5.906 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.3417, allocations: 0.6313 MB / 0.5755 GB, free: 5.527 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.3417, allocations: 36.17 kB / 0.5756 GB, free: 5.488 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.3419, allocations: 373.8 kB / 0.5759 GB, free: 5.156 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.342, allocations: 149.6 kB / 0.5761 GB, free: 5.027 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.3421, allocations: 154.3 kB / 0.5762 GB, free: 4.941 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3423, allocations: 377.1 kB / 0.5766 GB, free: 4.582 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.3425, allocations: 209 kB / 0.5768 GB, free: 4.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.3429, allocations: 0.5945 MB / 0.5774 GB, free: 3.867 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.3436, allocations: 0.7439 MB / 0.5781 GB, free: 3.121 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3436, allocations: 4 kB / 0.5781 GB, free: 3.117 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009358/0.3445, allocations: 0.8783 MB / 0.5789 GB, free: 2.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3445, allocations: 8 kB / 0.5789 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3445, allocations: 8 kB / 0.579 GB, free: 2.215 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007435/0.3453, allocations: 325.3 kB / 0.5793 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.3455, allocations: 127.8 kB / 0.5794 GB, free: 1.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007446/0.3462, allocations: 0.9309 MB / 0.5803 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.3465, allocations: 28 kB / 0.5803 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.3465, allocations: 63.98 kB / 0.5804 GB, free: 0.7227 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.3467, allocations: 243.7 kB / 0.5806 GB, free: 488 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.3468, allocations: 75.52 kB / 0.5807 GB, free: 412 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008603/0.3477, allocations: 0.6795 MB / 0.5814 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3477, allocations: 4 kB / 0.5814 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3477, allocations: 1.219 kB / 0.5814 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3477, allocations: 4 kB / 0.5814 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.349, allocations: 1.215 MB / 0.5825 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.349, allocations: 0 / 0.5825 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.3495, allocations: 215.7 kB / 0.5828 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.673e-05/0.3496, allocations: 20.84 kB / 0.5828 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.3496, allocations: 19.98 kB / 0.5828 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.3509, allocations: 2.662 MB / 0.5854 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3509, allocations: 0 / 0.5854 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.3516, allocations: 0.8154 MB / 0.5862 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.3518, allocations: 119.5 kB / 0.5863 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.3518, allocations: 11.98 kB / 0.5863 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.352, allocations: 16 kB / 0.5863 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.3521, allocations: 43.88 kB / 0.5864 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.3521, allocations: 39.98 kB / 0.5864 GB, free: 10.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000326/0.3525, allocations: 439 kB / 0.5868 GB, free: 9.785 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3525, allocations: 0 / 0.5868 GB, free: 9.785 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005683/0.353, allocations: 303.5 kB / 0.5871 GB, free: 9.488 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.001502/0.3545, allocations: 1.64 MB / 0.5887 GB, free: 7.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.3552, allocations: 0.5266 MB / 0.5892 GB, free: 7.293 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3552, allocations: 0 / 0.5892 GB, free: 7.293 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.3557, allocations: 408.1 kB / 0.5896 GB, free: 6.883 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.3566, allocations: 371.6 kB / 0.59 GB, free: 6.543 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/0.3619, allocations: 6.226 MB / 0.5961 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.3621, allocations: 336.7 kB / 0.5964 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004952/0.3626, allocations: 268.8 kB / 0.5966 GB, free: 15.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.3629, allocations: 276.4 kB / 0.5969 GB, free: 15.04 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3629, allocations: 0 / 0.5969 GB, free: 15.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.3963, allocations: 26.8 MB / 0.6231 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.436, allocations: 19.92 kB / 0.6231 GB, free: 4.188 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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: 10.651575249619782]