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.001493/0.001493, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.4 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 76.94 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1074, allocations: 62.45 MB / 480.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01641/0.1239, allocations: 13.92 MB / 494.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2437/0.3676, allocations: 26.58 MB / 0.509 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.3678, allocations: 1.734 kB / 0.509 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.3682, allocations: 93.52 kB / 0.5091 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02255/0.3908, allocations: 8.548 MB / 0.5174 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3919, allocations: 349 kB / 0.5178 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004627/0.3965, allocations: 2.006 MB / 0.5197 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.3966, allocations: 17.72 kB / 0.5197 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/0.3971, allocations: 267.8 kB / 0.52 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00767/0.4048, allocations: 3.262 MB / 0.5232 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.4049, allocations: 11.03 kB / 0.5232 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02684/0.4317, allocations: 10.58 MB / 0.5335 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.4319, allocations: 53.31 kB / 0.5336 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.4322, allocations: 138.9 kB / 0.5337 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.4513, allocations: 6.336 MB / 0.5399 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4513, allocations: 0 / 0.5399 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4513, allocations: 0 / 0.5399 GB, free: 1.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.4514, allocations: 3.25 kB / 0.5399 GB, free: 1.707 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.005093/0.4565, allocations: 1.563 MB / 0.5414 GB, free: 0.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4565, allocations: 7.469 kB / 0.5414 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.4581, allocations: 222.6 kB / 0.5416 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.4584, allocations: 275.9 kB / 0.5419 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.4585, allocations: 29.03 kB / 0.5419 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.4585, allocations: 28.38 kB / 0.542 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.4608, allocations: 0.8249 MB / 0.5428 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4609, allocations: 3.938 kB / 0.5428 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.4609, allocations: 16 kB / 0.5428 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4609, allocations: 8 kB / 0.5428 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.4633, allocations: 0.9387 MB / 0.5437 GB, free: 14.25 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.003292/0.4666, allocations: 2.576 MB / 0.5462 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.468, allocations: 378.2 kB / 0.5466 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.4682, allocations: 76.83 kB / 0.5467 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8579/1.326, allocations: 238.7 MB / 0.7798 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/1.328, allocations: 474.2 kB / 0.7802 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/1.328, allocations: 0 / 0.7802 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003017/1.331, allocations: 0.7856 MB / 0.781 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/1.331, allocations: 375.8 kB / 0.7813 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/1.331, allocations: 185.3 kB / 0.7815 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/1.331, allocations: 30.05 kB / 0.7816 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/1.331, allocations: 185 kB / 0.7817 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/1.331, allocations: 114 kB / 0.7818 GB, free: 171 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/1.331, allocations: 122.1 kB / 0.782 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/1.331, allocations: 334.8 kB / 0.7823 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/1.331, allocations: 81.05 kB / 0.7824 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/1.332, allocations: 348.7 kB / 0.7827 GB, free: 170 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/1.332, allocations: 478.5 kB / 0.7831 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.332, allocations: 5.312 kB / 0.7831 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008846/1.333, allocations: 473.6 kB / 0.7836 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.333, allocations: 8.875 kB / 0.7836 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.333, allocations: 8 kB / 0.7836 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.333, allocations: 12 kB / 0.7836 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/1.334, allocations: 147.8 kB / 0.7838 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/1.334, allocations: 19.92 kB / 0.7838 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/1.334, allocations: 51.47 kB / 0.7838 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/1.334, allocations: 47.97 kB / 0.7839 GB, free: 168.6 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.0001507/1.334, allocations: 161.5 kB / 0.784 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/1.334, allocations: 27.72 kB / 0.7841 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/1.337, allocations: 2.613 MB / 0.7866 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/1.337, allocations: 23.98 kB / 0.7866 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.337, allocations: 7.625 kB / 0.7866 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.337, allocations: 3.984 kB / 0.7866 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/1.337, allocations: 0.9318 MB / 0.7876 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.337, allocations: 4 kB / 0.7876 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/1.338, allocations: 71.88 kB / 0.7876 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/1.338, allocations: 4 kB / 0.7876 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/1.338, allocations: 19.83 kB / 0.7876 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.338, allocations: 4 kB / 0.7877 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.338, allocations: 7.938 kB / 0.7877 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/1.339, allocations: 0.7004 MB / 0.7883 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/1.339, allocations: 124.5 kB / 0.7885 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/1.339, allocations: 102.6 kB / 0.7886 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/1.339, allocations: 19.98 kB / 0.7886 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/1.339, allocations: 27.91 kB / 0.7886 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/1.339, allocations: 19.98 kB / 0.7886 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004839/1.34, allocations: 0.504 MB / 0.7891 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/1.34, allocations: 0 / 0.7891 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005226/1.345, allocations: 1.514 MB / 0.7906 GB, free: 161.8 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.007644/1.353, allocations: 1.735 MB / 0.7923 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008931/1.354, allocations: 432.5 kB / 0.7927 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.354, allocations: 0 / 0.7927 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/1.354, allocations: 281.5 kB / 0.793 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/1.355, allocations: 129.1 kB / 0.7931 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.414/2.768, allocations: 0.6023 GB / 1.395 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/2.769, allocations: 0.9817 MB / 1.396 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/2.769, allocations: 63.41 kB / 1.396 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/2.769, allocations: 0 / 1.396 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.0442/2.813, allocations: 33.02 MB / 1.429 GB, free: 106.8 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 -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