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.001331/0.001331, allocations: 110 kB / 18.45 MB, free: 4.602 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.001368/0.001368, allocations: 182.3 kB / 19.38 MB, free: 3.684 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.309/1.309, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.207/0.207, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 55.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3135, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02825/0.3418, allocations: 26.8 MB / 0.5458 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.3454, allocations: 2.959 MB / 0.5487 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.3455, allocations: 1.375 kB / 0.5487 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.3458, allocations: 51.16 kB / 0.5487 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.3474, allocations: 0.7228 MB / 0.5494 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.3477, allocations: 140.3 kB / 0.5495 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.3482, allocations: 370.3 kB / 0.5499 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.3483, allocations: 11.34 kB / 0.5499 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0377/0.386, allocations: 15.49 MB / 0.565 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.3864, allocations: 147.5 kB / 0.5652 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.3865, allocations: 8 kB / 0.5652 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00853/0.395, allocations: 3.444 MB / 0.5685 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3952, allocations: 47.75 kB / 0.5686 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3953, allocations: 107.5 kB / 0.5687 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009226/0.3962, allocations: 470.8 kB / 0.5691 GB, free: 9.062 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3963, allocations: 4 kB / 0.5691 GB, free: 9.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3963, allocations: 0 / 0.5691 GB, free: 9.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3963, allocations: 0 / 0.5691 GB, free: 9.059 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.001131/0.3974, allocations: 0.5969 MB / 0.5697 GB, free: 8.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3975, allocations: 12.03 kB / 0.5697 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.3976, allocations: 28.66 kB / 0.5698 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.398, allocations: 228.1 kB / 0.57 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.3981, allocations: 123.9 kB / 0.5701 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.3981, allocations: 24.11 kB / 0.5701 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.3986, allocations: 323.6 kB / 0.5704 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3986, allocations: 4 kB / 0.5704 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.3987, allocations: 12 kB / 0.5704 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.3987, allocations: 8 kB / 0.5705 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.3994, allocations: 0.7429 MB / 0.5712 GB, free: 6.832 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.001327/0.4008, allocations: 1.296 MB / 0.5724 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.4011, allocations: 170.9 kB / 0.5726 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4012, allocations: 85.48 kB / 0.5727 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002369/0.4036, allocations: 2.813 MB / 0.5754 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.4036, allocations: 34.56 kB / 0.5755 GB, free: 1.773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.4037, allocations: 0 / 0.5755 GB, free: 1.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002901/0.404, allocations: 117.4 kB / 0.5756 GB, free: 1.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.404, allocations: 63.33 kB / 0.5756 GB, free: 1.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.4042, allocations: 214.7 kB / 0.5759 GB, free: 1.359 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.4042, allocations: 29.7 kB / 0.5759 GB, free: 1.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.4044, allocations: 218.6 kB / 0.5761 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.4044, allocations: 43.44 kB / 0.5761 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.4045, allocations: 82.03 kB / 0.5762 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4046, allocations: 326.8 kB / 0.5765 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.4047, allocations: 44.84 kB / 0.5766 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.4049, allocations: 347.2 kB / 0.5769 GB, free: 112 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.4054, allocations: 448.6 kB / 0.5773 GB, free: 15.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4054, allocations: 8 kB / 0.5773 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005038/0.4059, allocations: 381.4 kB / 0.5777 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4059, allocations: 8 kB / 0.5777 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.4059, allocations: 12 kB / 0.5777 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.406, allocations: 15.94 kB / 0.5777 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.4062, allocations: 103.8 kB / 0.5778 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.4062, allocations: 19.92 kB / 0.5778 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.4065, allocations: 59.81 kB / 0.5779 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.4065, allocations: 32 kB / 0.5779 GB, free: 14.89 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.0001119/0.4066, allocations: 145.6 kB / 0.5781 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.4067, allocations: 19.81 kB / 0.5781 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.4069, allocations: 156.8 kB / 0.5782 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.407, allocations: 0 / 0.5782 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.407, allocations: 0 / 0.5782 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.407, allocations: 4 kB / 0.5782 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.4074, allocations: 408.8 kB / 0.5786 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4074, allocations: 7.938 kB / 0.5786 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.4075, allocations: 16.08 kB / 0.5787 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.4075, allocations: 4 kB / 0.5787 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.4075, allocations: 0 / 0.5787 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4075, allocations: 4 kB / 0.5787 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4075, allocations: 3.938 kB / 0.5787 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.4077, allocations: 209.7 kB / 0.5789 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.4078, allocations: 92.92 kB / 0.579 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.4078, allocations: 7.984 kB / 0.579 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.408, allocations: 4 kB / 0.579 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.408, allocations: 4 kB / 0.579 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.408, allocations: 7.984 kB / 0.579 GB, free: 13.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.4082, allocations: 156.5 kB / 0.5791 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4082, allocations: 0 / 0.5791 GB, free: 13.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.4087, allocations: 95.94 kB / 0.5792 GB, free: 13.45 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.000255/0.4089, allocations: 151.2 kB / 0.5794 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.4092, allocations: 177.9 kB / 0.5795 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4092, allocations: 0 / 0.5795 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.4093, allocations: 31.98 kB / 0.5796 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.4097, allocations: 48.5 kB / 0.5796 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008976/0.4106, allocations: 0.5487 MB / 0.5801 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.4109, allocations: 0.7284 MB / 0.5809 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.411, allocations: 35.42 kB / 0.5809 GB, free: 11.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.411, allocations: 0 / 0.5809 GB, free: 11.66 MB / 446.1 MB Notification: Performance of Templates: time 0.005138/0.4161, allocations: 3.357 MB / 0.5842 GB, free: 8.309 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