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.006904/0.006904, allocations: 101.1 kB / 15.87 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 192.2 kB / 16.79 MB, free: 6.242 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.678/1.678, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.4151/0.4151, allocations: 43.5 MB / 313.5 MB, free: 8.598 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.002047/0.002047, allocations: 67.89 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1397, allocations: 57.78 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2782/0.418, allocations: 28.55 MB / 468.4 MB, free: 34.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.4209, allocations: 3.04 MB / 471.4 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.421, allocations: 0 / 471.4 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.4214, allocations: 48.17 kB / 471.5 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.4231, allocations: 0.6543 MB / 472.1 MB, free: 32.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.4235, allocations: 126.9 kB / 472.2 MB, free: 32.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005352/0.424, allocations: 437.9 kB / 472.7 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.4241, allocations: 14.81 kB / 472.7 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03695/0.461, allocations: 14.41 MB / 487.1 MB, free: 26.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.4615, allocations: 160.7 kB / 487.2 MB, free: 26.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.4615, allocations: 9.844 kB / 487.3 MB, free: 26.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007929/0.4695, allocations: 3.428 MB / 490.7 MB, free: 24.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.4696, allocations: 39.39 kB / 490.7 MB, free: 24.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.4698, allocations: 105.5 kB / 490.8 MB, free: 24.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4709, allocations: 469.7 kB / 491.3 MB, free: 24.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4709, allocations: 0.6094 kB / 491.3 MB, free: 24.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4709, allocations: 3.938 kB / 491.3 MB, free: 24.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4709, allocations: 0 / 491.3 MB, free: 24.56 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.00141/0.4723, allocations: 0.6018 MB / 491.9 MB, free: 24.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4724, allocations: 9.219 kB / 491.9 MB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.4726, allocations: 23.78 kB / 491.9 MB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.4728, allocations: 222.8 kB / 492.1 MB, free: 23.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.4729, allocations: 124.9 kB / 492.3 MB, free: 23.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.473, allocations: 22.92 kB / 492.3 MB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.4736, allocations: 326.5 kB / 492.6 MB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4736, allocations: 1.516 kB / 492.6 MB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.4736, allocations: 15.34 kB / 492.6 MB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.4736, allocations: 6.969 kB / 492.6 MB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009125/0.4746, allocations: 0.7421 MB / 493.4 MB, free: 23.38 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.001216/0.4758, allocations: 1.303 MB / 494.7 MB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.4761, allocations: 164 kB / 494.8 MB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.4763, allocations: 95.38 kB / 494.9 MB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/0.4782, allocations: 2.808 MB / 497.7 MB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.4782, allocations: 32.59 kB / 497.8 MB, free: 19.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.4782, allocations: 0 / 497.8 MB, free: 19.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002895/0.4785, allocations: 118.2 kB / 497.9 MB, free: 19.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.4786, allocations: 56.34 kB / 497.9 MB, free: 18.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.4788, allocations: 216.8 kB / 498.1 MB, free: 18.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4788, allocations: 27.14 kB / 498.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.4789, allocations: 226.9 kB / 498.4 MB, free: 18.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.479, allocations: 43.47 kB / 498.4 MB, free: 18.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4791, allocations: 81.47 kB / 498.5 MB, free: 18.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.4792, allocations: 336.7 kB / 498.8 MB, free: 18.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.4792, allocations: 49.48 kB / 498.9 MB, free: 18.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.4795, allocations: 340.5 kB / 499.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.4798, allocations: 445.4 kB / 499.7 MB, free: 17.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4798, allocations: 7.156 kB / 499.7 MB, free: 17.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005912/0.4804, allocations: 387.4 kB / 0.4883 GB, free: 17.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.4805, allocations: 13.72 kB / 0.4883 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.4805, allocations: 12.23 kB / 0.4884 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/0.4806, allocations: 17.66 kB / 0.4884 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.4808, allocations: 100.2 kB / 0.4885 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.889e-05/0.4809, allocations: 19.53 kB / 0.4885 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.4811, allocations: 52.95 kB / 0.4885 GB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.4812, allocations: 28.94 kB / 0.4886 GB, free: 17.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4813, allocations: 157 kB / 0.4887 GB, free: 16.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.4813, allocations: 17.28 kB / 0.4887 GB, free: 16.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.4816, allocations: 140.4 kB / 0.4889 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4816, allocations: 9.859 kB / 0.4889 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4817, allocations: 0 / 0.4889 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4817, allocations: 1.875 kB / 0.4889 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.4821, allocations: 407.9 kB / 0.4893 GB, free: 16.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4821, allocations: 2 kB / 0.4893 GB, free: 16.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.4822, allocations: 16.23 kB / 0.4893 GB, free: 16.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.4822, allocations: 1.344 kB / 0.4893 GB, free: 16.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4822, allocations: 7.094 kB / 0.4893 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4822, allocations: 1.625 kB / 0.4893 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4822, allocations: 5.609 kB / 0.4893 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4824, allocations: 208.1 kB / 0.4895 GB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.4825, allocations: 103.1 kB / 0.4896 GB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.4825, allocations: 11.02 kB / 0.4896 GB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.4827, allocations: 3.391 kB / 0.4896 GB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.4827, allocations: 10.44 kB / 0.4896 GB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.4827, allocations: 5.609 kB / 0.4896 GB, free: 16.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.4828, allocations: 151 kB / 0.4898 GB, free: 15.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4829, allocations: 0 / 0.4898 GB, free: 15.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005226/0.4834, allocations: 95.59 kB / 0.4899 GB, free: 15.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003925/0.4838, allocations: 173.3 kB / 0.49 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.4841, allocations: 166.6 kB / 0.4902 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4841, allocations: 5.594 kB / 0.4902 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.4842, allocations: 26.36 kB / 0.4902 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.4846, allocations: 45.66 kB / 0.4903 GB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.4856, allocations: 0.5955 MB / 0.4908 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.4858, allocations: 0.7309 MB / 0.4915 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.4861, allocations: 60 kB / 0.4916 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.4861, allocations: 24.12 kB / 0.4916 GB, free: 14.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4861, allocations: 0 / 0.4916 GB, free: 14.63 MB / 382.1 MB Notification: Performance of Templates: time 0.007915/0.494, allocations: 3.019 MB / 0.4946 GB, free: 14.28 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