Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 75.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4161, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03609/0.4522, allocations: 26.93 MB / 0.558 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004151/0.4564, allocations: 2.955 MB / 0.5609 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.906e-05/0.4566, allocations: 4 kB / 0.5609 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.457, allocations: 55.59 kB / 0.5609 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.4591, allocations: 0.7188 MB / 0.5616 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.4596, allocations: 134.8 kB / 0.5618 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.4602, allocations: 378 kB / 0.5621 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.4603, allocations: 13.69 kB / 0.5621 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04525/0.5056, allocations: 15.5 MB / 0.5773 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.506, allocations: 147.5 kB / 0.5774 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.5061, allocations: 8 kB / 0.5774 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00908/0.5152, allocations: 3.437 MB / 0.5808 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.5153, allocations: 51.75 kB / 0.5808 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.5155, allocations: 107.5 kB / 0.5809 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009396/0.5165, allocations: 470.8 kB / 0.5814 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5165, allocations: 0 / 0.5814 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5165, allocations: 0 / 0.5814 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.5165, allocations: 0 / 0.5814 GB, free: 14.61 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001184/0.5177, allocations: 0.593 MB / 0.582 GB, free: 13.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.5178, allocations: 12.03 kB / 0.582 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.5179, allocations: 28.64 kB / 0.582 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.5182, allocations: 232.1 kB / 0.5822 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.5184, allocations: 115.9 kB / 0.5823 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.5185, allocations: 32.11 kB / 0.5824 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.519, allocations: 327.6 kB / 0.5827 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5191, allocations: 0 / 0.5827 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.5191, allocations: 12 kB / 0.5827 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.5191, allocations: 4 kB / 0.5827 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.52, allocations: 0.743 MB / 0.5834 GB, free: 12.39 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.001418/0.5214, allocations: 1.304 MB / 0.5847 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.5218, allocations: 159.7 kB / 0.5848 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.5219, allocations: 81.48 kB / 0.5849 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002741/0.5246, allocations: 2.813 MB / 0.5877 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.5247, allocations: 38.56 kB / 0.5877 GB, free: 7.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.5247, allocations: 0 / 0.5877 GB, free: 7.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003099/0.525, allocations: 117.3 kB / 0.5878 GB, free: 7.207 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.5251, allocations: 59.34 kB / 0.5879 GB, free: 7.137 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.5253, allocations: 219.8 kB / 0.5881 GB, free: 6.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.5253, allocations: 29.7 kB / 0.5881 GB, free: 6.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.5254, allocations: 218.6 kB / 0.5883 GB, free: 6.656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.5255, allocations: 51.44 kB / 0.5884 GB, free: 6.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.5256, allocations: 78.05 kB / 0.5884 GB, free: 6.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5258, allocations: 330.8 kB / 0.5888 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.5259, allocations: 44.84 kB / 0.5888 GB, free: 6.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.5262, allocations: 351.2 kB / 0.5891 GB, free: 5.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.5266, allocations: 440.6 kB / 0.5896 GB, free: 5.078 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5266, allocations: 4 kB / 0.5896 GB, free: 5.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005413/0.5272, allocations: 381.6 kB / 0.5899 GB, free: 4.695 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.5273, allocations: 15.94 kB / 0.5899 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.5273, allocations: 16.12 kB / 0.59 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.5273, allocations: 15.94 kB / 0.59 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.5276, allocations: 99.77 kB / 0.5901 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.5276, allocations: 19.94 kB / 0.5901 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.5278, allocations: 51.53 kB / 0.5901 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.5279, allocations: 31.98 kB / 0.5902 GB, free: 4.449 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.0001167/0.528, allocations: 145.6 kB / 0.5903 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.528, allocations: 19.81 kB / 0.5903 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.5283, allocations: 148.9 kB / 0.5905 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.5283, allocations: 3.938 kB / 0.5905 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5283, allocations: 4 kB / 0.5905 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.5284, allocations: 100.8 kB / 0.5906 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.5285, allocations: 12 kB / 0.5906 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.5286, allocations: 7.984 kB / 0.5906 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.5286, allocations: 7.922 kB / 0.5906 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001489/0.5288, allocations: 145 kB / 0.5907 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002428/0.5291, allocations: 258.5 kB / 0.591 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.908e-05/0.5291, allocations: 28.19 kB / 0.591 GB, free: 3.523 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.5292, allocations: 156.5 kB / 0.5912 GB, free: 3.371 MB / 446.1 MB Notification: Performance of Backend: time 5.91e-07/0.5292, allocations: 7.938 kB / 0.5912 GB, free: 3.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.5303, allocations: 440.1 kB / 0.5916 GB, free: 2.93 MB / 446.1 MB Notification: Performance of SimCode: time 0.0008517/0.5311, allocations: 0.8575 MB / 0.5924 GB, free: 2.02 MB / 446.1 MB Notification: Performance of Templates: time 0.009013/0.5402, allocations: 5.254 MB / 0.5975 GB, free: 12.78 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches