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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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.2257/0.2257, allocations: 44.91 MB / 349.6 MB, free: 1.711 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001923/0.001923, allocations: 71.7 kB / 491.8 MB, free: 29.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.121, allocations: 64.26 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5045/0.6255, allocations: 175.8 MB / 0.7147 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009316/0.6348, allocations: 5.367 MB / 0.7199 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008524/0.6356, allocations: 19.88 kB / 0.72 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.6368, allocations: 330 kB / 0.7203 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.6405, allocations: 1.344 MB / 0.7216 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.6433, allocations: 1.053 MB / 0.7226 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002394/0.6457, allocations: 1.848 MB / 0.7244 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006335/0.6463, allocations: 413.4 kB / 0.7248 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.6484, allocations: 1.082 MB / 0.7259 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.6497, allocations: 0.8061 MB / 0.7267 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.6498, allocations: 60 kB / 0.7267 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.6512, allocations: 0.6281 MB / 0.7273 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.6515, allocations: 267.2 kB / 0.7276 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.6519, allocations: 394.2 kB / 0.728 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.6537, allocations: 1.316 MB / 0.7292 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.6537, allocations: 4 kB / 0.7292 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6537, allocations: 0 / 0.7292 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.6537, allocations: 0 / 0.7292 GB, free: 15.92 MB / 0.5294 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.002295/0.656, allocations: 1.117 MB / 0.7303 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.656, allocations: 12.03 kB / 0.7303 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.6562, allocations: 98.45 kB / 0.7304 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008183/0.657, allocations: 139.5 kB / 0.7306 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/0.658, allocations: 0.5357 MB / 0.7311 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.6581, allocations: 104.4 kB / 0.7312 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.6582, allocations: 59.86 kB / 0.7313 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.6595, allocations: 0.8094 MB / 0.732 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.6595, allocations: 3.938 kB / 0.732 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/0.6596, allocations: 27.94 kB / 0.7321 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.6597, allocations: 40.97 kB / 0.7321 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.6608, allocations: 0.6204 MB / 0.7327 GB, free: 12.17 MB / 0.5294 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.004906/0.6657, allocations: 3.959 MB / 0.7366 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.6663, allocations: 339.6 kB / 0.7369 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.6666, allocations: 169.2 kB / 0.7371 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.6667, allocations: 89.38 kB / 0.7372 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.6667, allocations: 42.84 kB / 0.7372 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.6667, allocations: 0 / 0.7372 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005349/0.6721, allocations: 1.674 MB / 0.7388 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/0.6722, allocations: 140.5 kB / 0.739 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.6729, allocations: 0.6134 MB / 0.7396 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.673, allocations: 29.7 kB / 0.7396 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.6733, allocations: 371.8 kB / 0.7399 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.6735, allocations: 150.7 kB / 0.7401 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.6737, allocations: 162.6 kB / 0.7402 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.6739, allocations: 378.8 kB / 0.7406 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.6742, allocations: 197.8 kB / 0.7408 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.6749, allocations: 0.5203 MB / 0.7413 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.6759, allocations: 0.7445 MB / 0.742 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6759, allocations: 8 kB / 0.742 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001489/0.6774, allocations: 0.8775 MB / 0.7429 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.6774, allocations: 12.03 kB / 0.7429 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.6774, allocations: 15.94 kB / 0.7429 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.6788, allocations: 314.5 kB / 0.7432 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.6792, allocations: 123.8 kB / 0.7433 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.6803, allocations: 0.9381 MB / 0.7443 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.6808, allocations: 31.98 kB / 0.7443 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.23e-05/0.6809, allocations: 64 kB / 0.7443 GB, free: 15.52 MB / 0.545 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.0003408/0.6812, allocations: 245.5 kB / 0.7446 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.6814, allocations: 71.58 kB / 0.7446 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.6829, allocations: 0.867 MB / 0.7455 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.683, allocations: 4 kB / 0.7455 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.683, allocations: 7.938 kB / 0.7455 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.683, allocations: 7.922 kB / 0.7455 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.6851, allocations: 1.458 MB / 0.7469 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.6851, allocations: 8.188 kB / 0.7469 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.6861, allocations: 207.8 kB / 0.7471 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.915e-05/0.6862, allocations: 24.84 kB / 0.7472 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.6863, allocations: 19.98 kB / 0.7472 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.6886, allocations: 2.873 MB / 0.75 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6886, allocations: 4.156 kB / 0.75 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.6898, allocations: 0.8257 MB / 0.7508 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.6902, allocations: 192.6 kB / 0.751 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.6903, allocations: 12 kB / 0.751 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.6907, allocations: 15.98 kB / 0.751 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.6908, allocations: 43.89 kB / 0.7511 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.6908, allocations: 43.98 kB / 0.7511 GB, free: 8.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005401/0.6914, allocations: 439 kB / 0.7515 GB, free: 7.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6914, allocations: 8.062 kB / 0.7515 GB, free: 7.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008955/0.6923, allocations: 251.7 kB / 0.7518 GB, free: 7.422 MB / 0.545 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.002189/0.6945, allocations: 1.556 MB / 0.7533 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.6956, allocations: 0.5307 MB / 0.7538 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6956, allocations: 0 / 0.7538 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009935/0.6966, allocations: 419.6 kB / 0.7542 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.6981, allocations: 372.7 kB / 0.7546 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008819/0.707, allocations: 6.325 MB / 0.7607 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.7075, allocations: 0.9338 MB / 0.7616 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001061/0.7086, allocations: 471.7 kB / 0.7621 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.7091, allocations: 287.3 kB / 0.7624 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.7091, allocations: 0 / 0.7624 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/0.769, allocations: 24.52 MB / 0.7863 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.78, allocations: 8.625 kB / 0.7863 GB, free: 3.809 MB / 0.5762 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.16991672804579]