Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009653, allocations: 88.19 kB / 15.7 MB, free: 460 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.001263/0.001263, allocations: 174.2 kB / 16.58 MB, free: 6.844 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.767/1.767, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.4478/0.4478, allocations: 43.58 MB / 314.6 MB, free: 9.039 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.0008099/0.0008099, allocations: 15.98 kB / 384 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1726, allocations: 58.86 MB / 442.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.3384/0.511, allocations: 24.84 MB / 467.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.5137, allocations: 2.739 MB / 470.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.5138, allocations: 0 / 470.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.5141, allocations: 41.48 kB / 470.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.5157, allocations: 0.5733 MB / 471 MB, free: 35.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.516, allocations: 124.6 kB / 471.1 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.5166, allocations: 389.6 kB / 471.5 MB, free: 35.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.5167, allocations: 20.92 kB / 471.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05152/0.5682, allocations: 22.43 MB / 494 MB, free: 31.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.5689, allocations: 144.9 kB / 494.1 MB, free: 31.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.5689, allocations: 6.219 kB / 494.1 MB, free: 31.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01329/0.5822, allocations: 5.596 MB / 499.7 MB, free: 30.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.5824, allocations: 48.88 kB / 499.7 MB, free: 30.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.5825, allocations: 65.58 kB / 499.8 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.5831, allocations: 286.7 kB / 0.4884 GB, free: 30.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5831, allocations: 7.875 kB / 0.4884 GB, free: 30.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5831, allocations: 0 / 0.4884 GB, free: 30.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.5832, allocations: 0 / 0.4884 GB, free: 30.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001148/0.5843, allocations: 0.5525 MB / 0.4889 GB, free: 29.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.5844, allocations: 8.031 kB / 0.4889 GB, free: 29.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.5845, allocations: 25.03 kB / 0.4889 GB, free: 29.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.5849, allocations: 220.9 kB / 0.4892 GB, free: 29.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.5851, allocations: 124.3 kB / 0.4893 GB, free: 29.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.5851, allocations: 24 kB / 0.4893 GB, free: 29.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.5857, allocations: 319.7 kB / 0.4896 GB, free: 29.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5857, allocations: 0 / 0.4896 GB, free: 29.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.5858, allocations: 15.98 kB / 0.4896 GB, free: 29.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.5858, allocations: 6.609 kB / 0.4896 GB, free: 29.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.5869, allocations: 0.7419 MB / 0.4904 GB, free: 28.66 MB / 382.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.001232/0.5881, allocations: 1.3 MB / 0.4916 GB, free: 27.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.5884, allocations: 159.8 kB / 0.4918 GB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.5886, allocations: 91.34 kB / 0.4919 GB, free: 27.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.5905, allocations: 2.816 MB / 0.4946 GB, free: 23.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.5905, allocations: 35.36 kB / 0.4946 GB, free: 23.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.5905, allocations: 0 / 0.4946 GB, free: 23.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002778/0.5908, allocations: 119.7 kB / 0.4948 GB, free: 23.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.5908, allocations: 51.41 kB / 0.4948 GB, free: 23.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.591, allocations: 219.5 kB / 0.495 GB, free: 23.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.5911, allocations: 33.7 kB / 0.4951 GB, free: 23.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.5912, allocations: 223.8 kB / 0.4953 GB, free: 23.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.5912, allocations: 40.25 kB / 0.4953 GB, free: 23.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.5912, allocations: 8 kB / 0.4953 GB, free: 23.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.5913, allocations: 332 kB / 0.4956 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.5914, allocations: 41.92 kB / 0.4957 GB, free: 22.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.5916, allocations: 343.1 kB / 0.496 GB, free: 22.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.5917, allocations: 108.3 kB / 0.4961 GB, free: 22.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.5917, allocations: 4 kB / 0.4961 GB, free: 22.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004935/0.5922, allocations: 381.2 kB / 0.4965 GB, free: 21.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5923, allocations: 12.66 kB / 0.4965 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5923, allocations: 8 kB / 0.4965 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.5923, allocations: 16 kB / 0.4965 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.5925, allocations: 99.59 kB / 0.4966 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.5926, allocations: 18.61 kB / 0.4966 GB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.5928, allocations: 56.14 kB / 0.4967 GB, free: 21.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.5928, allocations: 31.83 kB / 0.4967 GB, free: 21.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.5929, allocations: 166.2 kB / 0.4969 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.593, allocations: 16.52 kB / 0.4969 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.5933, allocations: 147 kB / 0.497 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.5933, allocations: 4 kB / 0.497 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5933, allocations: 4.734 kB / 0.497 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5933, allocations: 0.75 kB / 0.497 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.5937, allocations: 405.9 kB / 0.4974 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5937, allocations: 5.203 kB / 0.4974 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.5938, allocations: 9.688 kB / 0.4974 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5938, allocations: 7.938 kB / 0.4974 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.5938, allocations: 0.5625 kB / 0.4974 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.5938, allocations: 8.594 kB / 0.4974 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5938, allocations: 3.953 kB / 0.4974 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.5939, allocations: 204.5 kB / 0.4976 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.594, allocations: 107.1 kB / 0.4977 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.5941, allocations: 8.703 kB / 0.4977 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.5942, allocations: 5.172 kB / 0.4978 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.5943, allocations: 10.02 kB / 0.4978 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5943, allocations: 5.406 kB / 0.4978 GB, free: 20.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.5944, allocations: 155.7 kB / 0.4979 GB, free: 20.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5944, allocations: 0 / 0.4979 GB, free: 20.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.5949, allocations: 90.11 kB / 0.498 GB, free: 20.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000228/0.5951, allocations: 149.6 kB / 0.4981 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.5954, allocations: 169.8 kB / 0.4983 GB, free: 20.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5954, allocations: 0 / 0.4983 GB, free: 20.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.43e-05/0.5955, allocations: 30.38 kB / 0.4983 GB, free: 20 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.5959, allocations: 47.55 kB / 0.4984 GB, free: 19.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009994/0.5969, allocations: 0.6265 MB / 0.499 GB, free: 19.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.5972, allocations: 0.7292 MB / 0.4997 GB, free: 18.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.5974, allocations: 59.64 kB / 0.4998 GB, free: 18.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.5975, allocations: 25.17 kB / 0.4998 GB, free: 18.6 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5975, allocations: 0 / 0.4998 GB, free: 18.6 MB / 382.1 MB Notification: Performance of Templates: time 0.007816/0.6053, allocations: 2.835 MB / 0.5026 GB, free: 16.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches