Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001282/0.001282, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.365/1.365, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2054/0.2054, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 68.61 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1077, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01715/0.1248, allocations: 13.8 MB / 483.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03068/0.1556, allocations: 26.6 MB / 0.4984 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.1559, allocations: 4 kB / 0.4984 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.1563, allocations: 91.39 kB / 0.4985 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2329/0.3892, allocations: 8.525 MB / 0.5068 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008694/0.3901, allocations: 353.1 kB / 0.5071 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004461/0.3945, allocations: 1.997 MB / 0.5091 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.917e-05/0.3946, allocations: 22.34 kB / 0.5091 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.3952, allocations: 263.9 kB / 0.5093 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007289/0.4025, allocations: 3.265 MB / 0.5125 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.4026, allocations: 10.25 kB / 0.5125 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01977/0.4224, allocations: 10.57 MB / 0.5229 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4225, allocations: 51.66 kB / 0.5229 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.4228, allocations: 141 kB / 0.5231 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.438, allocations: 6.322 MB / 0.5292 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.438, allocations: 7.469 kB / 0.5292 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4381, allocations: 0 / 0.5292 GB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.4381, allocations: 3.562 kB / 0.5292 GB, free: 10.29 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.004357/0.4424, allocations: 1.557 MB / 0.5308 GB, free: 9.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.4425, allocations: 11.03 kB / 0.5308 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.4441, allocations: 213 kB / 0.531 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.4444, allocations: 278.7 kB / 0.5312 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.4445, allocations: 26 kB / 0.5313 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.4445, allocations: 27.38 kB / 0.5313 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.4467, allocations: 0.8224 MB / 0.5321 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4467, allocations: 4 kB / 0.5321 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.4467, allocations: 18.19 kB / 0.5321 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4467, allocations: 10.05 kB / 0.5321 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.449, allocations: 0.9305 MB / 0.533 GB, free: 7.875 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.002728/0.4518, allocations: 2.586 MB / 0.5356 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.4531, allocations: 380.3 kB / 0.5359 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.4533, allocations: 76.55 kB / 0.536 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8564/1.31, allocations: 225 MB / 0.7557 GB, free: 177.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/1.311, allocations: 478.7 kB / 0.7561 GB, free: 176.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.885e-06/1.311, allocations: 7.375 kB / 0.7561 GB, free: 176.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002993/1.314, allocations: 0.7728 MB / 0.7569 GB, free: 175.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/1.314, allocations: 384 kB / 0.7573 GB, free: 175.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/1.314, allocations: 180.4 kB / 0.7574 GB, free: 175.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/1.315, allocations: 29.7 kB / 0.7575 GB, free: 175.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/1.315, allocations: 178.2 kB / 0.7576 GB, free: 175.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/1.315, allocations: 117.5 kB / 0.7577 GB, free: 174.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/1.315, allocations: 126.1 kB / 0.7579 GB, free: 174.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/1.315, allocations: 330.8 kB / 0.7582 GB, free: 174.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/1.315, allocations: 85.05 kB / 0.7583 GB, free: 174.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/1.315, allocations: 346.9 kB / 0.7586 GB, free: 173.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/1.316, allocations: 488.3 kB / 0.7591 GB, free: 173.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.316, allocations: 4 kB / 0.7591 GB, free: 173.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008514/1.317, allocations: 472 kB / 0.7595 GB, free: 172.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.317, allocations: 8 kB / 0.7595 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.317, allocations: 11.98 kB / 0.7595 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.317, allocations: 12 kB / 0.7595 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/1.317, allocations: 139.8 kB / 0.7597 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.317, allocations: 19.92 kB / 0.7597 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/1.318, allocations: 51.22 kB / 0.7597 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/1.318, allocations: 55.91 kB / 0.7598 GB, free: 172.6 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000163/1.318, allocations: 157.6 kB / 0.7599 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/1.318, allocations: 30.16 kB / 0.76 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/1.32, allocations: 2.603 MB / 0.7625 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/1.32, allocations: 19.98 kB / 0.7625 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.32, allocations: 7.984 kB / 0.7625 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.32, allocations: 0 / 0.7625 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008136/1.321, allocations: 0.9389 MB / 0.7635 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.321, allocations: 4.375 kB / 0.7635 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/1.321, allocations: 74.61 kB / 0.7635 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.321, allocations: 4 kB / 0.7635 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/1.321, allocations: 19.98 kB / 0.7636 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.321, allocations: 7.375 kB / 0.7636 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.322, allocations: 7.938 kB / 0.7636 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/1.322, allocations: 0.6955 MB / 0.7642 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/1.322, allocations: 128.5 kB / 0.7644 GB, free: 167.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.323, allocations: 106.5 kB / 0.7645 GB, free: 167.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/1.323, allocations: 15.98 kB / 0.7645 GB, free: 167.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/1.323, allocations: 43.69 kB / 0.7645 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/1.323, allocations: 16 kB / 0.7645 GB, free: 167.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004962/1.324, allocations: 0.504 MB / 0.765 GB, free: 167.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.324, allocations: 0 / 0.765 GB, free: 167.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004215/1.328, allocations: 1.503 MB / 0.7665 GB, free: 165.7 MB / 0.545 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 (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.006815/1.335, allocations: 1.724 MB / 0.7682 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001048/1.336, allocations: 428.9 kB / 0.7686 GB, free: 163.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.336, allocations: 0 / 0.7686 GB, free: 163.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/1.336, allocations: 276.7 kB / 0.7689 GB, free: 163.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009196/1.337, allocations: 135.3 kB / 0.769 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.37/2.707, allocations: 0.6005 GB / 1.369 GB, free: 131.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/2.707, allocations: 0.9855 MB / 1.37 GB, free: 130.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/2.708, allocations: 59.41 kB / 1.37 GB, free: 130.2 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/2.708, allocations: 0 / 1.37 GB, free: 130.2 MB / 0.545 GB Notification: Performance of Templates: time 0.0417/2.749, allocations: 32.83 MB / 1.403 GB, free: 97.38 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches