Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001008, allocations: 117 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1959/0.1959, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.89 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1037, allocations: 62.44 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01503/0.1188, allocations: 13.92 MB / 495.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2407/0.3595, allocations: 26.59 MB / 0.5097 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.3597, allocations: 1.406 kB / 0.5097 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.3601, allocations: 96.59 kB / 0.5098 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02124/0.3814, allocations: 8.546 MB / 0.5182 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009658/0.3824, allocations: 352.5 kB / 0.5185 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004202/0.3866, allocations: 1.997 MB / 0.5205 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/0.3867, allocations: 25.06 kB / 0.5205 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.3871, allocations: 270.6 kB / 0.5207 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006581/0.3937, allocations: 3.267 MB / 0.5239 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.3938, allocations: 10.81 kB / 0.5239 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02053/0.4143, allocations: 10.83 MB / 0.5345 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.4144, allocations: 50.19 kB / 0.5346 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.4147, allocations: 137.4 kB / 0.5347 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01414/0.4288, allocations: 6.32 MB / 0.5409 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4289, allocations: 0 / 0.5409 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4289, allocations: 0 / 0.5409 GB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4289, allocations: 4 kB / 0.5409 GB, free: 1.832 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.00443/0.4333, allocations: 1.558 MB / 0.5424 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4334, allocations: 12.03 kB / 0.5424 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.4351, allocations: 224.4 kB / 0.5426 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.4355, allocations: 271.9 kB / 0.5429 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.4355, allocations: 25.03 kB / 0.5429 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.4356, allocations: 32.38 kB / 0.5429 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.438, allocations: 0.8249 MB / 0.5437 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.438, allocations: 0 / 0.5437 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.4381, allocations: 15.98 kB / 0.5438 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4381, allocations: 12 kB / 0.5438 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.4406, allocations: 0.9347 MB / 0.5447 GB, free: 14.1 MB / 398.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.003168/0.4438, allocations: 2.573 MB / 0.5472 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.4452, allocations: 384.5 kB / 0.5476 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.4454, allocations: 72.83 kB / 0.5476 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7295/1.175, allocations: 241.2 MB / 0.7832 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/1.176, allocations: 474.6 kB / 0.7836 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/1.176, allocations: 0 / 0.7836 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002837/1.179, allocations: 0.7807 MB / 0.7844 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/1.179, allocations: 373.6 kB / 0.7848 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/1.179, allocations: 180.1 kB / 0.7849 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/1.179, allocations: 38.19 kB / 0.785 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/1.179, allocations: 185.6 kB / 0.7851 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/1.18, allocations: 119 kB / 0.7853 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/1.18, allocations: 124.2 kB / 0.7854 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/1.18, allocations: 336.7 kB / 0.7857 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/1.18, allocations: 81.38 kB / 0.7858 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.18, allocations: 351.2 kB / 0.7861 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/1.181, allocations: 482.5 kB / 0.7866 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.181, allocations: 4 kB / 0.7866 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007926/1.182, allocations: 460.9 kB / 0.787 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.182, allocations: 12 kB / 0.787 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.182, allocations: 8 kB / 0.787 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.182, allocations: 12 kB / 0.787 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/1.182, allocations: 146.2 kB / 0.7872 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.182, allocations: 18.8 kB / 0.7872 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/1.182, allocations: 58 kB / 0.7873 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/1.182, allocations: 43.11 kB / 0.7873 GB, free: 144.3 MB / 0.5606 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.0001227/1.183, allocations: 164.5 kB / 0.7875 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/1.183, allocations: 23.69 kB / 0.7875 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/1.185, allocations: 2.586 MB / 0.79 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.185, allocations: 19.38 kB / 0.79 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/1.185, allocations: 8 kB / 0.79 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.185, allocations: 11.92 kB / 0.79 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/1.185, allocations: 0.9303 MB / 0.7909 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.185, allocations: 4 kB / 0.791 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/1.186, allocations: 82.14 kB / 0.791 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/1.186, allocations: 4 kB / 0.791 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/1.186, allocations: 7.875 kB / 0.791 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.186, allocations: 11.98 kB / 0.7911 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.186, allocations: 0 / 0.7911 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007728/1.186, allocations: 0.7059 MB / 0.7917 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/1.186, allocations: 137.4 kB / 0.7919 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.187, allocations: 97.66 kB / 0.792 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/1.187, allocations: 15.67 kB / 0.792 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/1.187, allocations: 35.25 kB / 0.792 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/1.187, allocations: 19.48 kB / 0.792 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004543/1.187, allocations: 0.5006 MB / 0.7925 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/1.187, allocations: 0 / 0.7925 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003411/1.191, allocations: 1.513 MB / 0.794 GB, free: 138.9 MB / 0.5606 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.005169/1.196, allocations: 1.724 MB / 0.7957 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006725/1.197, allocations: 422.4 kB / 0.7961 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.197, allocations: 1.75 kB / 0.7961 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/1.197, allocations: 279 kB / 0.7964 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/1.198, allocations: 139.9 kB / 0.7965 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.167/2.365, allocations: 0.6022 GB / 1.399 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/2.365, allocations: 0.9862 MB / 1.4 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005782/2.366, allocations: 0.5229 MB / 1.4 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/2.366, allocations: 55.41 kB / 1.4 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/2.366, allocations: 3.391 kB / 1.4 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.05189/2.418, allocations: 55.71 MB / 1.455 GB, free: 87.42 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches