Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008751/0.0008749, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008491/0.0008491, allocations: 173.6 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3576/0.3576, allocations: 43.55 MB / 314.5 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005198, allocations: 12 kB / 383.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4075/0.5276, allocations: 142.6 MB / 0.5717 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.5378, allocations: 7.231 MB / 0.5787 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.5389, allocations: 27.75 kB / 0.5788 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009383/0.5399, allocations: 274.6 kB / 0.579 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004024/0.5439, allocations: 1.268 MB / 0.5803 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.5469, allocations: 0.9816 MB / 0.5812 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.5487, allocations: 1.051 MB / 0.5822 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006133/0.5493, allocations: 388.9 kB / 0.5826 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.5511, allocations: 0.7441 MB / 0.5833 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.5521, allocations: 0.5567 MB / 0.5839 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.5523, allocations: 36 kB / 0.5839 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.5539, allocations: 0.6243 MB / 0.5845 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.5541, allocations: 211.4 kB / 0.5847 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.5543, allocations: 169.3 kB / 0.5849 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.5555, allocations: 0.9855 MB / 0.5858 GB, free: 14.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5555, allocations: 0 / 0.5858 GB, free: 14.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5555, allocations: 0 / 0.5858 GB, free: 14.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.5555, allocations: 3.938 kB / 0.5859 GB, free: 14.62 MB / 462.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.002062/0.5576, allocations: 0.9969 MB / 0.5868 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5576, allocations: 12.02 kB / 0.5868 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007605/0.5584, allocations: 127.1 kB / 0.587 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008078/0.5592, allocations: 496.6 kB / 0.5874 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.5593, allocations: 100.4 kB / 0.5875 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/0.5594, allocations: 48 kB / 0.5876 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.5606, allocations: 0.8097 MB / 0.5884 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.5606, allocations: 3.938 kB / 0.5884 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/0.5607, allocations: 31.94 kB / 0.5884 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.5608, allocations: 32.98 kB / 0.5884 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009755/0.5617, allocations: 0.6321 MB / 0.589 GB, free: 11.17 MB / 462.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.004286/0.566, allocations: 3.951 MB / 0.5929 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.5666, allocations: 351.6 kB / 0.5932 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.023e-05/0.5667, allocations: 24.92 kB / 0.5933 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.5667, allocations: 42.84 kB / 0.5933 GB, free: 6.547 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.5667, allocations: 0 / 0.5933 GB, free: 6.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.00529/0.572, allocations: 1.673 MB / 0.5949 GB, free: 4.809 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.5721, allocations: 132.5 kB / 0.5951 GB, free: 4.648 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.5729, allocations: 0.6133 MB / 0.5957 GB, free: 4.027 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.5729, allocations: 33.7 kB / 0.5957 GB, free: 3.988 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.5732, allocations: 355 kB / 0.596 GB, free: 3.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.5733, allocations: 145.9 kB / 0.5962 GB, free: 3.492 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.5734, allocations: 16 kB / 0.5962 GB, free: 3.477 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5736, allocations: 374.8 kB / 0.5965 GB, free: 3.102 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.5739, allocations: 205.8 kB / 0.5967 GB, free: 2.898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.5745, allocations: 0.5047 MB / 0.5972 GB, free: 2.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.5749, allocations: 287.8 kB / 0.5975 GB, free: 1.969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5749, allocations: 4 kB / 0.5975 GB, free: 1.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001404/0.5763, allocations: 0.8802 MB / 0.5984 GB, free: 1.074 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.5764, allocations: 8 kB / 0.5984 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.5764, allocations: 12 kB / 0.5984 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.5778, allocations: 321.1 kB / 0.5987 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.5782, allocations: 127.8 kB / 0.5988 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.5792, allocations: 0.9256 MB / 0.5997 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/0.5798, allocations: 47.98 kB / 0.5998 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.5799, allocations: 64 kB / 0.5998 GB, free: 15.55 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003842/0.5803, allocations: 251 kB / 0.6001 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5804, allocations: 71.16 kB / 0.6001 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.5819, allocations: 0.6821 MB / 0.6008 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.5819, allocations: 4 kB / 0.6008 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5819, allocations: 11.02 kB / 0.6008 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5819, allocations: 7.984 kB / 0.6008 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.5838, allocations: 1.258 MB / 0.6021 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5838, allocations: 4 kB / 0.6021 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.5848, allocations: 207.8 kB / 0.6023 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.585, allocations: 32.91 kB / 0.6023 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.585, allocations: 12 kB / 0.6023 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.5873, allocations: 2.703 MB / 0.6049 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5874, allocations: 3.938 kB / 0.6049 GB, free: 9.941 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.5888, allocations: 0.8466 MB / 0.6058 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.5891, allocations: 180.3 kB / 0.6059 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.5892, allocations: 12 kB / 0.606 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.5896, allocations: 23.97 kB / 0.606 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.5897, allocations: 43.95 kB / 0.606 GB, free: 8.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.5898, allocations: 43.98 kB / 0.6061 GB, free: 8.723 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005376/0.5903, allocations: 427 kB / 0.6065 GB, free: 8.309 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.92e-07/0.5903, allocations: 0 / 0.6065 GB, free: 8.309 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00105/0.5914, allocations: 296 kB / 0.6068 GB, free: 8.02 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008793/0.5922, allocations: 380.9 kB / 0.6071 GB, free: 7.648 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.5933, allocations: 0.5383 MB / 0.6076 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5933, allocations: 0 / 0.6076 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009285/0.5943, allocations: 415.5 kB / 0.608 GB, free: 6.695 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5957, allocations: 328.5 kB / 0.6083 GB, free: 6.379 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.5977, allocations: 1.536 MB / 0.6098 GB, free: 4.805 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.5983, allocations: 0.9455 MB / 0.6108 GB, free: 3.832 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.5993, allocations: 273.9 kB / 0.611 GB, free: 3.562 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.5996, allocations: 99.41 kB / 0.6111 GB, free: 3.465 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5996, allocations: 0 / 0.6111 GB, free: 3.465 MB / 478.1 MB Notification: Performance of Templates: time 0.02687/0.6265, allocations: 17.09 MB / 0.6278 GB, free: 2.426 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches