Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 174.8 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 225.7 MB / 243.9 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009471/0.0009472, allocations: 87.78 kB / 295 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.415/0.415, allocations: 44.32 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 12 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 61.9 MB / 0.5128 GB, free: 37.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1875/0.5112, allocations: 168.4 MB / 0.6772 GB, free: 3.488 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.297/0.8082, allocations: 7.446 MB / 0.6845 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.8094, allocations: 24.84 kB / 0.6845 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.8103, allocations: 275.3 kB / 0.6848 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.8137, allocations: 1.213 MB / 0.686 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.8164, allocations: 0.9437 MB / 0.6869 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002819/0.8192, allocations: 2.712 MB / 0.6895 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005927/0.8198, allocations: 398 kB / 0.6899 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.8218, allocations: 0.979 MB / 0.6909 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.823, allocations: 0.7623 MB / 0.6916 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.682e-05/0.8231, allocations: 33.27 kB / 0.6916 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.8244, allocations: 0.5046 MB / 0.6921 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.8246, allocations: 226.5 kB / 0.6923 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003997/0.825, allocations: 402.9 kB / 0.6927 GB, free: 13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.8264, allocations: 1.252 MB / 0.694 GB, free: 12.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.8265, allocations: 0 / 0.694 GB, free: 12.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.8265, allocations: 0 / 0.694 GB, free: 12.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.8265, allocations: 0 / 0.694 GB, free: 12.93 MB / 490.7 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.001869/0.8284, allocations: 0.9541 MB / 0.6949 GB, free: 12.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.8284, allocations: 8.812 kB / 0.6949 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007619/0.8292, allocations: 139.6 kB / 0.695 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.8299, allocations: 0.4965 MB / 0.6955 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.83, allocations: 104.5 kB / 0.6956 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.8301, allocations: 56.14 kB / 0.6957 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.8312, allocations: 0.8136 MB / 0.6965 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.8313, allocations: 4 kB / 0.6965 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.8314, allocations: 30.8 kB / 0.6965 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/0.8314, allocations: 40.23 kB / 0.6965 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/0.8324, allocations: 0.6178 MB / 0.6971 GB, free: 11.73 MB / 490.7 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.003692/0.8361, allocations: 3.966 MB / 0.701 GB, free: 9.105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.8367, allocations: 353.2 kB / 0.7013 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.8369, allocations: 167.3 kB / 0.7015 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.8371, allocations: 95.39 kB / 0.7016 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.8371, allocations: 37.78 kB / 0.7016 GB, free: 8.938 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.8371, allocations: 0 / 0.7016 GB, free: 8.938 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005129/0.8422, allocations: 1.673 MB / 0.7033 GB, free: 8.414 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.8423, allocations: 133.3 kB / 0.7034 GB, free: 8.258 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/0.8431, allocations: 0.6051 MB / 0.704 GB, free: 8.121 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.8432, allocations: 35.48 kB / 0.704 GB, free: 8.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.8434, allocations: 370.1 kB / 0.7044 GB, free: 7.895 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.8436, allocations: 141.6 kB / 0.7045 GB, free: 7.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.8436, allocations: 14.62 kB / 0.7045 GB, free: 7.809 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8437, allocations: 381.8 kB / 0.7049 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.8441, allocations: 200 kB / 0.7051 GB, free: 7.492 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.8447, allocations: 0.5051 MB / 0.7056 GB, free: 7.098 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.8458, allocations: 0.7408 MB / 0.7063 GB, free: 6.719 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.8458, allocations: 5.656 kB / 0.7063 GB, free: 6.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001607/0.8474, allocations: 0.8806 MB / 0.7072 GB, free: 6.625 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.8475, allocations: 9.75 kB / 0.7072 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.8475, allocations: 14.72 kB / 0.7072 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.8492, allocations: 322.5 kB / 0.7075 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.8496, allocations: 124.1 kB / 0.7076 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.8509, allocations: 0.9248 MB / 0.7085 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.8515, allocations: 51.25 kB / 0.7086 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.8517, allocations: 66.75 kB / 0.7086 GB, free: 6.07 MB / 490.7 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.0003856/0.8521, allocations: 244.2 kB / 0.7089 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.8522, allocations: 72.45 kB / 0.7089 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.8545, allocations: 0.8636 MB / 0.7098 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.8545, allocations: 4.562 kB / 0.7098 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.8545, allocations: 5.859 kB / 0.7098 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.8545, allocations: 7.172 kB / 0.7098 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.857, allocations: 1.456 MB / 0.7112 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.857, allocations: 2.078 kB / 0.7112 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.8582, allocations: 210 kB / 0.7114 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.8583, allocations: 24.55 kB / 0.7114 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.8584, allocations: 20.22 kB / 0.7115 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.86, allocations: 2.687 MB / 0.7141 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.86, allocations: 2.375 kB / 0.7141 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.8614, allocations: 0.8197 MB / 0.7149 GB, free: 2.297 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.8618, allocations: 191.1 kB / 0.7151 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/0.8619, allocations: 8.969 kB / 0.7151 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.8624, allocations: 30.34 kB / 0.7151 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.8625, allocations: 40.61 kB / 0.7151 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.426e-05/0.8626, allocations: 46.64 kB / 0.7152 GB, free: 2.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006607/0.8633, allocations: 436.9 kB / 0.7156 GB, free: 2.066 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8633, allocations: 4 kB / 0.7156 GB, free: 2.062 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001181/0.8645, allocations: 251.9 kB / 0.7158 GB, free: 2.051 MB / 490.7 MB 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.0007955/0.8653, allocations: 311.2 kB / 0.7161 GB, free: 1.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.8667, allocations: 0.5517 MB / 0.7167 GB, free: 1.906 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8667, allocations: 1.062 kB / 0.7167 GB, free: 1.906 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009912/0.8677, allocations: 425.5 kB / 0.7171 GB, free: 1.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.8695, allocations: 350.5 kB / 0.7174 GB, free: 1.762 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.8719, allocations: 1.638 MB / 0.719 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.8725, allocations: 0.9273 MB / 0.7199 GB, free: 16.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001407/0.8739, allocations: 466.2 kB / 0.7204 GB, free: 16.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.8744, allocations: 115 kB / 0.7205 GB, free: 16.13 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.8744, allocations: 0 / 0.7205 GB, free: 16.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.0288/0.9032, allocations: 16.75 MB / 0.7368 GB, free: 9.762 MB / 0.4948 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches