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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009814/0.0009813, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009356/0.0009355, allocations: 107.1 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.332e-05/1.334e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.765/6.873, allocations: 2.757 GB / 3.262 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/6.874, allocations: 79.8 kB / 3.262 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.755/7.629, allocations: 214.1 MB / 3.471 GB, free: 91.97 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/7.629, allocations: 0 / 3.471 GB, free: 91.97 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.329e-05/7.629, allocations: 8 kB / 3.471 GB, free: 91.96 MB / 0.5261 GB 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.007216/7.636, allocations: 1.757 MB / 3.473 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/7.636, allocations: 8.031 kB / 3.473 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/7.638, allocations: 227.5 kB / 3.473 GB, free: 89.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/7.638, allocations: 286.4 kB / 3.473 GB, free: 89.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/7.638, allocations: 11.94 kB / 3.473 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/7.638, allocations: 20 kB / 3.473 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005716/7.639, allocations: 0.513 MB / 3.474 GB, free: 89.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/7.639, allocations: 377.5 kB / 3.474 GB, free: 88.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/7.639, allocations: 7.891 kB / 3.474 GB, free: 88.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/7.639, allocations: 8 kB / 3.474 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/7.639, allocations: 8 kB / 3.474 GB, free: 88.63 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.8206/8.46, allocations: 229.3 MB / 3.698 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.74e-05/8.46, allocations: 39.2 kB / 3.698 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/8.46, allocations: 20.05 kB / 3.698 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1029/8.563, allocations: 49.86 MB / 3.747 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/8.563, allocations: 116.6 kB / 3.747 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/8.563, allocations: 2.188 kB / 3.747 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.00181/8.565, allocations: 394.4 kB / 3.747 GB, free: 9.816 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/8.565, allocations: 132.5 kB / 3.747 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/8.565, allocations: 224.4 kB / 3.748 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/8.565, allocations: 29.7 kB / 3.748 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/8.566, allocations: 256.2 kB / 3.748 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/8.566, allocations: 42.61 kB / 3.748 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/8.566, allocations: 0 / 3.748 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001222/8.566, allocations: 332.2 kB / 3.748 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/8.566, allocations: 66.72 kB / 3.748 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/8.566, allocations: 319.6 kB / 3.749 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/8.567, allocations: 143.1 kB / 3.749 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/8.567, allocations: 4 kB / 3.749 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001232/8.568, allocations: 416.4 kB / 3.749 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/8.568, allocations: 12.97 kB / 3.749 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/8.568, allocations: 8 kB / 3.749 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/8.568, allocations: 19.95 kB / 3.749 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/8.569, allocations: 139.7 kB / 3.749 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.411e-05/8.569, allocations: 15.84 kB / 3.749 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/8.569, allocations: 59.64 kB / 3.749 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.23e-05/8.57, allocations: 40.73 kB / 3.75 GB, free: 7.75 MB / 0.5573 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,state_h_is.phase,state.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002095/8.57, allocations: 127.9 kB / 3.75 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/8.57, allocations: 31.7 kB / 3.75 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/8.57, allocations: 279.9 kB / 3.75 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/8.57, allocations: 5.312 kB / 3.75 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/8.57, allocations: 4.891 kB / 3.75 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/8.57, allocations: 0 / 3.75 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008509/8.571, allocations: 0.6021 MB / 3.751 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/8.571, allocations: 7.984 kB / 3.751 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.598e-05/8.571, allocations: 14.38 kB / 3.751 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/8.571, allocations: 7.953 kB / 3.751 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/8.571, allocations: 4 kB / 3.751 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/8.571, allocations: 4.734 kB / 3.751 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/8.571, allocations: 7.562 kB / 3.751 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/8.572, allocations: 330 kB / 3.751 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/8.572, allocations: 148.4 kB / 3.751 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/8.572, allocations: 9.406 kB / 3.751 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/8.572, allocations: 8 kB / 3.751 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/8.572, allocations: 18.39 kB / 3.751 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/8.572, allocations: 4 kB / 3.751 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000254/8.573, allocations: 266.2 kB / 3.751 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/8.573, allocations: 0 / 3.751 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007179/8.58, allocations: 1.497 MB / 3.753 GB, free: 4.789 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01298/8.593, allocations: 1.931 MB / 3.755 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000534/8.593, allocations: 185.6 kB / 3.755 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/8.593, allocations: 4.062 kB / 3.755 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/8.594, allocations: 27.62 kB / 3.755 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/8.594, allocations: 38.31 kB / 3.755 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/8.595, allocations: 341.9 kB / 3.755 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/8.595, allocations: 0.7833 MB / 3.756 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001397/8.596, allocations: 1.02 MB / 3.757 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/8.597, allocations: 46.72 kB / 3.757 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/8.597, allocations: 2.188 kB / 3.757 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of Templates: time 0.3377/8.934, allocations: 33.42 MB / 3.79 GB, free: 132.3 MB / 0.5573 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches