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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 106.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002263/0.002263, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 44.17 MB / 336.1 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001351, allocations: 59.19 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4472/0.5724, allocations: 173.4 MB / 0.6269 GB, free: 3.742 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00751/0.5799, allocations: 5.495 MB / 0.6323 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009107/0.5809, allocations: 27.75 kB / 0.6323 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.5824, allocations: 270.5 kB / 0.6325 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0042/0.5867, allocations: 1.218 MB / 0.6337 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.5897, allocations: 0.9508 MB / 0.6347 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.593, allocations: 2.714 MB / 0.6373 GB, free: 9.066 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005665/0.5936, allocations: 401.3 kB / 0.6377 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.5959, allocations: 0.9651 MB / 0.6386 GB, free: 7.703 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.5972, allocations: 0.7667 MB / 0.6394 GB, free: 6.934 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.5973, allocations: 35.94 kB / 0.6394 GB, free: 6.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.5986, allocations: 0.5266 MB / 0.6399 GB, free: 6.371 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.5989, allocations: 243.2 kB / 0.6402 GB, free: 6.133 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.5993, allocations: 374.2 kB / 0.6405 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.6006, allocations: 1.27 MB / 0.6418 GB, free: 4.492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6006, allocations: 0 / 0.6418 GB, free: 4.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.6006, allocations: 0 / 0.6418 GB, free: 4.492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.6007, allocations: 4 kB / 0.6418 GB, free: 4.488 MB / 478.1 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.002196/0.6029, allocations: 1.11 MB / 0.6429 GB, free: 3.324 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6029, allocations: 11.97 kB / 0.6429 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.6037, allocations: 131 kB / 0.643 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007747/0.6045, allocations: 0.5003 MB / 0.6435 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.6046, allocations: 100.4 kB / 0.6436 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.877e-05/0.6047, allocations: 47.91 kB / 0.6436 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.606, allocations: 0.8291 MB / 0.6444 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.6061, allocations: 3.938 kB / 0.6444 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.6061, allocations: 23.98 kB / 0.6445 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/0.6062, allocations: 44.91 kB / 0.6445 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.6073, allocations: 0.6204 MB / 0.6451 GB, free: 0.8906 MB / 478.1 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.004319/0.6116, allocations: 3.973 MB / 0.649 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.6122, allocations: 351.6 kB / 0.6493 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.6125, allocations: 165.3 kB / 0.6495 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.6126, allocations: 89.38 kB / 0.6496 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.6127, allocations: 46.78 kB / 0.6496 GB, free: 11.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.6127, allocations: 0 / 0.6496 GB, free: 11.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005497/0.6182, allocations: 1.663 MB / 0.6512 GB, free: 10.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.6183, allocations: 140.5 kB / 0.6514 GB, free: 10.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/0.6189, allocations: 0.6133 MB / 0.652 GB, free: 9.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.619, allocations: 29.7 kB / 0.652 GB, free: 9.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.6193, allocations: 370.8 kB / 0.6523 GB, free: 9.059 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.6194, allocations: 146 kB / 0.6525 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.6196, allocations: 150.6 kB / 0.6526 GB, free: 8.762 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6198, allocations: 374.8 kB / 0.653 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.6201, allocations: 201.9 kB / 0.6532 GB, free: 8.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.6207, allocations: 0.5164 MB / 0.6537 GB, free: 7.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009387/0.6216, allocations: 0.7523 MB / 0.6544 GB, free: 6.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6217, allocations: 8 kB / 0.6544 GB, free: 6.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001452/0.6231, allocations: 0.8802 MB / 0.6553 GB, free: 5.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6231, allocations: 15.97 kB / 0.6553 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.6232, allocations: 12.88 kB / 0.6553 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.6246, allocations: 314.9 kB / 0.6556 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.625, allocations: 129.3 kB / 0.6557 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.6261, allocations: 0.927 MB / 0.6566 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.6267, allocations: 51.81 kB / 0.6567 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/0.6268, allocations: 60 kB / 0.6567 GB, free: 4.211 MB / 494.1 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.0003264/0.6271, allocations: 254.1 kB / 0.657 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.6272, allocations: 63.25 kB / 0.657 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.629, allocations: 0.8748 MB / 0.6579 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.629, allocations: 4 kB / 0.6579 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.629, allocations: 0 / 0.6579 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6291, allocations: 3.984 kB / 0.6579 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.6311, allocations: 1.461 MB / 0.6593 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6312, allocations: 0 / 0.6593 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.6322, allocations: 211.8 kB / 0.6595 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.843e-05/0.6323, allocations: 29.03 kB / 0.6596 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.6324, allocations: 16 kB / 0.6596 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.6344, allocations: 2.691 MB / 0.6622 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6344, allocations: 4.25 kB / 0.6622 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6356, allocations: 0.8167 MB / 0.663 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.6358, allocations: 188.2 kB / 0.6632 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.6359, allocations: 16 kB / 0.6632 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.6364, allocations: 19.98 kB / 0.6632 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.6365, allocations: 40.02 kB / 0.6633 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.6365, allocations: 43.98 kB / 0.6633 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005165/0.6371, allocations: 447 kB / 0.6637 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6371, allocations: 0 / 0.6637 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009201/0.638, allocations: 251.9 kB / 0.664 GB, free: 12.33 MB / 0.4981 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.0007898/0.6388, allocations: 288.9 kB / 0.6642 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.64, allocations: 0.5557 MB / 0.6648 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.64, allocations: 0 / 0.6648 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.6411, allocations: 418.7 kB / 0.6652 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.6427, allocations: 346.5 kB / 0.6655 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.6449, allocations: 1.567 MB / 0.6671 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.6455, allocations: 0.93 MB / 0.668 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001292/0.6468, allocations: 469.8 kB / 0.6684 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.6472, allocations: 107.4 kB / 0.6685 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.6472, allocations: 0 / 0.6685 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of Templates: time 0.02739/0.6746, allocations: 16.83 MB / 0.6849 GB, free: 6.926 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) 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) Reference file matches