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.001486/0.001487, allocations: 113.9 kB / 18.46 MB, free: 4.613 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.001668/0.001668, allocations: 182 kB / 19.38 MB, free: 3.695 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.381/1.381, allocations: 222.9 MB / 243.1 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.2144/0.2144, allocations: 44.2 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3695, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03389/0.4034, allocations: 26.81 MB / 0.5458 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.4074, allocations: 2.954 MB / 0.5487 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.4077, allocations: 2.25 kB / 0.5487 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.4081, allocations: 51.72 kB / 0.5487 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.4102, allocations: 0.7317 MB / 0.5494 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.4106, allocations: 132.4 kB / 0.5496 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006855/0.4112, allocations: 369.8 kB / 0.5499 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.4113, allocations: 10.66 kB / 0.5499 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04435/0.4557, allocations: 15.49 MB / 0.5651 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.4562, allocations: 147.5 kB / 0.5652 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.4563, allocations: 8 kB / 0.5652 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009402/0.4657, allocations: 3.44 MB / 0.5686 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.4658, allocations: 47.75 kB / 0.5686 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.466, allocations: 103.5 kB / 0.5687 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.4676, allocations: 486.4 kB / 0.5692 GB, free: 9.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4676, allocations: 4 kB / 0.5692 GB, free: 9.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4676, allocations: 0 / 0.5692 GB, free: 9.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.4676, allocations: 0 / 0.5692 GB, free: 9.078 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.001222/0.4689, allocations: 0.6 MB / 0.5698 GB, free: 8.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4689, allocations: 16.03 kB / 0.5698 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.4691, allocations: 24.8 kB / 0.5698 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.4695, allocations: 224.1 kB / 0.57 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.4696, allocations: 119.9 kB / 0.5701 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.4697, allocations: 24.12 kB / 0.5702 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.4702, allocations: 327.6 kB / 0.5705 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.4702, allocations: 0 / 0.5705 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.4703, allocations: 19.92 kB / 0.5705 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.4703, allocations: 8 kB / 0.5705 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.4712, allocations: 0.739 MB / 0.5712 GB, free: 6.855 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.001547/0.4727, allocations: 1.3 MB / 0.5725 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.4731, allocations: 167.7 kB / 0.5726 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.4733, allocations: 81.48 kB / 0.5727 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002559/0.4758, allocations: 2.821 MB / 0.5755 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.4759, allocations: 34.56 kB / 0.5755 GB, free: 1.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.4759, allocations: 4 kB / 0.5755 GB, free: 1.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002922/0.4762, allocations: 121.3 kB / 0.5756 GB, free: 1.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.4762, allocations: 55.41 kB / 0.5757 GB, free: 1.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.4764, allocations: 218.8 kB / 0.5759 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4764, allocations: 25.7 kB / 0.5759 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.4766, allocations: 235.3 kB / 0.5761 GB, free: 1.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.4766, allocations: 39.69 kB / 0.5762 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.4767, allocations: 86.03 kB / 0.5763 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4768, allocations: 330.8 kB / 0.5766 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.4769, allocations: 44.84 kB / 0.5766 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.4772, allocations: 347.2 kB / 0.5769 GB, free: 108 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.4776, allocations: 444.5 kB / 0.5774 GB, free: 15.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4776, allocations: 4 kB / 0.5774 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005476/0.4782, allocations: 381.2 kB / 0.5777 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.4782, allocations: 12 kB / 0.5778 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.4782, allocations: 12 kB / 0.5778 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.4783, allocations: 16.69 kB / 0.5778 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.4785, allocations: 95.83 kB / 0.5779 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.4786, allocations: 27.92 kB / 0.5779 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.4788, allocations: 51.62 kB / 0.5779 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.4788, allocations: 28 kB / 0.578 GB, free: 14.9 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.0001334/0.479, allocations: 153.5 kB / 0.5781 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.479, allocations: 19.91 kB / 0.5781 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.4793, allocations: 145 kB / 0.5783 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4793, allocations: 3.938 kB / 0.5783 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4793, allocations: 0 / 0.5783 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.4794, allocations: 104.9 kB / 0.5784 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.4795, allocations: 7.938 kB / 0.5784 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.4796, allocations: 8.094 kB / 0.5784 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.4796, allocations: 7.922 kB / 0.5784 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001508/0.4798, allocations: 156.9 kB / 0.5786 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001912/0.48, allocations: 258.6 kB / 0.5788 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.325e-05/0.48, allocations: 19.98 kB / 0.5788 GB, free: 13.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.4802, allocations: 156.5 kB / 0.579 GB, free: 13.82 MB / 446.1 MB Notification: Performance of Backend: time 5.21e-07/0.4802, allocations: 0 / 0.579 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.4812, allocations: 451.8 kB / 0.5794 GB, free: 13.38 MB / 446.1 MB Notification: Performance of SimCode: time 0.0008336/0.482, allocations: 0.8573 MB / 0.5802 GB, free: 12.47 MB / 446.1 MB Notification: Performance of Templates: time 0.009421/0.4915, allocations: 5.24 MB / 0.5854 GB, free: 7.246 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/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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches