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.001966/0.001966, allocations: 123 kB / 17.79 MB, free: 5.246 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.002435/0.002435, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.3157/0.3157, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 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 0.001947/0.001947, allocations: 67.91 kB / 0.491 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1212, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4959/0.6171, allocations: 178.7 MB / 0.7299 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008463/0.6256, allocations: 5.357 MB / 0.7352 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007583/0.6263, allocations: 27.75 kB / 0.7352 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.6273, allocations: 318 kB / 0.7355 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.6311, allocations: 1.362 MB / 0.7368 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.6338, allocations: 1.049 MB / 0.7379 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002543/0.6364, allocations: 1.856 MB / 0.7397 GB, free: 4.656 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007/0.6371, allocations: 405.4 kB / 0.7401 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.6395, allocations: 1.109 MB / 0.7411 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.6409, allocations: 0.7977 MB / 0.7419 GB, free: 2.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.641, allocations: 64 kB / 0.742 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.6425, allocations: 0.6396 MB / 0.7426 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.6429, allocations: 263.2 kB / 0.7429 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.6434, allocations: 394.2 kB / 0.7432 GB, free: 1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.6453, allocations: 1.312 MB / 0.7445 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6453, allocations: 0 / 0.7445 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6453, allocations: 0 / 0.7445 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.6453, allocations: 4 kB / 0.7445 GB, free: 15.68 MB / 0.5606 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.002533/0.6479, allocations: 1.121 MB / 0.7456 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.6479, allocations: 8.031 kB / 0.7456 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.648, allocations: 98.52 kB / 0.7457 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/0.6489, allocations: 143.4 kB / 0.7458 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009328/0.6498, allocations: 0.5318 MB / 0.7464 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.65, allocations: 104.4 kB / 0.7465 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.6501, allocations: 51.98 kB / 0.7465 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.6515, allocations: 0.8213 MB / 0.7473 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.6515, allocations: 0 / 0.7473 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/0.6516, allocations: 23.94 kB / 0.7473 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.6516, allocations: 40.92 kB / 0.7474 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.6528, allocations: 0.6243 MB / 0.748 GB, free: 11.93 MB / 0.5606 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.005187/0.658, allocations: 3.933 MB / 0.7518 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.6586, allocations: 341.8 kB / 0.7522 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.659, allocations: 165.8 kB / 0.7523 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.6591, allocations: 93.36 kB / 0.7524 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.617e-05/0.6592, allocations: 42.83 kB / 0.7524 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.935e-06/0.6592, allocations: 3.938 kB / 0.7524 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006133/0.6653, allocations: 1.678 MB / 0.7541 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.6654, allocations: 140.5 kB / 0.7542 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/0.6662, allocations: 0.6172 MB / 0.7548 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.6663, allocations: 41.64 kB / 0.7549 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.6666, allocations: 367.8 kB / 0.7552 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.6667, allocations: 154.7 kB / 0.7554 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.667, allocations: 154.6 kB / 0.7555 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.6672, allocations: 378.8 kB / 0.7559 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.6676, allocations: 201.9 kB / 0.7561 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.6682, allocations: 0.5125 MB / 0.7566 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.6693, allocations: 0.7477 MB / 0.7573 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6693, allocations: 4 kB / 0.7573 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001784/0.6711, allocations: 0.88 MB / 0.7582 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.6712, allocations: 12 kB / 0.7582 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6712, allocations: 11.94 kB / 0.7582 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.6728, allocations: 314.3 kB / 0.7585 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.6732, allocations: 127.8 kB / 0.7586 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.6746, allocations: 0.9283 MB / 0.7595 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.6751, allocations: 23.98 kB / 0.7595 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.6752, allocations: 68 kB / 0.7596 GB, free: 15.3 MB / 0.5762 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.0003795/0.6756, allocations: 249.4 kB / 0.7598 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.6757, allocations: 75.64 kB / 0.7599 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.6775, allocations: 0.8583 MB / 0.7607 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.6775, allocations: 4 kB / 0.7607 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.6775, allocations: 0 / 0.7607 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.6775, allocations: 7.922 kB / 0.7608 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.6798, allocations: 1.458 MB / 0.7622 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6798, allocations: 4.938 kB / 0.7622 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.6809, allocations: 211.7 kB / 0.7624 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.947e-05/0.681, allocations: 25.03 kB / 0.7624 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.681, allocations: 27.98 kB / 0.7624 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.6835, allocations: 2.875 MB / 0.7652 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6835, allocations: 4.031 kB / 0.7652 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.6849, allocations: 0.823 MB / 0.7661 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.6853, allocations: 192.6 kB / 0.7662 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.6854, allocations: 8 kB / 0.7662 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.6858, allocations: 15.98 kB / 0.7663 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.6859, allocations: 51.89 kB / 0.7663 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.686, allocations: 43.98 kB / 0.7663 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006133/0.6866, allocations: 439 kB / 0.7668 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6866, allocations: 0 / 0.7668 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009422/0.6875, allocations: 251.8 kB / 0.767 GB, free: 7.215 MB / 0.5762 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.00246/0.69, allocations: 1.551 MB / 0.7685 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.6913, allocations: 0.5298 MB / 0.769 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6913, allocations: 0 / 0.769 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.6924, allocations: 412 kB / 0.7694 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.6942, allocations: 373.5 kB / 0.7698 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009752/0.704, allocations: 6.322 MB / 0.776 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.7046, allocations: 0.9376 MB / 0.7769 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001131/0.7058, allocations: 459.7 kB / 0.7773 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.7063, allocations: 291.3 kB / 0.7776 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.7063, allocations: 3.938 kB / 0.7776 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06405/0.7703, allocations: 24.48 MB / 0.8015 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.22, allocations: 11.88 kB / 0.8015 GB, free: 3.676 MB / 0.6075 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/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: 17.769307560054585]