Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 203.6 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4342/0.4342, allocations: 43.5 MB / 313.5 MB, free: 8.328 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 67.89 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1587, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.3267/0.4854, allocations: 14.63 MB / 454.5 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02671/0.5122, allocations: 28.3 MB / 482.8 MB, free: 25.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.5126, allocations: 2.875 kB / 482.8 MB, free: 25.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.5129, allocations: 88.42 kB / 482.8 MB, free: 25.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02364/0.5366, allocations: 6.822 MB / 489.7 MB, free: 22.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009725/0.5376, allocations: 317.1 kB / 490 MB, free: 22.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004749/0.5423, allocations: 2.033 MB / 492 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.5425, allocations: 28.02 kB / 492 MB, free: 21.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.543, allocations: 251 kB / 492.3 MB, free: 21.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006987/0.55, allocations: 3.267 MB / 495.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.716e-05/0.5501, allocations: 9.031 kB / 495.6 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03299/0.5831, allocations: 11.49 MB / 0.4952 GB, free: 17.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.5835, allocations: 49 kB / 0.4952 GB, free: 17.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005855/0.5841, allocations: 134.8 kB / 0.4953 GB, free: 16.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02752/0.6116, allocations: 6.767 MB / 0.5019 GB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.6117, allocations: 0 / 0.5019 GB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6117, allocations: 5.188 kB / 0.5019 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.6117, allocations: 4 kB / 0.502 GB, free: 13.22 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.007435/0.6191, allocations: 1.603 MB / 0.5035 GB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6192, allocations: 14.12 kB / 0.5035 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.6208, allocations: 190.2 kB / 0.5037 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.6211, allocations: 264.5 kB / 0.504 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.6212, allocations: 29.47 kB / 0.504 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.6212, allocations: 27.94 kB / 0.504 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.6235, allocations: 0.7567 MB / 0.5048 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.6235, allocations: 5.156 kB / 0.5048 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.6236, allocations: 20.44 kB / 0.5048 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.6236, allocations: 8.125 kB / 0.5048 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.6261, allocations: 0.822 MB / 0.5056 GB, free: 10.82 MB / 382.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.003758/0.6299, allocations: 2.709 MB / 0.5082 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.6311, allocations: 344.1 kB / 0.5086 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.6312, allocations: 87.28 kB / 0.5086 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7157/1.347, allocations: 141.1 MB / 0.6465 GB, free: 145.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/1.348, allocations: 440.6 kB / 0.6469 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/1.348, allocations: 0 / 0.6469 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003894/1.352, allocations: 1.12 MB / 0.648 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/1.352, allocations: 376 kB / 0.6484 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/1.353, allocations: 186.3 kB / 0.6485 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/1.353, allocations: 28.89 kB / 0.6486 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/1.353, allocations: 191.3 kB / 0.6487 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-05/1.353, allocations: 118.9 kB / 0.6489 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/1.353, allocations: 121.8 kB / 0.649 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.353, allocations: 330.8 kB / 0.6493 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/1.353, allocations: 81.53 kB / 0.6494 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/1.354, allocations: 348.5 kB / 0.6497 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/1.354, allocations: 488.1 kB / 0.6502 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.354, allocations: 3.594 kB / 0.6502 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008484/1.355, allocations: 470.9 kB / 0.6506 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.355, allocations: 8.688 kB / 0.6506 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.355, allocations: 13.03 kB / 0.6506 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.749e-05/1.355, allocations: 14.25 kB / 0.6507 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/1.357, allocations: 213 kB / 0.6509 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004485/1.357, allocations: 1.183 MB / 0.652 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/1.357, allocations: 29.44 kB / 0.652 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/1.358, allocations: 39.95 kB / 0.6521 GB, free: 142.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001913/1.358, allocations: 170.3 kB / 0.6522 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/1.358, allocations: 27.36 kB / 0.6523 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/1.361, allocations: 2.839 MB / 0.655 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/1.361, allocations: 20.44 kB / 0.6551 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.361, allocations: 9.5 kB / 0.6551 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/1.361, allocations: 5.984 kB / 0.6551 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/1.362, allocations: 0.9652 MB / 0.656 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.362, allocations: 3.125 kB / 0.656 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/1.362, allocations: 97.91 kB / 0.6561 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/1.363, allocations: 174.6 kB / 0.6563 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/1.363, allocations: 13.31 kB / 0.6563 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003356/1.363, allocations: 0.6447 MB / 0.6569 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.363, allocations: 3.094 kB / 0.6569 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/1.364, allocations: 0.9761 MB / 0.6579 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/1.364, allocations: 129.2 kB / 0.658 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.365, allocations: 93.59 kB / 0.6581 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/1.365, allocations: 20.55 kB / 0.6581 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/1.365, allocations: 35.31 kB / 0.6581 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/1.365, allocations: 15.69 kB / 0.6582 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006175/1.366, allocations: 473.3 kB / 0.6586 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.366, allocations: 0 / 0.6586 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009051/1.375, allocations: 1.605 MB / 0.6602 GB, free: 140.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01334/1.388, allocations: 1.873 MB / 0.662 GB, free: 140 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00209/1.39, allocations: 0.5337 MB / 0.6625 GB, free: 140 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.39, allocations: 0 / 0.6625 GB, free: 140 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005463/1.391, allocations: 360.8 kB / 0.6629 GB, free: 140 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/1.392, allocations: 137.3 kB / 0.663 GB, free: 140 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7055/2.097, allocations: 347.9 MB / 1.003 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2839/2.381, allocations: 0.9829 MB / 1.004 GB, free: 167.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001129/2.383, allocations: 0.5027 MB / 1.004 GB, free: 167.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/2.383, allocations: 52.95 kB / 1.004 GB, free: 167.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.294e-06/2.383, allocations: 2.875 kB / 1.004 GB, free: 167.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.09811/2.481, allocations: 58.33 MB / 1.061 GB, free: 139.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches