Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,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_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002525/0.002531, allocations: 188.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001197/0.001197, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3121/0.3121, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004667, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02146/0.1397, allocations: 11.78 MB / 0.4902 GB, free: 13.53 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04226/0.182, allocations: 22.42 MB / 0.5121 GB, free: 7.055 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.1823, allocations: 0 / 0.5121 GB, free: 7.055 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.1828, allocations: 87.56 kB / 0.5122 GB, free: 6.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02989/0.2127, allocations: 6.697 MB / 0.5188 GB, free: 260 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3308/0.5435, allocations: 310.8 kB / 0.519 GB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009189/0.5527, allocations: 3.036 MB / 0.522 GB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.5528, allocations: 20 kB / 0.522 GB, free: 13.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008981/0.5538, allocations: 280.6 kB / 0.5223 GB, free: 13.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01669/0.5705, allocations: 5.575 MB / 0.5277 GB, free: 13.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.96e-05/0.5706, allocations: 7.188 kB / 0.5277 GB, free: 13.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02928/0.5999, allocations: 10.69 MB / 0.5382 GB, free: 13.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.6001, allocations: 51.72 kB / 0.5382 GB, free: 13.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.6004, allocations: 77.2 kB / 0.5383 GB, free: 13.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.6126, allocations: 4.203 MB / 0.5424 GB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6127, allocations: 0 / 0.5424 GB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.6127, allocations: 0 / 0.5424 GB, free: 12.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.946e-06/0.6127, allocations: 2.516 kB / 0.5424 GB, free: 12.52 MB / 362.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.006265/0.619, allocations: 1.488 MB / 0.5439 GB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.6191, allocations: 8.031 kB / 0.5439 GB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.6215, allocations: 225.3 kB / 0.5441 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.6219, allocations: 285 kB / 0.5444 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.622, allocations: 23.33 kB / 0.5444 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.622, allocations: 28.12 kB / 0.5444 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.6254, allocations: 0.8289 MB / 0.5452 GB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.6255, allocations: 3 kB / 0.5452 GB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.6255, allocations: 13.75 kB / 0.5452 GB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.6255, allocations: 8 kB / 0.5453 GB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/0.6292, allocations: 0.9417 MB / 0.5462 GB, free: 9.098 MB / 362.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.004316/0.6335, allocations: 2.589 MB / 0.5487 GB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.6356, allocations: 387.5 kB / 0.5491 GB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391/2.026, allocations: 227.1 MB / 0.7708 GB, free: 173.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002087/2.029, allocations: 471.3 kB / 0.7713 GB, free: 173 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 4.689e-06/2.029, allocations: 0 / 0.7713 GB, free: 173 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.004562/2.033, allocations: 0.7762 MB / 0.7721 GB, free: 172.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/2.033, allocations: 375.8 kB / 0.7724 GB, free: 171.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/2.034, allocations: 188 kB / 0.7726 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/2.034, allocations: 33.7 kB / 0.7726 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/2.034, allocations: 260.6 kB / 0.7729 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/2.034, allocations: 105.1 kB / 0.773 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/2.034, allocations: 8 kB / 0.773 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/2.034, allocations: 331.3 kB / 0.7733 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/2.034, allocations: 85.05 kB / 0.7734 GB, free: 170.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/2.035, allocations: 348.6 kB / 0.7737 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/2.035, allocations: 120.5 kB / 0.7738 GB, free: 170.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/2.035, allocations: 8 kB / 0.7738 GB, free: 170.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001347/2.037, allocations: 472.1 kB / 0.7743 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/2.037, allocations: 11.98 kB / 0.7743 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/2.037, allocations: 8 kB / 0.7743 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/2.037, allocations: 20.03 kB / 0.7743 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008001/2.038, allocations: 136.8 kB / 0.7745 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/2.038, allocations: 27.62 kB / 0.7745 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/2.038, allocations: 41.45 kB / 0.7745 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/2.038, allocations: 47.97 kB / 0.7746 GB, free: 169.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002375/2.039, allocations: 162.1 kB / 0.7747 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.486e-05/2.039, allocations: 23.81 kB / 0.7747 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/2.043, allocations: 2.664 MB / 0.7773 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/2.043, allocations: 19.97 kB / 0.7774 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/2.043, allocations: 4 kB / 0.7774 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/2.043, allocations: 7.953 kB / 0.7774 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/2.044, allocations: 0.9235 MB / 0.7783 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/2.044, allocations: 4 kB / 0.7783 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/2.045, allocations: 74.17 kB / 0.7784 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/2.045, allocations: 4 kB / 0.7784 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/2.045, allocations: 15.83 kB / 0.7784 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/2.045, allocations: 7.375 kB / 0.7784 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/2.045, allocations: 11.94 kB / 0.7784 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/2.046, allocations: 0.8367 MB / 0.7792 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/2.047, allocations: 386.7 kB / 0.7796 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/2.047, allocations: 8 kB / 0.7796 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/2.047, allocations: 19.98 kB / 0.7796 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/2.048, allocations: 27.92 kB / 0.7796 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/2.048, allocations: 22.47 kB / 0.7796 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008316/2.048, allocations: 0.5 MB / 0.7801 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/2.048, allocations: 0 / 0.7801 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005743/2.054, allocations: 1.516 MB / 0.7816 GB, free: 162.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01167/2.066, allocations: 1.729 MB / 0.7833 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0012/2.067, allocations: 403.7 kB / 0.7837 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/2.067, allocations: 4 kB / 0.7837 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000555/2.068, allocations: 276.7 kB / 0.784 GB, free: 160 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/2.069, allocations: 121 kB / 0.7841 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/2.074, allocations: 2.629 MB / 0.7866 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/2.074, allocations: 1.001 MB / 0.7876 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/2.075, allocations: 71.39 kB / 0.7877 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.282e-06/2.075, allocations: 3.828 kB / 0.7877 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.07574/2.15, allocations: 37.26 MB / 0.8241 GB, free: 119.1 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches