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.001175/0.001175, allocations: 113.2 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.00105/0.001051, allocations: 185 kB / 18.71 MB, free: 4.344 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.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2158/0.2158, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4328, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0337/0.4666, allocations: 26.81 MB / 0.5451 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00341/0.47, allocations: 2.946 MB / 0.548 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.114e-05/0.4701, allocations: 5 kB / 0.548 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.4705, allocations: 51.38 kB / 0.548 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.4722, allocations: 0.7241 MB / 0.5487 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.4725, allocations: 132.5 kB / 0.5489 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.4731, allocations: 379.5 kB / 0.5492 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.4731, allocations: 10.34 kB / 0.5492 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03947/0.5126, allocations: 15.5 MB / 0.5644 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.5131, allocations: 151.5 kB / 0.5645 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.5131, allocations: 8 kB / 0.5645 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00904/0.5222, allocations: 3.44 MB / 0.5679 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.5223, allocations: 47.75 kB / 0.5679 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.5225, allocations: 107.5 kB / 0.568 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009583/0.5234, allocations: 470.7 kB / 0.5685 GB, free: 9.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5235, allocations: 0 / 0.5685 GB, free: 9.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.5235, allocations: 3.984 kB / 0.5685 GB, free: 9.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.5235, allocations: 4 kB / 0.5685 GB, free: 9.039 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.001092/0.5246, allocations: 0.5931 MB / 0.5691 GB, free: 8.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5246, allocations: 8.031 kB / 0.5691 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.5248, allocations: 28.66 kB / 0.5691 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.525, allocations: 224.1 kB / 0.5693 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.5252, allocations: 127.9 kB / 0.5694 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.5252, allocations: 28.12 kB / 0.5695 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.5257, allocations: 319.6 kB / 0.5698 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.5257, allocations: 4 kB / 0.5698 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.5257, allocations: 12 kB / 0.5698 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.5258, allocations: 7.984 kB / 0.5698 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.5265, allocations: 0.739 MB / 0.5705 GB, free: 6.828 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.001418/0.528, allocations: 1.296 MB / 0.5718 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.5283, allocations: 171.7 kB / 0.572 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.5285, allocations: 81.48 kB / 0.572 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002494/0.531, allocations: 2.817 MB / 0.5748 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.531, allocations: 30.56 kB / 0.5748 GB, free: 1.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/0.531, allocations: 4 kB / 0.5748 GB, free: 1.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003336/0.5314, allocations: 125.2 kB / 0.5749 GB, free: 1.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.5314, allocations: 51.41 kB / 0.575 GB, free: 1.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.5316, allocations: 226.7 kB / 0.5752 GB, free: 1.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.5316, allocations: 29.69 kB / 0.5752 GB, free: 1.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5318, allocations: 218.6 kB / 0.5754 GB, free: 1.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.5318, allocations: 47.44 kB / 0.5755 GB, free: 1.035 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.532, allocations: 78.03 kB / 0.5756 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5322, allocations: 326.8 kB / 0.5759 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.5323, allocations: 52.84 kB / 0.5759 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.5326, allocations: 343.2 kB / 0.5762 GB, free: 92 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.5331, allocations: 444.6 kB / 0.5767 GB, free: 15.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5331, allocations: 4 kB / 0.5767 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005524/0.5336, allocations: 381.5 kB / 0.577 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5337, allocations: 19.88 kB / 0.5771 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5337, allocations: 8 kB / 0.5771 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/0.5337, allocations: 19.94 kB / 0.5771 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.534, allocations: 95.83 kB / 0.5772 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/0.534, allocations: 27.91 kB / 0.5772 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.5343, allocations: 47.44 kB / 0.5772 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.5343, allocations: 28.38 kB / 0.5773 GB, free: 14.88 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.0001397/0.5344, allocations: 161.5 kB / 0.5774 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.5345, allocations: 15.81 kB / 0.5774 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.5348, allocations: 144.9 kB / 0.5776 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5348, allocations: 4 kB / 0.5776 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5348, allocations: 0 / 0.5776 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5348, allocations: 3.938 kB / 0.5776 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.5354, allocations: 416.8 kB / 0.578 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5354, allocations: 0 / 0.578 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.5354, allocations: 12 kB / 0.578 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5354, allocations: 4.094 kB / 0.578 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.5355, allocations: 4 kB / 0.578 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.5355, allocations: 3.938 kB / 0.578 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5355, allocations: 0 / 0.578 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.5357, allocations: 213.7 kB / 0.5782 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.5358, allocations: 96.91 kB / 0.5783 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.5359, allocations: 4 kB / 0.5783 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.536, allocations: 4.062 kB / 0.5783 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.5361, allocations: 15.98 kB / 0.5783 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5361, allocations: 4 kB / 0.5783 GB, free: 13.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.5363, allocations: 152.5 kB / 0.5785 GB, free: 13.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5363, allocations: 0 / 0.5785 GB, free: 13.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004963/0.5368, allocations: 91.94 kB / 0.5786 GB, free: 13.43 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.0002885/0.5371, allocations: 155.2 kB / 0.5787 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.5374, allocations: 182.2 kB / 0.5789 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5374, allocations: 0 / 0.5789 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/0.5374, allocations: 27.92 kB / 0.5789 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.5379, allocations: 36.41 kB / 0.5789 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.5388, allocations: 0.5311 MB / 0.5795 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.5392, allocations: 0.7285 MB / 0.5802 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.5394, allocations: 58.84 kB / 0.5802 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.5394, allocations: 23.42 kB / 0.5803 GB, free: 11.63 MB / 446.1 MB Notification: Performance of SimCode: time 2.966e-06/0.5394, allocations: 4 kB / 0.5803 GB, free: 11.62 MB / 446.1 MB Notification: Performance of Templates: time 0.006877/0.5463, allocations: 3.146 MB / 0.5833 GB, free: 8.508 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