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.0009114/0.0009116, allocations: 94.94 kB / 17.35 MB, free: 6.344 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.001162/0.001162, allocations: 168 kB / 18.25 MB, free: 5.508 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.462/1.462, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2568/0.2568, allocations: 44.25 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004636, allocations: 8 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.153, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01616/0.1692, allocations: 14.11 MB / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03203/0.2013, allocations: 27.84 MB / 0.5022 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.2016, allocations: 0 / 0.5022 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.202, allocations: 87.56 kB / 0.5022 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2701/0.4721, allocations: 6.824 MB / 0.5089 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4734, allocations: 323.2 kB / 0.5092 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005062/0.4784, allocations: 2.032 MB / 0.5112 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4786, allocations: 19.27 kB / 0.5112 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/0.4794, allocations: 257.6 kB / 0.5115 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007845/0.4872, allocations: 3.266 MB / 0.5146 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.4875, allocations: 7.812 kB / 0.5147 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02597/0.5134, allocations: 10.73 MB / 0.5251 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.5136, allocations: 51.25 kB / 0.5252 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.5139, allocations: 165.7 kB / 0.5253 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01875/0.5327, allocations: 6.313 MB / 0.5315 GB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5327, allocations: 0 / 0.5315 GB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5327, allocations: 6.594 kB / 0.5315 GB, free: 8.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.5328, allocations: 0 / 0.5315 GB, free: 8.848 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.00514/0.5379, allocations: 1.483 MB / 0.533 GB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.538, allocations: 15.48 kB / 0.533 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.5397, allocations: 220.6 kB / 0.5332 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.54, allocations: 278.9 kB / 0.5335 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.5401, allocations: 26.12 kB / 0.5335 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.5402, allocations: 30.38 kB / 0.5335 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.5424, allocations: 0.8363 MB / 0.5343 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5424, allocations: 0 / 0.5343 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.5425, allocations: 10.66 kB / 0.5343 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5425, allocations: 7.875 kB / 0.5343 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.5449, allocations: 0.9543 MB / 0.5353 GB, free: 6.98 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.003029/0.5479, allocations: 2.581 MB / 0.5378 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.5492, allocations: 385.6 kB / 0.5382 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.5494, allocations: 75.36 kB / 0.5382 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9578/1.507, allocations: 227.1 MB / 0.76 GB, free: 151.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/1.509, allocations: 484.9 kB / 0.7605 GB, free: 150.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.524e-06/1.509, allocations: 4 kB / 0.7605 GB, free: 150.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002811/1.511, allocations: 0.7764 MB / 0.7613 GB, free: 150 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/1.512, allocations: 378.8 kB / 0.7616 GB, free: 149.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/1.512, allocations: 176.2 kB / 0.7618 GB, free: 149.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/1.512, allocations: 36.45 kB / 0.7618 GB, free: 149.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/1.512, allocations: 186.5 kB / 0.762 GB, free: 149.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/1.512, allocations: 112.9 kB / 0.7621 GB, free: 149.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/1.512, allocations: 44.38 kB / 0.7622 GB, free: 149.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/1.512, allocations: 330.1 kB / 0.7625 GB, free: 148.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/1.512, allocations: 85.12 kB / 0.7626 GB, free: 148.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/1.513, allocations: 351.8 kB / 0.7629 GB, free: 148.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/1.513, allocations: 481.1 kB / 0.7634 GB, free: 147.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.513, allocations: 0 / 0.7634 GB, free: 147.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007549/1.514, allocations: 469.3 kB / 0.7638 GB, free: 147.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.514, allocations: 12 kB / 0.7638 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.514, allocations: 10.19 kB / 0.7638 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.514, allocations: 12 kB / 0.7638 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/1.514, allocations: 139.6 kB / 0.764 GB, free: 147.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.514, allocations: 19.64 kB / 0.764 GB, free: 147.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/1.515, allocations: 52.25 kB / 0.764 GB, free: 147.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/1.515, allocations: 54.05 kB / 0.7641 GB, free: 147.2 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.0001469/1.515, allocations: 159.9 kB / 0.7642 GB, free: 147.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/1.515, allocations: 30.91 kB / 0.7643 GB, free: 147 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/1.517, allocations: 2.597 MB / 0.7668 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/1.517, allocations: 19.48 kB / 0.7668 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.517, allocations: 7.469 kB / 0.7668 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/1.517, allocations: 9.625 kB / 0.7668 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008108/1.518, allocations: 0.9355 MB / 0.7678 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.518, allocations: 4.375 kB / 0.7678 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/1.518, allocations: 75.39 kB / 0.7678 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.518, allocations: 4 kB / 0.7678 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/1.518, allocations: 12.69 kB / 0.7678 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.518, allocations: 7.984 kB / 0.7679 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.518, allocations: 11.12 kB / 0.7679 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/1.519, allocations: 0.6974 MB / 0.7685 GB, free: 143.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/1.52, allocations: 379.7 kB / 0.7689 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/1.52, allocations: 7.875 kB / 0.7689 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/1.52, allocations: 28.59 kB / 0.7689 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/1.52, allocations: 37.61 kB / 0.769 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/1.52, allocations: 15.56 kB / 0.769 GB, free: 143.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005263/1.521, allocations: 0.5009 MB / 0.7695 GB, free: 143.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/1.521, allocations: 0 / 0.7695 GB, free: 143.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005317/1.526, allocations: 1.504 MB / 0.7709 GB, free: 141.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.00742/1.533, allocations: 1.725 MB / 0.7726 GB, free: 140.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008564/1.534, allocations: 414.8 kB / 0.773 GB, free: 140.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.534, allocations: 4 kB / 0.773 GB, free: 140.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003335/1.535, allocations: 269.3 kB / 0.7733 GB, free: 139.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.536, allocations: 140.3 kB / 0.7734 GB, free: 139.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.594/3.13, allocations: 0.6 GB / 1.373 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/3.131, allocations: 0.9895 MB / 1.374 GB, free: 133.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009453/3.132, allocations: 0.5191 MB / 1.375 GB, free: 133.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/3.132, allocations: 55.41 kB / 1.375 GB, free: 133.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/3.132, allocations: 0 / 1.375 GB, free: 133.1 MB / 0.545 GB Notification: Performance of Templates: time 0.06112/3.193, allocations: 55.49 MB / 1.429 GB, free: 77.72 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/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