Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001937/0.001937, allocations: 195.9 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 226.5 MB / 243.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008144/0.0008143, allocations: 103.5 kB / 295.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.305/0.305, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002696, allocations: 8 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2899, allocations: 62.95 MB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1995/0.4894, allocations: 159.9 MB / 0.6721 GB, free: 9.098 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006398/0.4959, allocations: 5.115 MB / 0.6771 GB, free: 3.969 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.4966, allocations: 27.75 kB / 0.6771 GB, free: 3.941 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007344/0.4973, allocations: 254.4 kB / 0.6773 GB, free: 3.691 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002933/0.5003, allocations: 1.216 MB / 0.6785 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.5024, allocations: 0.8543 MB / 0.6794 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.2537/0.7561, allocations: 2.256 MB / 0.6816 GB, free: 5.961 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009064/0.7571, allocations: 387.8 kB / 0.6819 GB, free: 5.938 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.7593, allocations: 0.9467 MB / 0.6829 GB, free: 5.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.7606, allocations: 0.7411 MB / 0.6836 GB, free: 5.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.7607, allocations: 36.78 kB / 0.6836 GB, free: 5.926 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.7619, allocations: 0.5029 MB / 0.6841 GB, free: 5.926 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.7621, allocations: 239.4 kB / 0.6843 GB, free: 5.926 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005769/0.7627, allocations: 377.8 kB / 0.6847 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008847/0.7636, allocations: 0.9458 MB / 0.6856 GB, free: 21.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7636, allocations: 0 / 0.6856 GB, free: 21.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7636, allocations: 0 / 0.6856 GB, free: 21.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.7637, allocations: 4.422 kB / 0.6856 GB, free: 21.87 MB / 0.4948 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.00174/0.7654, allocations: 0.9484 MB / 0.6866 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.7654, allocations: 12.72 kB / 0.6866 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007042/0.7662, allocations: 135 kB / 0.6867 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006774/0.7668, allocations: 0.5005 MB / 0.6872 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-05/0.767, allocations: 101.7 kB / 0.6873 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/0.767, allocations: 52.88 kB / 0.6873 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.7681, allocations: 0.8179 MB / 0.6881 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.7681, allocations: 5.75 kB / 0.6881 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.7682, allocations: 21.34 kB / 0.6882 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.7683, allocations: 38 kB / 0.6882 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009037/0.7692, allocations: 0.6262 MB / 0.6888 GB, free: 20.71 MB / 0.4948 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.003894/0.7731, allocations: 3.945 MB / 0.6927 GB, free: 18.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.7736, allocations: 353 kB / 0.693 GB, free: 18.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.7739, allocations: 170.7 kB / 0.6932 GB, free: 18.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.774, allocations: 92.2 kB / 0.6932 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.7741, allocations: 49.52 kB / 0.6933 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.7741, allocations: 0 / 0.6933 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.004871/0.7789, allocations: 1.659 MB / 0.6949 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.779, allocations: 135.7 kB / 0.695 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.7796, allocations: 0.6109 MB / 0.6956 GB, free: 17.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.7797, allocations: 35.08 kB / 0.6957 GB, free: 17.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.7799, allocations: 368.4 kB / 0.696 GB, free: 16.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.235e-05/0.78, allocations: 146.5 kB / 0.6962 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.78, allocations: 13.75 kB / 0.6962 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7802, allocations: 372 kB / 0.6965 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.7805, allocations: 200.7 kB / 0.6967 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.7809, allocations: 0.5146 MB / 0.6972 GB, free: 16.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.7817, allocations: 0.7413 MB / 0.6979 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7817, allocations: 3.312 kB / 0.6979 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001298/0.7831, allocations: 0.8723 MB / 0.6988 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.7831, allocations: 9.719 kB / 0.6988 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7831, allocations: 10 kB / 0.6988 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.7845, allocations: 323.2 kB / 0.6991 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.7848, allocations: 120.4 kB / 0.6992 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.7859, allocations: 0.9354 MB / 0.7002 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.7865, allocations: 48.02 kB / 0.7002 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.7866, allocations: 66.03 kB / 0.7003 GB, free: 15.08 MB / 0.4948 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 (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.0003551/0.787, allocations: 247.9 kB / 0.7005 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.7871, allocations: 73.84 kB / 0.7006 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.7889, allocations: 0.8651 MB / 0.7014 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.7889, allocations: 4.25 kB / 0.7014 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.789, allocations: 0.9375 kB / 0.7014 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.789, allocations: 2.969 kB / 0.7014 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.7911, allocations: 1.452 MB / 0.7028 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.7911, allocations: 2.406 kB / 0.7028 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.7922, allocations: 215.2 kB / 0.703 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.492e-05/0.7923, allocations: 27.95 kB / 0.7031 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.7923, allocations: 20.8 kB / 0.7031 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.7941, allocations: 2.675 MB / 0.7057 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7941, allocations: 10.22 kB / 0.7057 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.7954, allocations: 0.8092 MB / 0.7065 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.7957, allocations: 193.3 kB / 0.7067 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/0.7958, allocations: 18.92 kB / 0.7067 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.7962, allocations: 23.52 kB / 0.7067 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.7963, allocations: 43.55 kB / 0.7068 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.7964, allocations: 42.97 kB / 0.7068 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005742/0.797, allocations: 426.6 kB / 0.7072 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.797, allocations: 0 / 0.7072 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009704/0.798, allocations: 259 kB / 0.7075 GB, free: 11.06 MB / 0.4948 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 (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.0007733/0.7988, allocations: 299.8 kB / 0.7078 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.7999, allocations: 0.5494 MB / 0.7083 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7999, allocations: 1.812 kB / 0.7083 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.8009, allocations: 413.9 kB / 0.7087 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.8026, allocations: 333.1 kB / 0.709 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.8047, allocations: 1.617 MB / 0.7106 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.8053, allocations: 0.928 MB / 0.7115 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.8058, allocations: 127.2 kB / 0.7116 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of SimCode: time 4.2e-07/0.8058, allocations: 0 / 0.7116 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of Templates: time 0.01908/0.8249, allocations: 16.35 MB / 0.7276 GB, free: 4.238 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches