Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008575/0.0008577, allocations: 177.9 kB / 16.72 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007657/0.0007657, allocations: 89.36 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2929/0.2929, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1066, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.1948/0.3014, allocations: 12.81 MB / 0.4918 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02122/0.3226, allocations: 24.6 MB / 0.5159 GB, free: 24.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.323, allocations: 3.062 kB / 0.5159 GB, free: 24.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.3233, allocations: 73.33 kB / 0.5159 GB, free: 24.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02177/0.3451, allocations: 6.596 MB / 0.5224 GB, free: 21.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000877/0.346, allocations: 302 kB / 0.5227 GB, free: 20.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004453/0.3505, allocations: 3.204 MB / 0.5258 GB, free: 20.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.3505, allocations: 17.62 kB / 0.5258 GB, free: 20.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.351, allocations: 249.8 kB / 0.5261 GB, free: 20.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006784/0.3578, allocations: 5.658 MB / 0.5316 GB, free: 19.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.3578, allocations: 9.875 kB / 0.5316 GB, free: 19.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02285/0.3807, allocations: 11.15 MB / 0.5425 GB, free: 17.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.3809, allocations: 49.52 kB / 0.5425 GB, free: 17.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.3812, allocations: 154 kB / 0.5427 GB, free: 17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.3919, allocations: 4.53 MB / 0.5471 GB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3919, allocations: 1.469 kB / 0.5471 GB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3919, allocations: 0 / 0.5471 GB, free: 15.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3919, allocations: 0 / 0.5471 GB, free: 15.04 MB / 378.7 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.006197/0.3982, allocations: 1.538 MB / 0.5486 GB, free: 13.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3982, allocations: 8.938 kB / 0.5486 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.3996, allocations: 190.3 kB / 0.5488 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.3999, allocations: 272.4 kB / 0.549 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3999, allocations: 21.69 kB / 0.5491 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.4, allocations: 35.97 kB / 0.5491 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.4018, allocations: 0.7576 MB / 0.5498 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4018, allocations: 2.906 kB / 0.5498 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.4018, allocations: 14.78 kB / 0.5499 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.4018, allocations: 8.625 kB / 0.5499 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.4037, allocations: 0.8115 MB / 0.5507 GB, free: 12.68 MB / 378.7 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.002845/0.4065, allocations: 2.716 MB / 0.5533 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.4076, allocations: 351.3 kB / 0.5536 GB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.4077, allocations: 74.94 kB / 0.5537 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.498/0.9057, allocations: 142.4 MB / 0.6928 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.907, allocations: 442.2 kB / 0.6932 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.725e-06/0.907, allocations: 0 / 0.6932 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003255/0.9103, allocations: 1.131 MB / 0.6944 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.9104, allocations: 373.3 kB / 0.6947 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.9105, allocations: 186.9 kB / 0.6949 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.9106, allocations: 35.48 kB / 0.6949 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.9106, allocations: 181.3 kB / 0.6951 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.9107, allocations: 116.2 kB / 0.6952 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.9107, allocations: 9.344 kB / 0.6952 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.9108, allocations: 330.9 kB / 0.6955 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.9109, allocations: 77 kB / 0.6956 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.9112, allocations: 351 kB / 0.6959 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.9116, allocations: 482.5 kB / 0.6964 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.9116, allocations: 7.219 kB / 0.6964 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006478/0.9123, allocations: 462.5 kB / 0.6968 GB, free: 157 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.9123, allocations: 7.562 kB / 0.6969 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.9123, allocations: 9.594 kB / 0.6969 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.9123, allocations: 16.84 kB / 0.6969 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.9138, allocations: 208.6 kB / 0.6971 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003578/0.9141, allocations: 1.188 MB / 0.6982 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.9144, allocations: 26.69 kB / 0.6983 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.9145, allocations: 43.22 kB / 0.6983 GB, free: 155.8 MB / 0.4948 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.9147, allocations: 166.1 kB / 0.6985 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.9147, allocations: 26.66 kB / 0.6985 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.9172, allocations: 2.884 MB / 0.7013 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.9173, allocations: 20.3 kB / 0.7013 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9173, allocations: 3.281 kB / 0.7013 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.9173, allocations: 6.516 kB / 0.7013 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007434/0.918, allocations: 0.9724 MB / 0.7023 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9181, allocations: 0 / 0.7023 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.9186, allocations: 98.16 kB / 0.7024 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.9188, allocations: 167.2 kB / 0.7025 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.9188, allocations: 13.97 kB / 0.7025 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002514/0.9191, allocations: 0.6478 MB / 0.7032 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9191, allocations: 7.406 kB / 0.7032 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.9199, allocations: 0.9652 MB / 0.7041 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.9202, allocations: 350.1 kB / 0.7045 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/0.9203, allocations: 7.375 kB / 0.7045 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.9206, allocations: 21.38 kB / 0.7045 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.9207, allocations: 42.28 kB / 0.7045 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.9207, allocations: 17.7 kB / 0.7045 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004222/0.9211, allocations: 462.9 kB / 0.705 GB, free: 153 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9211, allocations: 0 / 0.705 GB, free: 153 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005847/0.927, allocations: 1.62 MB / 0.7066 GB, free: 152.9 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008371/0.9354, allocations: 1.861 MB / 0.7084 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.9369, allocations: 0.5401 MB / 0.7089 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9369, allocations: 3 kB / 0.7089 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.9373, allocations: 359.4 kB / 0.7093 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.9384, allocations: 125.1 kB / 0.7094 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7399/1.678, allocations: 347.7 MB / 1.049 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/1.679, allocations: 0.9854 MB / 1.05 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/1.679, allocations: 60.08 kB / 1.05 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/1.679, allocations: 0 / 1.05 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.05159/1.731, allocations: 37.59 MB / 1.087 GB, free: 149 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches