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.001489/0.001489, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001761/0.001761, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.11 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 80.03 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1204, allocations: 62.44 MB / 480 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0194/0.1398, allocations: 13.93 MB / 493.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3178/0.4576, allocations: 26.58 MB / 0.5083 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.458, allocations: 4.781 kB / 0.5083 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.4585, allocations: 95.53 kB / 0.5084 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03129/0.4898, allocations: 8.544 MB / 0.5168 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.4912, allocations: 343.2 kB / 0.5171 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005439/0.4966, allocations: 2.004 MB / 0.5191 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.4967, allocations: 16 kB / 0.5191 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005642/0.4973, allocations: 272.3 kB / 0.5193 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007691/0.505, allocations: 3.261 MB / 0.5225 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.5051, allocations: 10.91 kB / 0.5225 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02634/0.5315, allocations: 10.58 MB / 0.5329 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.5317, allocations: 46.73 kB / 0.5329 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.532, allocations: 142.1 kB / 0.533 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02009/0.5521, allocations: 6.335 MB / 0.5392 GB, free: 1.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5521, allocations: 3.938 kB / 0.5392 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.646e-06/0.5521, allocations: 0 / 0.5392 GB, free: 1.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.5522, allocations: 2.5 kB / 0.5392 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.005882/0.5581, allocations: 1.561 MB / 0.5407 GB, free: 0.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.5581, allocations: 7.844 kB / 0.5408 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.5598, allocations: 224.3 kB / 0.541 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.5601, allocations: 279.9 kB / 0.5412 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.5601, allocations: 21.03 kB / 0.5413 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.5602, allocations: 32.38 kB / 0.5413 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.5625, allocations: 0.8301 MB / 0.5421 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5625, allocations: 4 kB / 0.5421 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.5626, allocations: 16 kB / 0.5421 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.5626, allocations: 8 kB / 0.5421 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.5651, allocations: 0.9425 MB / 0.543 GB, free: 14.24 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.003563/0.5687, allocations: 2.576 MB / 0.5456 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.5702, allocations: 378.2 kB / 0.5459 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.5704, allocations: 72.83 kB / 0.546 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.904/1.474, allocations: 238.7 MB / 0.7791 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/1.476, allocations: 472.3 kB / 0.7795 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.166e-06/1.476, allocations: 0 / 0.7795 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003135/1.479, allocations: 0.787 MB / 0.7803 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.479, allocations: 383.8 kB / 0.7807 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/1.48, allocations: 177.4 kB / 0.7809 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/1.48, allocations: 37.7 kB / 0.7809 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.48, allocations: 184.9 kB / 0.7811 GB, free: 171 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/1.48, allocations: 110.2 kB / 0.7812 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/1.48, allocations: 122.1 kB / 0.7813 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/1.48, allocations: 334.8 kB / 0.7816 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/1.48, allocations: 90.12 kB / 0.7817 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/1.481, allocations: 340.7 kB / 0.782 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/1.481, allocations: 485.2 kB / 0.7825 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/1.481, allocations: 4 kB / 0.7825 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008932/1.482, allocations: 469.4 kB / 0.7829 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.482, allocations: 11.94 kB / 0.7829 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.482, allocations: 12 kB / 0.783 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/1.482, allocations: 12 kB / 0.783 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/1.483, allocations: 139.8 kB / 0.7831 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/1.483, allocations: 18.52 kB / 0.7831 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/1.483, allocations: 55.28 kB / 0.7832 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/1.483, allocations: 43.97 kB / 0.7832 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.000157/1.483, allocations: 165.1 kB / 0.7834 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.483, allocations: 35.7 kB / 0.7834 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/1.486, allocations: 2.603 MB / 0.7859 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/1.486, allocations: 20.62 kB / 0.786 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.486, allocations: 4 kB / 0.786 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/1.486, allocations: 4 kB / 0.786 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/1.487, allocations: 0.9355 MB / 0.7869 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.487, allocations: 4 kB / 0.7869 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/1.487, allocations: 80.17 kB / 0.787 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/1.487, allocations: 8 kB / 0.787 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/1.487, allocations: 8 kB / 0.787 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.487, allocations: 4 kB / 0.787 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.487, allocations: 4 kB / 0.787 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/1.488, allocations: 0.7048 MB / 0.7877 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/1.488, allocations: 124.5 kB / 0.7878 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/1.488, allocations: 110.4 kB / 0.7879 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/1.489, allocations: 12 kB / 0.7879 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/1.489, allocations: 39.83 kB / 0.7879 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/1.489, allocations: 17.69 kB / 0.788 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005013/1.489, allocations: 0.504 MB / 0.7885 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.489, allocations: 0 / 0.7885 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004969/1.494, allocations: 1.518 MB / 0.7899 GB, free: 161.7 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.008503/1.503, allocations: 1.725 MB / 0.7916 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008195/1.503, allocations: 424.6 kB / 0.792 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.503, allocations: 4.062 kB / 0.792 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/1.504, allocations: 280.7 kB / 0.7923 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.0008285/1.505, allocations: 134.4 kB / 0.7924 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.532/3.037, allocations: 0.6023 GB / 1.395 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/3.037, allocations: 0.9817 MB / 1.396 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007286/3.038, allocations: 0.5253 MB / 1.396 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/3.038, allocations: 62.31 kB / 1.396 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/3.038, allocations: 0 / 1.396 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05842/3.097, allocations: 55.92 MB / 1.451 GB, free: 83.82 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/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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches