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.001497/0.001497, allocations: 202.4 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.6 MB / 243.1 MB, free: 14.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000722/0.000722, allocations: 99.44 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1707/0.1707, allocations: 44.84 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002246/0.0002246, allocations: 7.984 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09012, allocations: 62.96 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3276/0.4177, allocations: 159.9 MB / 0.6715 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006341/0.4241, allocations: 5.111 MB / 0.6765 GB, free: 8.41 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008028/0.4249, allocations: 23.75 kB / 0.6765 GB, free: 8.387 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008454/0.4258, allocations: 262.4 kB / 0.6767 GB, free: 8.129 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.003113/0.4289, allocations: 1.165 MB / 0.6779 GB, free: 6.961 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.4311, allocations: 0.8293 MB / 0.6787 GB, free: 6.141 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.4335, allocations: 2.261 MB / 0.6809 GB, free: 3.875 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000808/0.4343, allocations: 375.9 kB / 0.6812 GB, free: 3.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.4363, allocations: 0.9068 MB / 0.6821 GB, free: 2.59 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.4377, allocations: 0.7395 MB / 0.6828 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.4379, allocations: 35.98 kB / 0.6829 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.4391, allocations: 460.8 kB / 0.6833 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.4394, allocations: 231.3 kB / 0.6835 GB, free: 1.137 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.4397, allocations: 165.3 kB / 0.6837 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.4408, allocations: 0.9291 MB / 0.6846 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4408, allocations: 0 / 0.6846 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4409, allocations: 4 kB / 0.6846 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.618e-05/0.4409, allocations: 0 / 0.6846 GB, free: 36 kB / 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.002053/0.443, allocations: 0.9543 MB / 0.6855 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.443, allocations: 12.03 kB / 0.6856 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008128/0.4438, allocations: 142.9 kB / 0.6857 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/0.4446, allocations: 488.6 kB / 0.6862 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.4447, allocations: 100.4 kB / 0.6862 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.4448, allocations: 51.98 kB / 0.6863 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.446, allocations: 0.8136 MB / 0.6871 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4461, allocations: 3.938 kB / 0.6871 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.4461, allocations: 27.98 kB / 0.6871 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.4462, allocations: 40.92 kB / 0.6872 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009998/0.4472, allocations: 0.6321 MB / 0.6878 GB, free: 12.61 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.004419/0.4516, allocations: 3.933 MB / 0.6916 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.4522, allocations: 351.6 kB / 0.692 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.4525, allocations: 173.3 kB / 0.6921 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.4526, allocations: 89.38 kB / 0.6922 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.4526, allocations: 43.34 kB / 0.6922 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.4526, allocations: 3.938 kB / 0.6923 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.005114/0.4578, allocations: 1.667 MB / 0.6939 GB, free: 6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.4578, allocations: 132.5 kB / 0.694 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.4585, allocations: 0.6094 MB / 0.6946 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.4586, allocations: 33.7 kB / 0.6946 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.4588, allocations: 366.8 kB / 0.695 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.4589, allocations: 142 kB / 0.6951 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.459, allocations: 16 kB / 0.6951 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4592, allocations: 382.7 kB / 0.6955 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.4595, allocations: 193.9 kB / 0.6957 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.4601, allocations: 0.5125 MB / 0.6962 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.4605, allocations: 300.3 kB / 0.6965 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.4605, allocations: 4 kB / 0.6965 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001283/0.4618, allocations: 0.8758 MB / 0.6973 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4618, allocations: 14.03 kB / 0.6973 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4619, allocations: 8 kB / 0.6974 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.4632, allocations: 329.4 kB / 0.6977 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.4636, allocations: 119.8 kB / 0.6978 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.4647, allocations: 0.9365 MB / 0.6987 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.4653, allocations: 47.95 kB / 0.6987 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/0.4654, allocations: 63.98 kB / 0.6988 GB, free: 0.7227 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.0003463/0.4658, allocations: 250.1 kB / 0.699 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.4659, allocations: 67.23 kB / 0.6991 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.4676, allocations: 0.8662 MB / 0.7 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.4676, allocations: 11.98 kB / 0.7 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4676, allocations: 4 kB / 0.7 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.4676, allocations: 0 / 0.7 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.4695, allocations: 1.448 MB / 0.7014 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4695, allocations: 7.938 kB / 0.7014 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.4706, allocations: 207.8 kB / 0.7016 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.611e-05/0.4707, allocations: 28.78 kB / 0.7016 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.4707, allocations: 24.17 kB / 0.7016 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.4726, allocations: 2.676 MB / 0.7042 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4727, allocations: 0 / 0.7042 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.4738, allocations: 0.8219 MB / 0.7051 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.4741, allocations: 192.2 kB / 0.7052 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.4741, allocations: 12.06 kB / 0.7052 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.4746, allocations: 31.91 kB / 0.7053 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.4747, allocations: 43.89 kB / 0.7053 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/0.4747, allocations: 43.94 kB / 0.7054 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004939/0.4752, allocations: 431 kB / 0.7058 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4752, allocations: 0 / 0.7058 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008761/0.4761, allocations: 259.9 kB / 0.706 GB, free: 8.852 MB / 0.5105 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.0007349/0.4769, allocations: 294 kB / 0.7063 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.4779, allocations: 0.5426 MB / 0.7068 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.478, allocations: 0 / 0.7068 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008935/0.4789, allocations: 415.8 kB / 0.7072 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.4804, allocations: 338.2 kB / 0.7075 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.4825, allocations: 1.617 MB / 0.7091 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.483, allocations: 0.9261 MB / 0.71 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.4835, allocations: 127.4 kB / 0.7102 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.4835, allocations: 0 / 0.7102 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of Templates: time 0.2037/0.6872, allocations: 16.34 MB / 0.7261 GB, free: 177.2 MB / 0.5105 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