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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008919/0.0008919, allocations: 86.58 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 166.5 kB / 24.82 MB, free: 8.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9706/0.9706, allocations: 177 MB / 205.1 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2642/0.2642, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 379.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.5e-05, allocations: 3.578 kB / 379.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01246/0.01248, allocations: 13.84 MB / 393.1 MB, free: 3.891 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.03168, allocations: 25.75 MB / 418.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.03184, allocations: 3.938 kB / 418.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.03212, allocations: 87.38 kB / 419 MB, free: 9.957 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01788/0.05001, allocations: 8.67 MB / 427.6 MB, free: 1.246 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.05071, allocations: 370.7 kB / 428 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002603/0.05331, allocations: 2.052 MB / 430 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.276e-05/0.05337, allocations: 12.59 kB / 430 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005013/0.05387, allocations: 326.8 kB / 430.4 MB, free: 14.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.05738, allocations: 3.274 MB / 433.6 MB, free: 11.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.05742, allocations: 12 kB / 433.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01551/0.07294, allocations: 10.37 MB / 444 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.07304, allocations: 55.75 kB / 444.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.07322, allocations: 99.77 kB / 444.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1881/0.2613, allocations: 7.985 MB / 452.2 MB, free: 61.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2613, allocations: 0 / 452.2 MB, free: 61.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2613, allocations: 0 / 452.2 MB, free: 61.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.2613, allocations: 0 / 452.2 MB, free: 61.21 MB / 410.7 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.004214/0.2655, allocations: 1.62 MB / 453.8 MB, free: 60.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2656, allocations: 8.719 kB / 453.8 MB, free: 60.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.2666, allocations: 342.9 kB / 454.1 MB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.2669, allocations: 226.7 kB / 454.3 MB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2669, allocations: 24.19 kB / 454.4 MB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.2669, allocations: 31.03 kB / 454.4 MB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.2682, allocations: 0.9132 MB / 455.3 MB, free: 59.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2682, allocations: 0.7188 kB / 455.3 MB, free: 59.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.2682, allocations: 20.72 kB / 455.3 MB, free: 59.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2682, allocations: 8.656 kB / 455.3 MB, free: 59.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.2693, allocations: 0.7607 MB / 456.1 MB, free: 59.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.2709, allocations: 2.434 MB / 458.5 MB, free: 58.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.2716, allocations: 394.6 kB / 458.9 MB, free: 58.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.2717, allocations: 64.64 kB / 459 MB, free: 58.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.268/0.5397, allocations: 141.9 MB / 0.5868 GB, free: 2.668 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.5407, allocations: 0.5233 MB / 0.5873 GB, free: 2.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.5407, allocations: 0 / 0.5873 GB, free: 2.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001787/0.5425, allocations: 0.8353 MB / 0.5881 GB, free: 1.277 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.5427, allocations: 375.4 kB / 0.5885 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.5429, allocations: 255.3 kB / 0.5887 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.5429, allocations: 33.7 kB / 0.5888 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.5431, allocations: 243.2 kB / 0.589 GB, free: 320 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.5431, allocations: 114.1 kB / 0.5891 GB, free: 212 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5433, allocations: 134.2 kB / 0.5892 GB, free: 80 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5434, allocations: 0.5066 MB / 0.5897 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.5436, allocations: 88.88 kB / 0.5898 GB, free: 15.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.5439, allocations: 471.7 kB / 0.5903 GB, free: 14.87 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.5443, allocations: 0.5949 MB / 0.5908 GB, free: 14.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.5443, allocations: 7.312 kB / 0.5909 GB, free: 14.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006087/0.545, allocations: 495.5 kB / 0.5913 GB, free: 13.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.545, allocations: 12 kB / 0.5913 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.545, allocations: 8.078 kB / 0.5913 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.5452, allocations: 15.94 kB / 0.5914 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.5454, allocations: 142.3 kB / 0.5915 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.5454, allocations: 19.36 kB / 0.5915 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.5456, allocations: 53.19 kB / 0.5916 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.5457, allocations: 39.98 kB / 0.5916 GB, free: 13.45 MB / 474.7 MB 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,state2.phase,state3.phase,state4.phase,state5.phase,state_h_is.phase,state.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.0001458/0.5458, allocations: 201.7 kB / 0.5918 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.5459, allocations: 43.86 kB / 0.5918 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.547, allocations: 1.432 MB / 0.5932 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.547, allocations: 23.91 kB / 0.5933 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.547, allocations: 4 kB / 0.5933 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.547, allocations: 4 kB / 0.5933 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.5476, allocations: 0.6264 MB / 0.5939 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5476, allocations: 7.281 kB / 0.5939 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.5478, allocations: 71.58 kB / 0.594 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.5478, allocations: 4 kB / 0.594 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.5478, allocations: 12.25 kB / 0.594 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5478, allocations: 8 kB / 0.594 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.5478, allocations: 7.562 kB / 0.594 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.5484, allocations: 0.5993 MB / 0.5946 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.5484, allocations: 51.52 kB / 0.5946 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.5485, allocations: 111 kB / 0.5947 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.5487, allocations: 16 kB / 0.5947 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.5487, allocations: 40.48 kB / 0.5948 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.5487, allocations: 8 kB / 0.5948 GB, free: 10.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006319/0.5493, allocations: 0.4997 MB / 0.5953 GB, free: 9.758 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5493, allocations: 0 / 0.5953 GB, free: 9.758 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004319/0.5537, allocations: 1.532 MB / 0.5968 GB, free: 8.223 MB / 474.7 MB 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.006125/0.5598, allocations: 2 MB / 0.5987 GB, free: 6.359 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.5603, allocations: 331.7 kB / 0.599 GB, free: 6.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5603, allocations: 0 / 0.599 GB, free: 6.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.5605, allocations: 161.5 kB / 0.5992 GB, free: 5.934 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.561, allocations: 235.2 kB / 0.5994 GB, free: 5.707 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.198/1.759, allocations: 0.6089 GB / 1.208 GB, free: 96.97 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/1.759, allocations: 175.8 kB / 1.208 GB, free: 96.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005394/1.759, allocations: 0.5197 MB / 1.209 GB, free: 96.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/1.759, allocations: 198.1 kB / 1.209 GB, free: 96.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.984e-06/1.759, allocations: 0 / 1.209 GB, free: 96.11 MB / 474.7 MB Notification: Performance of Templates: time 0.05571/1.815, allocations: 66.35 MB / 1.274 GB, free: 30.06 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.585717288777232]