Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008995/0.0008995, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009334/0.0009334, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8922/0.8922, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2426/0.2426, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.93e-05, allocations: 2.281 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.289/0.289, allocations: 154.6 MB / 0.5828 GB, free: 5.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004722/0.2937, allocations: 4.917 MB / 0.5876 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004959/0.2942, allocations: 27.75 kB / 0.5876 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.2949, allocations: 309.9 kB / 0.5879 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.2974, allocations: 1.401 MB / 0.5893 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.2993, allocations: 1.084 MB / 0.5903 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.3009, allocations: 1.883 MB / 0.5922 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.3014, allocations: 398 kB / 0.5926 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.3032, allocations: 1.344 MB / 0.5939 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008773/0.304, allocations: 0.7403 MB / 0.5946 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.3041, allocations: 64 kB / 0.5947 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009847/0.3051, allocations: 0.546 MB / 0.5952 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.3053, allocations: 287.1 kB / 0.5955 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.3056, allocations: 283.3 kB / 0.5957 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.3071, allocations: 1.383 MB / 0.5971 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3071, allocations: 7.938 kB / 0.5971 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3071, allocations: 0 / 0.5971 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.3071, allocations: 4 kB / 0.5971 GB, free: 7.305 MB / 0.4948 GB 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.001646/0.3088, allocations: 1.031 MB / 0.5981 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3088, allocations: 12.03 kB / 0.5981 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.3089, allocations: 106.5 kB / 0.5982 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.3094, allocations: 139.4 kB / 0.5984 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.31, allocations: 476.6 kB / 0.5988 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.3101, allocations: 155.8 kB / 0.599 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.3102, allocations: 48 kB / 0.599 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009619/0.3111, allocations: 1.148 MB / 0.6001 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.3112, allocations: 4 kB / 0.6001 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.3112, allocations: 20 kB / 0.6001 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.3113, allocations: 40.92 kB / 0.6002 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/0.3119, allocations: 0.6165 MB / 0.6008 GB, free: 3.277 MB / 0.4948 GB 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.00298/0.3149, allocations: 3.296 MB / 0.604 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3153, allocations: 342.3 kB / 0.6043 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.3155, allocations: 163.7 kB / 0.6045 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.3156, allocations: 12.28 kB / 0.6045 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3156, allocations: 46.77 kB / 0.6045 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.093e-06/0.3156, allocations: 0 / 0.6045 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003324/0.3189, allocations: 1.608 MB / 0.6061 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.319, allocations: 136.5 kB / 0.6062 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.3195, allocations: 0.6326 MB / 0.6069 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3195, allocations: 33.7 kB / 0.6069 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.3197, allocations: 367.9 kB / 0.6072 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.702e-05/0.3198, allocations: 150.7 kB / 0.6074 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.32, allocations: 158.6 kB / 0.6075 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3201, allocations: 378.8 kB / 0.6079 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.3203, allocations: 197.9 kB / 0.6081 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.3207, allocations: 0.5911 MB / 0.6087 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.3213, allocations: 0.7554 MB / 0.6094 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3214, allocations: 4 kB / 0.6094 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001081/0.3224, allocations: 0.8803 MB / 0.6103 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3225, allocations: 12 kB / 0.6103 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3225, allocations: 10.34 kB / 0.6103 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007693/0.3232, allocations: 316 kB / 0.6106 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.3235, allocations: 123.7 kB / 0.6107 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007995/0.3243, allocations: 0.9338 MB / 0.6116 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.3246, allocations: 28 kB / 0.6117 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.3246, allocations: 69.55 kB / 0.6117 GB, free: 7.508 MB / 0.5105 GB 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.0002589/0.3249, allocations: 249.4 kB / 0.612 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.325, allocations: 67.58 kB / 0.612 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.326, allocations: 0.8716 MB / 0.6129 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.326, allocations: 11.98 kB / 0.6129 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.326, allocations: 0 / 0.6129 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.326, allocations: 0 / 0.6129 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.3273, allocations: 1.141 MB / 0.614 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3273, allocations: 0 / 0.614 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.3279, allocations: 215.9 kB / 0.6142 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.037e-05/0.3279, allocations: 24.84 kB / 0.6142 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.3279, allocations: 16 kB / 0.6142 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.3292, allocations: 2.661 MB / 0.6168 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3292, allocations: 0 / 0.6168 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009735/0.3302, allocations: 0.8315 MB / 0.6177 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.3304, allocations: 111.5 kB / 0.6178 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.3305, allocations: 16 kB / 0.6178 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3307, allocations: 15.98 kB / 0.6178 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.3307, allocations: 40.09 kB / 0.6178 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.3308, allocations: 49.11 kB / 0.6179 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000353/0.3311, allocations: 447 kB / 0.6183 GB, free: 424 kB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3311, allocations: 0 / 0.6183 GB, free: 424 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006349/0.3318, allocations: 251.8 kB / 0.6185 GB, free: 172 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.001383/0.3331, allocations: 1.546 MB / 0.62 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007564/0.3339, allocations: 0.5305 MB / 0.6206 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3339, allocations: 4 kB / 0.6206 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.3345, allocations: 407.8 kB / 0.621 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.3354, allocations: 375.7 kB / 0.6213 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/0.3414, allocations: 6.253 MB / 0.6274 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.3416, allocations: 332.7 kB / 0.6277 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007647/0.3424, allocations: 463.1 kB / 0.6282 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.3427, allocations: 284.4 kB / 0.6285 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/0.3427, allocations: 4 kB / 0.6285 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1844/0.5271, allocations: 25.69 MB / 0.6535 GB, free: 161 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/8.982, allocations: 7.859 kB / 0.6536 GB, free: 160.9 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 11.037026817910373]