Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001411/0.001411, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.00168/0.00168, allocations: 183.1 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2572/0.2572, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4686, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0366/0.5052, allocations: 26.8 MB / 0.5451 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.5094, allocations: 2.95 MB / 0.548 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.5096, allocations: 1.312 kB / 0.548 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.51, allocations: 56.28 kB / 0.548 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.5125, allocations: 0.7186 MB / 0.5487 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.5129, allocations: 137.2 kB / 0.5489 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006251/0.5135, allocations: 373.5 kB / 0.5492 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/0.5136, allocations: 11.22 kB / 0.5492 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04218/0.5558, allocations: 15.49 MB / 0.5644 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.5564, allocations: 147.5 kB / 0.5645 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.5564, allocations: 8 kB / 0.5645 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009888/0.5663, allocations: 3.436 MB / 0.5679 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.5665, allocations: 47.75 kB / 0.5679 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.5667, allocations: 111.5 kB / 0.568 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.5677, allocations: 474.8 kB / 0.5685 GB, free: 9.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5677, allocations: 0 / 0.5685 GB, free: 9.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5677, allocations: 0 / 0.5685 GB, free: 9.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.5677, allocations: 0 / 0.5685 GB, free: 9.094 MB / 430.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.00115/0.5689, allocations: 0.5969 MB / 0.5691 GB, free: 8.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5689, allocations: 11.97 kB / 0.5691 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.5691, allocations: 28.66 kB / 0.5691 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.5694, allocations: 224.1 kB / 0.5693 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.5696, allocations: 127.9 kB / 0.5694 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.5696, allocations: 20.12 kB / 0.5695 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.5701, allocations: 323.6 kB / 0.5698 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.5702, allocations: 0 / 0.5698 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.5702, allocations: 19.98 kB / 0.5698 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.5702, allocations: 8 kB / 0.5698 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008088/0.571, allocations: 0.739 MB / 0.5705 GB, free: 6.875 MB / 430.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.001397/0.5725, allocations: 1.3 MB / 0.5718 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.5728, allocations: 163.7 kB / 0.5719 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.573, allocations: 89.48 kB / 0.572 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002523/0.5755, allocations: 2.817 MB / 0.5748 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.5756, allocations: 34.56 kB / 0.5748 GB, free: 1.805 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.5756, allocations: 0 / 0.5748 GB, free: 1.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002898/0.5759, allocations: 121.3 kB / 0.5749 GB, free: 1.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.5759, allocations: 55.34 kB / 0.575 GB, free: 1.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.5761, allocations: 226.7 kB / 0.5752 GB, free: 1.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.5761, allocations: 25.7 kB / 0.5752 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.5763, allocations: 222.6 kB / 0.5754 GB, free: 1.125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.5763, allocations: 35.45 kB / 0.5755 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.134e-05/0.5764, allocations: 86.03 kB / 0.5755 GB, free: 1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.5765, allocations: 326.8 kB / 0.5759 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.5766, allocations: 48.83 kB / 0.5759 GB, free: 0.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.5769, allocations: 347.2 kB / 0.5762 GB, free: 140 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.5773, allocations: 440.7 kB / 0.5767 GB, free: 15.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5773, allocations: 0 / 0.5767 GB, free: 15.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00053/0.5778, allocations: 385.6 kB / 0.577 GB, free: 15.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.5779, allocations: 8 kB / 0.577 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.5779, allocations: 12 kB / 0.577 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.5779, allocations: 15.94 kB / 0.5771 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.5782, allocations: 103.8 kB / 0.5772 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.526e-05/0.5782, allocations: 23.91 kB / 0.5772 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.5785, allocations: 51.44 kB / 0.5772 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.5785, allocations: 28.05 kB / 0.5773 GB, free: 14.93 MB / 446.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.0001688/0.5787, allocations: 153.9 kB / 0.5774 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.5787, allocations: 27.78 kB / 0.5774 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.579, allocations: 152.7 kB / 0.5776 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5791, allocations: 0 / 0.5776 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5791, allocations: 0 / 0.5776 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5791, allocations: 4 kB / 0.5776 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.5796, allocations: 412.7 kB / 0.578 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5796, allocations: 7.938 kB / 0.578 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.5797, allocations: 8 kB / 0.578 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.5797, allocations: 4.094 kB / 0.578 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5797, allocations: 4 kB / 0.578 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5797, allocations: 4 kB / 0.578 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5797, allocations: 3.938 kB / 0.578 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.5799, allocations: 205.7 kB / 0.5782 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.58, allocations: 104.9 kB / 0.5783 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.5801, allocations: 4.062 kB / 0.5783 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.5802, allocations: 4 kB / 0.5783 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.5802, allocations: 7.984 kB / 0.5783 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.5803, allocations: 8 kB / 0.5783 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.5804, allocations: 152.5 kB / 0.5785 GB, free: 13.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5804, allocations: 0 / 0.5785 GB, free: 13.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005318/0.5809, allocations: 95.94 kB / 0.5786 GB, free: 13.48 MB / 446.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.000285/0.5812, allocations: 155.2 kB / 0.5787 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.5815, allocations: 174.2 kB / 0.5789 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5815, allocations: 8.062 kB / 0.5789 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.5816, allocations: 23.92 kB / 0.5789 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.582, allocations: 40.59 kB / 0.5789 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009825/0.583, allocations: 0.527 MB / 0.5795 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.5833, allocations: 0.7245 MB / 0.5802 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.5835, allocations: 58.84 kB / 0.5802 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.5835, allocations: 27.44 kB / 0.5802 GB, free: 11.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.5836, allocations: 0 / 0.5802 GB, free: 11.68 MB / 446.1 MB Notification: Performance of Templates: time 0.00685/0.5904, allocations: 3.17 MB / 0.5833 GB, free: 8.531 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches