Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009591/0.0009591, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008615/0.0008615, allocations: 91.86 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.345/0.345, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.201e-05, allocations: 4 kB / 425.3 MB, free: 8.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 58.85 MB / 484.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.09/6.204, allocations: 2.752 GB / 3.225 GB, free: 73.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/6.204, allocations: 78.45 kB / 3.225 GB, free: 73.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7029/6.907, allocations: 215.7 MB / 3.435 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/6.907, allocations: 3.938 kB / 3.435 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.407e-05/6.907, allocations: 4 kB / 3.435 GB, free: 61.01 MB / 0.4948 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.007296/6.915, allocations: 1.753 MB / 3.437 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/6.915, allocations: 11.97 kB / 3.437 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/6.916, allocations: 223.5 kB / 3.437 GB, free: 58.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/6.916, allocations: 272.2 kB / 3.437 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/6.916, allocations: 32.78 kB / 3.437 GB, free: 58.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/6.916, allocations: 28 kB / 3.437 GB, free: 58.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/6.918, allocations: 0.8543 MB / 3.438 GB, free: 57.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/6.918, allocations: 7.938 kB / 3.438 GB, free: 57.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/6.918, allocations: 15.95 kB / 3.438 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/6.918, allocations: 9.125 kB / 3.438 GB, free: 57.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/6.92, allocations: 0.9505 MB / 3.439 GB, free: 56.74 MB / 0.4948 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.002657/6.923, allocations: 2.775 MB / 3.442 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/6.924, allocations: 427.4 kB / 3.442 GB, free: 53.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.855e-05/6.924, allocations: 64.86 kB / 3.442 GB, free: 53.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6938/7.618, allocations: 224.8 MB / 3.662 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/7.619, allocations: 0.5048 MB / 3.662 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 3.006e-06/7.619, allocations: 0 / 3.662 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.002385/7.621, allocations: 0.7902 MB / 3.663 GB, free: 232 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/7.622, allocations: 374.5 kB / 3.664 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/7.622, allocations: 167.8 kB / 3.664 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/7.622, allocations: 33.77 kB / 3.664 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/7.622, allocations: 186.3 kB / 3.664 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/7.622, allocations: 110.8 kB / 3.664 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/7.622, allocations: 7.188 kB / 3.664 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001157/7.622, allocations: 329 kB / 3.664 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/7.622, allocations: 75.27 kB / 3.664 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/7.622, allocations: 337.1 kB / 3.665 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/7.623, allocations: 124.7 kB / 3.665 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/7.623, allocations: 4 kB / 3.665 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006811/7.623, allocations: 448.8 kB / 3.665 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/7.623, allocations: 11.89 kB / 3.665 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/7.623, allocations: 8 kB / 3.665 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/7.623, allocations: 16 kB / 3.665 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/7.624, allocations: 134.8 kB / 3.666 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/7.624, allocations: 18.42 kB / 3.666 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/7.624, allocations: 58.73 kB / 3.666 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/7.624, allocations: 42.28 kB / 3.666 GB, free: 14.08 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,medium.phase,state_h_is.phase,state.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.0001099/7.624, allocations: 143.8 kB / 3.666 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/7.624, allocations: 31.17 kB / 3.666 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/7.626, allocations: 1.767 MB / 3.668 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/7.626, allocations: 20.95 kB / 3.668 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/7.626, allocations: 4 kB / 3.668 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/7.626, allocations: 4 kB / 3.668 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008539/7.627, allocations: 0.8918 MB / 3.668 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/7.627, allocations: 4 kB / 3.668 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/7.627, allocations: 79.34 kB / 3.668 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/7.627, allocations: 15.95 kB / 3.669 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/7.627, allocations: 20.06 kB / 3.669 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/7.627, allocations: 5.125 kB / 3.669 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/7.627, allocations: 8.438 kB / 3.669 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/7.628, allocations: 0.8172 MB / 3.669 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/7.628, allocations: 332.8 kB / 3.67 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/7.628, allocations: 22.14 kB / 3.67 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/7.629, allocations: 16.19 kB / 3.67 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/7.629, allocations: 43.75 kB / 3.67 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/7.629, allocations: 26.08 kB / 3.67 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004442/7.629, allocations: 417.9 kB / 3.67 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/7.629, allocations: 0 / 3.67 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006942/7.636, allocations: 1.519 MB / 3.672 GB, free: 9.898 MB / 0.5261 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 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete 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 (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.009179/7.645, allocations: 1.898 MB / 3.673 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006429/7.646, allocations: 386 kB / 3.674 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/7.646, allocations: 4 kB / 3.674 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/7.646, allocations: 277.2 kB / 3.674 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/7.647, allocations: 125.8 kB / 3.674 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.85/9.497, allocations: 0.7554 GB / 4.43 GB, free: 40.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/9.498, allocations: 0.9685 MB / 4.431 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00127/9.499, allocations: 1.07 MB / 4.432 GB, free: 39.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/9.499, allocations: 63.39 kB / 4.432 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/9.499, allocations: 0 / 4.432 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.3118/9.811, allocations: 37.85 MB / 4.469 GB, free: 101.9 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches