Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009529/0.0009529, 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.0009366/0.0009366, allocations: 174 kB / 23.95 MB, free: 0.6133 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.9364/0.9364, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2512/0.2512, allocations: 32.78 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.909e-05, allocations: 4.109 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3263/0.3263, allocations: 154.6 MB / 0.5803 GB, free: 10.04 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004807/0.3311, allocations: 4.91 MB / 0.5851 GB, free: 5.121 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.3315, allocations: 31.69 kB / 0.5851 GB, free: 5.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006821/0.3322, allocations: 317.8 kB / 0.5854 GB, free: 4.777 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.3347, allocations: 1.39 MB / 0.5868 GB, free: 3.383 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.3364, allocations: 1.1 MB / 0.5878 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.3379, allocations: 1.878 MB / 0.5897 GB, free: 424 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.3383, allocations: 394 kB / 0.59 GB, free: 24 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.34, allocations: 1.347 MB / 0.5914 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008331/0.3408, allocations: 0.7365 MB / 0.5921 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.023e-05/0.3409, allocations: 64 kB / 0.5921 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009953/0.3419, allocations: 0.5538 MB / 0.5927 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.3421, allocations: 283.1 kB / 0.5929 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.3423, allocations: 283.3 kB / 0.5932 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.3438, allocations: 1.387 MB / 0.5946 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3439, allocations: 0 / 0.5946 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3439, allocations: 0 / 0.5946 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.3439, allocations: 0 / 0.5946 GB, free: 11.37 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.3455, allocations: 1.041 MB / 0.5956 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3456, allocations: 15.97 kB / 0.5956 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.875e-05/0.3457, allocations: 100 kB / 0.5957 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004477/0.3461, allocations: 143.4 kB / 0.5958 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.3467, allocations: 469.5 kB / 0.5963 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.912e-05/0.3468, allocations: 159.8 kB / 0.5964 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.3469, allocations: 44 kB / 0.5965 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009348/0.3478, allocations: 1.136 MB / 0.5976 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3478, allocations: 7.922 kB / 0.5976 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.3479, allocations: 24 kB / 0.5976 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.3479, allocations: 40.98 kB / 0.5977 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006878/0.3486, allocations: 0.6243 MB / 0.5983 GB, free: 7.332 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.002735/0.3513, allocations: 3.297 MB / 0.6015 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.3517, allocations: 332.7 kB / 0.6018 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.3519, allocations: 161.3 kB / 0.602 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-05/0.3519, allocations: 12.28 kB / 0.602 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.352, allocations: 44.56 kB / 0.602 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.282e-06/0.352, allocations: 0 / 0.602 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003421/0.3554, allocations: 1.613 MB / 0.6036 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.3555, allocations: 140.5 kB / 0.6037 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.356, allocations: 0.6249 MB / 0.6043 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.356, allocations: 37.7 kB / 0.6044 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.3562, allocations: 367.8 kB / 0.6047 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.3563, allocations: 146.8 kB / 0.6049 GB, free: 356 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.3565, allocations: 166.6 kB / 0.605 GB, free: 184 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3566, allocations: 370.8 kB / 0.6054 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.3568, allocations: 197.9 kB / 0.6056 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.3573, allocations: 0.5958 MB / 0.6061 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/0.3579, allocations: 0.7448 MB / 0.6069 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3579, allocations: 0 / 0.6069 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009983/0.3589, allocations: 0.8856 MB / 0.6077 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3589, allocations: 15.98 kB / 0.6077 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3589, allocations: 12.03 kB / 0.6078 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/0.3597, allocations: 311.5 kB / 0.6081 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3599, allocations: 123.8 kB / 0.6082 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007405/0.3606, allocations: 0.937 MB / 0.6091 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.361, allocations: 31.98 kB / 0.6091 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.361, allocations: 67.11 kB / 0.6092 GB, free: 11.57 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.0002136/0.3612, allocations: 254.8 kB / 0.6094 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.3613, allocations: 67.58 kB / 0.6095 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009467/0.3623, allocations: 0.8574 MB / 0.6103 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3623, allocations: 4 kB / 0.6103 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3623, allocations: 2.5 kB / 0.6103 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3623, allocations: 7.984 kB / 0.6103 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.3635, allocations: 1.153 MB / 0.6115 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3635, allocations: 0 / 0.6115 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.364, allocations: 203.8 kB / 0.6117 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.428e-05/0.364, allocations: 33.02 kB / 0.6117 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.3641, allocations: 20 kB / 0.6117 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.3655, allocations: 2.668 MB / 0.6143 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3655, allocations: 0 / 0.6143 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.3662, allocations: 0.8317 MB / 0.6151 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.3664, allocations: 115.5 kB / 0.6152 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.3664, allocations: 8 kB / 0.6152 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3666, allocations: 19.98 kB / 0.6153 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3667, allocations: 39.88 kB / 0.6153 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.3667, allocations: 44.48 kB / 0.6153 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003403/0.3671, allocations: 435.2 kB / 0.6158 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3671, allocations: 4 kB / 0.6158 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006395/0.3677, allocations: 259.7 kB / 0.616 GB, free: 4.223 MB / 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.001401/0.3691, allocations: 1.554 MB / 0.6175 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00072/0.3698, allocations: 0.5312 MB / 0.618 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3698, allocations: 0 / 0.618 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.3704, allocations: 410.9 kB / 0.6184 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008922/0.3713, allocations: 378.9 kB / 0.6188 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/0.3771, allocations: 6.256 MB / 0.6249 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3773, allocations: 332.7 kB / 0.6252 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006533/0.378, allocations: 462.2 kB / 0.6257 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.3783, allocations: 288.4 kB / 0.6259 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/0.3783, allocations: 0 / 0.6259 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1916/0.5699, allocations: 25.68 MB / 0.651 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.832, allocations: 12.58 kB / 0.651 GB, free: 165.2 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.005145131610334]