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.001034/0.001034, allocations: 95.89 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.001399/0.001399, allocations: 175.7 kB / 16.57 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.563/1.563, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.4089/0.4089, allocations: 43.55 MB / 314.5 MB, free: 8.777 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.0008403/0.0008404, allocations: 20 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1396, allocations: 58.85 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2737/0.4133, allocations: 22.57 MB / 465.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.4159, allocations: 2.576 MB / 467.9 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.416, allocations: 2.688 kB / 467.9 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.4163, allocations: 41.44 kB / 467.9 MB, free: 36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.4177, allocations: 0.5939 MB / 468.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.418, allocations: 124.7 kB / 468.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000409/0.4184, allocations: 251.7 kB / 468.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.336e-05/0.4185, allocations: 19.23 kB / 468.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04455/0.4631, allocations: 22.23 MB / 491.1 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.4636, allocations: 127.8 kB / 491.3 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.4637, allocations: 6.25 kB / 491.3 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.4763, allocations: 5.602 MB / 496.9 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.4765, allocations: 39.77 kB / 496.9 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.4767, allocations: 63.58 kB / 497 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.4778, allocations: 294.6 kB / 497.3 MB, free: 32.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4778, allocations: 0 / 497.3 MB, free: 32.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.4778, allocations: 0 / 497.3 MB, free: 32.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.4779, allocations: 0 / 497.3 MB, free: 32.74 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.001353/0.4792, allocations: 0.5453 MB / 497.8 MB, free: 32.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4793, allocations: 8.469 kB / 497.8 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.4795, allocations: 32.08 kB / 497.8 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.4798, allocations: 221.2 kB / 498.1 MB, free: 32.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.4799, allocations: 120.4 kB / 498.2 MB, free: 31.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.48, allocations: 29.94 kB / 498.2 MB, free: 31.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.4805, allocations: 320.1 kB / 498.5 MB, free: 31.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4806, allocations: 3.938 kB / 498.5 MB, free: 31.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.4806, allocations: 12 kB / 498.5 MB, free: 31.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.4806, allocations: 10.38 kB / 498.5 MB, free: 31.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008724/0.4815, allocations: 0.7341 MB / 499.3 MB, free: 31.11 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.001476/0.483, allocations: 1.355 MB / 0.4889 GB, free: 29.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4834, allocations: 160.6 kB / 0.4891 GB, free: 29.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002196/0.4856, allocations: 2.871 MB / 0.4919 GB, free: 26.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.4856, allocations: 31.31 kB / 0.4919 GB, free: 26.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.4856, allocations: 0 / 0.4919 GB, free: 26.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003403/0.486, allocations: 137.6 kB / 0.492 GB, free: 26.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.486, allocations: 56.11 kB / 0.4921 GB, free: 26.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.4862, allocations: 204.3 kB / 0.4923 GB, free: 25.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.4862, allocations: 29.7 kB / 0.4923 GB, free: 25.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.4864, allocations: 214.5 kB / 0.4925 GB, free: 25.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.4864, allocations: 52.84 kB / 0.4926 GB, free: 25.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.4864, allocations: 8 kB / 0.4926 GB, free: 25.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.4865, allocations: 325 kB / 0.4929 GB, free: 25.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.81e-05/0.4866, allocations: 54 kB / 0.4929 GB, free: 25.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.4869, allocations: 319 kB / 0.4932 GB, free: 24.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.487, allocations: 96.8 kB / 0.4933 GB, free: 24.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.487, allocations: 7.953 kB / 0.4933 GB, free: 24.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005223/0.4876, allocations: 375.6 kB / 0.4937 GB, free: 24.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4876, allocations: 8 kB / 0.4937 GB, free: 24.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4876, allocations: 12.05 kB / 0.4937 GB, free: 24.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.4876, allocations: 17.41 kB / 0.4937 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.4879, allocations: 100.3 kB / 0.4938 GB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.4879, allocations: 25.98 kB / 0.4938 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.4882, allocations: 51.47 kB / 0.4939 GB, free: 24.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.4883, allocations: 26.02 kB / 0.4939 GB, free: 24.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001069/0.4884, allocations: 155.2 kB / 0.4941 GB, free: 24.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.4884, allocations: 20.42 kB / 0.4941 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.4888, allocations: 184.6 kB / 0.4943 GB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4888, allocations: 4.562 kB / 0.4943 GB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.4888, allocations: 0 / 0.4943 GB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4888, allocations: 0.9844 kB / 0.4943 GB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.4893, allocations: 449.2 kB / 0.4947 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4893, allocations: 5.75 kB / 0.4947 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.4894, allocations: 29.84 kB / 0.4947 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4894, allocations: 4 kB / 0.4947 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4894, allocations: 0.7031 kB / 0.4947 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4894, allocations: 4.656 kB / 0.4947 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4894, allocations: 0.5 kB / 0.4947 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.4896, allocations: 269.4 kB / 0.495 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.4897, allocations: 126.9 kB / 0.4951 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.4898, allocations: 0.7031 kB / 0.4951 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.4899, allocations: 12.08 kB / 0.4951 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.49, allocations: 11 kB / 0.4951 GB, free: 22.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.49, allocations: 4.516 kB / 0.4951 GB, free: 22.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.4901, allocations: 147.6 kB / 0.4953 GB, free: 22.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.4901, allocations: 0 / 0.4953 GB, free: 22.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005226/0.4906, allocations: 118.2 kB / 0.4954 GB, free: 22.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * 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.000275/0.4909, allocations: 165.3 kB / 0.4956 GB, free: 22.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.4912, allocations: 167.6 kB / 0.4957 GB, free: 22.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4912, allocations: 3.938 kB / 0.4957 GB, free: 22.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.4913, allocations: 31.86 kB / 0.4957 GB, free: 22.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.4916, allocations: 58.84 kB / 0.4958 GB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.4923, allocations: 0.512 MB / 0.4963 GB, free: 21.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.4925, allocations: 0.7327 MB / 0.497 GB, free: 21.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000239/0.4927, allocations: 59.38 kB / 0.4971 GB, free: 21.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.4928, allocations: 25.41 kB / 0.4971 GB, free: 21.01 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4928, allocations: 3.938 kB / 0.4971 GB, free: 21.01 MB / 382.1 MB Notification: Performance of Templates: time 0.007032/0.4998, allocations: 3.242 MB / 0.5003 GB, free: 19.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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