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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 221.5 MB / 230.7 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008112/0.0008111, allocations: 85.98 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 44.16 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.446e-05/1.466e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.869/8.024, allocations: 2.756 GB / 3.251 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/8.024, allocations: 80.72 kB / 3.251 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8897/8.914, allocations: 214.5 MB / 3.461 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/8.914, allocations: 0 / 3.461 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.641e-05/8.914, allocations: 3.906 kB / 3.461 GB, free: 87.18 MB / 0.5105 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.009255/8.923, allocations: 1.758 MB / 3.462 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/8.923, allocations: 14.45 kB / 3.462 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/8.925, allocations: 223.7 kB / 3.463 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/8.926, allocations: 291.6 kB / 3.463 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/8.926, allocations: 11.31 kB / 3.463 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/8.926, allocations: 17.84 kB / 3.463 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007462/8.927, allocations: 0.5143 MB / 3.463 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/8.927, allocations: 381.7 kB / 3.464 GB, free: 85.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/8.927, allocations: 9.312 kB / 3.464 GB, free: 85.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/8.927, allocations: 0 / 3.464 GB, free: 85.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/8.927, allocations: 7.219 kB / 3.464 GB, free: 85.87 MB / 0.5105 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.9677/9.895, allocations: 216.8 MB / 3.675 GB, free: 70.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/9.895, allocations: 33.08 kB / 3.675 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/9.895, allocations: 17.52 kB / 3.676 GB, free: 70.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1059/10, allocations: 45.88 MB / 3.72 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/10, allocations: 113.3 kB / 3.72 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 3.828e-06/10, allocations: 0 / 3.72 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.002052/10, allocations: 387.6 kB / 3.721 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/10, allocations: 134.2 kB / 3.721 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/10, allocations: 226.6 kB / 3.721 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/10, allocations: 29.7 kB / 3.721 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/10, allocations: 256 kB / 3.721 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/10, allocations: 39.28 kB / 3.721 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/10, allocations: 0 / 3.721 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001058/10, allocations: 338.1 kB / 3.722 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/10.01, allocations: 60.02 kB / 3.722 GB, free: 35.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/10.01, allocations: 320.2 kB / 3.722 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008285/10.01, allocations: 146 kB / 3.722 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/10.01, allocations: 4 kB / 3.722 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001303/10.01, allocations: 413.1 kB / 3.723 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/10.01, allocations: 12 kB / 3.723 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/10.01, allocations: 9.875 kB / 3.723 GB, free: 35.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/10.01, allocations: 16.03 kB / 3.723 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/10.01, allocations: 141.1 kB / 3.723 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/10.01, allocations: 22.19 kB / 3.723 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/10.01, allocations: 52.56 kB / 3.723 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/10.01, allocations: 47.89 kB / 3.723 GB, free: 34.85 MB / 0.5261 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.0001493/10.01, allocations: 129.6 kB / 3.723 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/10.01, allocations: 27.72 kB / 3.723 GB, free: 34.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/10.01, allocations: 278.7 kB / 3.723 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/10.01, allocations: 0 / 3.723 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/10.01, allocations: 7.953 kB / 3.723 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/10.01, allocations: 3.703 kB / 3.723 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/10.01, allocations: 0.6053 MB / 3.724 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/10.01, allocations: 4 kB / 3.724 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/10.01, allocations: 14.81 kB / 3.724 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/10.01, allocations: 7.953 kB / 3.724 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/10.01, allocations: 3.797 kB / 3.724 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/10.01, allocations: 5.5 kB / 3.724 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/10.01, allocations: 6.75 kB / 3.724 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/10.01, allocations: 329 kB / 3.724 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/10.01, allocations: 157.2 kB / 3.724 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.926e-05/10.01, allocations: 4 kB / 3.724 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/10.01, allocations: 11.8 kB / 3.724 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/10.01, allocations: 17.67 kB / 3.725 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/10.01, allocations: 4 kB / 3.725 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002485/10.01, allocations: 263.1 kB / 3.725 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/10.01, allocations: 0 / 3.725 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01028/10.02, allocations: 1.484 MB / 3.726 GB, free: 32.15 MB / 0.5261 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.01538/10.04, allocations: 1.894 MB / 3.728 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005881/10.04, allocations: 203.1 kB / 3.728 GB, free: 30.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/10.04, allocations: 0 / 3.728 GB, free: 30.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/10.04, allocations: 23.44 kB / 3.728 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/10.04, allocations: 42.14 kB / 3.728 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/10.04, allocations: 341.8 kB / 3.729 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/10.04, allocations: 0.7836 MB / 3.729 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001418/10.04, allocations: 1.033 MB / 3.73 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/10.04, allocations: 41.56 kB / 3.73 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/10.04, allocations: 4 kB / 3.73 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.05661/10.1, allocations: 33.34 MB / 3.763 GB, free: 5.758 MB / 0.5261 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches