Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 96.52 kB / 15.68 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.0009529/0.0009531, allocations: 174.8 kB / 16.56 MB, free: 6.375 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.521/1.521, allocations: 205.4 MB / 222.7 MB, free: 5.633 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.3652/0.3652, allocations: 43.53 MB / 314.5 MB, free: 8.77 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.0004935/0.0004937, allocations: 16 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 58.85 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2343/0.3432, allocations: 34.49 MB / 477.2 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.3485, allocations: 4.137 MB / 481.4 MB, free: 27.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008747/0.3494, allocations: 28.59 kB / 481.4 MB, free: 27.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.3503, allocations: 266.8 kB / 481.7 MB, free: 27.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.352, allocations: 0.6911 MB / 482.4 MB, free: 27.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.3537, allocations: 0.696 MB / 483.1 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.355, allocations: 1.024 MB / 484.1 MB, free: 26.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.3555, allocations: 381.4 kB / 484.5 MB, free: 26.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1194/0.4749, allocations: 72.37 MB / 0.5438 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02294/0.4979, allocations: 13.32 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.4982, allocations: 32 kB / 0.5568 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03034/0.5286, allocations: 18.47 MB / 0.5748 GB, free: 9.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005073/0.5291, allocations: 211.4 kB / 0.575 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.5295, allocations: 169.3 kB / 0.5752 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.5309, allocations: 0.7596 MB / 0.5759 GB, free: 7.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5309, allocations: 0 / 0.5759 GB, free: 7.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5309, allocations: 0 / 0.5759 GB, free: 7.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.418e-05/0.5309, allocations: 4 kB / 0.5759 GB, free: 7.938 MB / 446.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.002273/0.5332, allocations: 0.9228 MB / 0.5768 GB, free: 6.969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5333, allocations: 12.02 kB / 0.5769 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.5337, allocations: 83.16 kB / 0.5769 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.5348, allocations: 0.4926 MB / 0.5774 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.5349, allocations: 104.4 kB / 0.5775 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.535, allocations: 51.11 kB / 0.5776 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.5363, allocations: 0.8104 MB / 0.5784 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.5364, allocations: 3.938 kB / 0.5784 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.5364, allocations: 27.98 kB / 0.5784 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/0.5365, allocations: 40.97 kB / 0.5784 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.5376, allocations: 0.6439 MB / 0.5791 GB, free: 4.578 MB / 446.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.004949/0.5425, allocations: 4.243 MB / 0.5832 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.5434, allocations: 419.9 kB / 0.5836 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004881/0.5439, allocations: 0.4989 MB / 0.5841 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.5439, allocations: 38.89 kB / 0.5841 GB, free: 14.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.5439, allocations: 0 / 0.5841 GB, free: 14.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003141/0.5471, allocations: 1.522 MB / 0.5856 GB, free: 13.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.5472, allocations: 136.5 kB / 0.5857 GB, free: 13.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.5479, allocations: 0.5653 MB / 0.5863 GB, free: 12.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.5479, allocations: 37.7 kB / 0.5863 GB, free: 12.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.5482, allocations: 355 kB / 0.5867 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5483, allocations: 165.6 kB / 0.5868 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.5483, allocations: 16 kB / 0.5868 GB, free: 12.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5485, allocations: 374.8 kB / 0.5872 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.5489, allocations: 217.9 kB / 0.5874 GB, free: 11.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.5494, allocations: 0.5162 MB / 0.5879 GB, free: 10.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.5499, allocations: 324.5 kB / 0.5882 GB, free: 10.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5499, allocations: 4 kB / 0.5882 GB, free: 10.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001867/0.5518, allocations: 0.9606 MB / 0.5892 GB, free: 9.559 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.5519, allocations: 8 kB / 0.5892 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.5519, allocations: 12 kB / 0.5892 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.553, allocations: 270.5 kB / 0.5894 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.5534, allocations: 119.8 kB / 0.5896 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009732/0.5544, allocations: 0.8722 MB / 0.5904 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.5549, allocations: 48.03 kB / 0.5905 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.555, allocations: 32 kB / 0.5905 GB, free: 8.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003519/0.5554, allocations: 241.5 kB / 0.5907 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.5555, allocations: 71.14 kB / 0.5908 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.5568, allocations: 0.7138 MB / 0.5915 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5568, allocations: 4 kB / 0.5915 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5568, allocations: 0 / 0.5915 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.5569, allocations: 12.02 kB / 0.5915 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.559, allocations: 1.411 MB / 0.5929 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.559, allocations: 5.281 kB / 0.5929 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009317/0.56, allocations: 191.7 kB / 0.5931 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002903/0.5603, allocations: 60.78 kB / 0.5931 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.5603, allocations: 19.95 kB / 0.5931 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.5626, allocations: 2.792 MB / 0.5959 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5627, allocations: 8.156 kB / 0.5959 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.5642, allocations: 1.074 MB / 0.5969 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/0.5645, allocations: 220.2 kB / 0.5971 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5647, allocations: 11.94 kB / 0.5971 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.5651, allocations: 27.98 kB / 0.5972 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.5652, allocations: 43.84 kB / 0.5972 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.5652, allocations: 23.92 kB / 0.5972 GB, free: 0.793 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.5657, allocations: 394.8 kB / 0.5976 GB, free: 420 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5657, allocations: 0 / 0.5976 GB, free: 420 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008084/0.5665, allocations: 208 kB / 0.5978 GB, free: 212 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004834/0.567, allocations: 217.8 kB / 0.598 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.5682, allocations: 0.6047 MB / 0.5986 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.5682, allocations: 8 kB / 0.5986 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.5693, allocations: 482.2 kB / 0.5991 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.5707, allocations: 317.2 kB / 0.5994 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.5731, allocations: 1.666 MB / 0.601 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.5736, allocations: 0.9464 MB / 0.6019 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007285/0.5743, allocations: 209.1 kB / 0.6021 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.5745, allocations: 59.42 kB / 0.6022 GB, free: 11.66 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5745, allocations: 0 / 0.6022 GB, free: 11.66 MB / 478.1 MB Notification: Performance of Templates: time 0.02321/0.5977, allocations: 13.43 MB / 0.6153 GB, free: 14.26 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches