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.001206/0.001206, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 71.89 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4274, allocations: 62.44 MB / 0.531 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03416/0.4616, allocations: 26.92 MB / 0.5573 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.465, allocations: 2.963 MB / 0.5602 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.4652, allocations: 0 / 0.5602 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.4656, allocations: 47.67 kB / 0.5602 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.4675, allocations: 0.7262 MB / 0.561 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.4679, allocations: 142.2 kB / 0.5611 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005245/0.4684, allocations: 374.1 kB / 0.5615 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.4685, allocations: 17.62 kB / 0.5615 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04047/0.5089, allocations: 15.49 MB / 0.5766 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.5094, allocations: 151.5 kB / 0.5767 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.5095, allocations: 8 kB / 0.5767 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008698/0.5182, allocations: 3.44 MB / 0.5801 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.5183, allocations: 47.77 kB / 0.5802 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.5185, allocations: 99.52 kB / 0.5802 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009785/0.5195, allocations: 478.5 kB / 0.5807 GB, free: 14.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5195, allocations: 0 / 0.5807 GB, free: 14.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5195, allocations: 0 / 0.5807 GB, free: 14.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.5195, allocations: 0 / 0.5807 GB, free: 14.72 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.001154/0.5207, allocations: 0.6061 MB / 0.5813 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5207, allocations: 16.02 kB / 0.5813 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.5209, allocations: 24.8 kB / 0.5813 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.5213, allocations: 232 kB / 0.5816 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5214, allocations: 119.9 kB / 0.5817 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.5214, allocations: 28.12 kB / 0.5817 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.522, allocations: 323.6 kB / 0.582 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.522, allocations: 0 / 0.582 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.522, allocations: 12 kB / 0.582 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.522, allocations: 4 kB / 0.582 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.5229, allocations: 0.7469 MB / 0.5828 GB, free: 12.49 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.001373/0.5242, allocations: 1.3 MB / 0.584 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.5246, allocations: 167.7 kB / 0.5842 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.5248, allocations: 81.48 kB / 0.5843 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002456/0.5273, allocations: 2.821 MB / 0.587 GB, free: 7.465 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.5273, allocations: 38.55 kB / 0.587 GB, free: 7.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.5273, allocations: 0 / 0.587 GB, free: 7.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003079/0.5276, allocations: 109.5 kB / 0.5872 GB, free: 7.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.5277, allocations: 55.41 kB / 0.5872 GB, free: 7.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.5279, allocations: 216.2 kB / 0.5874 GB, free: 7.016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5279, allocations: 25.7 kB / 0.5874 GB, free: 6.984 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.528, allocations: 235.3 kB / 0.5877 GB, free: 6.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.5281, allocations: 47.67 kB / 0.5877 GB, free: 6.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.5282, allocations: 86.02 kB / 0.5878 GB, free: 6.613 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5283, allocations: 326.8 kB / 0.5881 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.5284, allocations: 48.84 kB / 0.5881 GB, free: 6.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.5287, allocations: 355.1 kB / 0.5885 GB, free: 5.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.5291, allocations: 436.6 kB / 0.5889 GB, free: 5.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5291, allocations: 8 kB / 0.5889 GB, free: 5.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000521/0.5296, allocations: 381.9 kB / 0.5893 GB, free: 4.781 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5296, allocations: 12 kB / 0.5893 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.5296, allocations: 15.94 kB / 0.5893 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.5297, allocations: 15.94 kB / 0.5893 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.5299, allocations: 95.83 kB / 0.5894 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.5299, allocations: 23.88 kB / 0.5894 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.5302, allocations: 51.62 kB / 0.5895 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.5302, allocations: 31.98 kB / 0.5895 GB, free: 4.539 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.0001179/0.5303, allocations: 149.6 kB / 0.5897 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.5304, allocations: 27.89 kB / 0.5897 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.5307, allocations: 152.9 kB / 0.5898 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.5307, allocations: 0 / 0.5898 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5307, allocations: 0 / 0.5898 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5307, allocations: 4 kB / 0.5898 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.5311, allocations: 412.8 kB / 0.5902 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5311, allocations: 0 / 0.5902 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.5312, allocations: 15.98 kB / 0.5902 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5312, allocations: 0 / 0.5902 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.5312, allocations: 4 kB / 0.5902 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5312, allocations: 0 / 0.5902 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5313, allocations: 12.16 kB / 0.5903 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.5314, allocations: 209.9 kB / 0.5905 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.5315, allocations: 97 kB / 0.5905 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.5315, allocations: 0 / 0.5905 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.5317, allocations: 11.98 kB / 0.5906 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.5317, allocations: 11.94 kB / 0.5906 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.5317, allocations: 4 kB / 0.5906 GB, free: 3.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.5319, allocations: 156.5 kB / 0.5907 GB, free: 3.172 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5319, allocations: 0 / 0.5907 GB, free: 3.172 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004653/0.5323, allocations: 95.81 kB / 0.5908 GB, free: 3.078 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.0002862/0.5326, allocations: 163 kB / 0.591 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.5329, allocations: 177.5 kB / 0.5911 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5329, allocations: 0.9375 kB / 0.5911 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.533, allocations: 24.17 kB / 0.5912 GB, free: 2.715 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.5334, allocations: 48.39 kB / 0.5912 GB, free: 2.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/0.5343, allocations: 0.5419 MB / 0.5917 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.5346, allocations: 0.7206 MB / 0.5924 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.5348, allocations: 50.92 kB / 0.5925 GB, free: 1.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.5349, allocations: 27.44 kB / 0.5925 GB, free: 1.266 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5349, allocations: 0 / 0.5925 GB, free: 1.266 MB / 446.1 MB Notification: Performance of Templates: time 0.006511/0.5414, allocations: 3.148 MB / 0.5956 GB, free: 14.14 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/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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches