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.001012/0.001012, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001155/0.001155, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.8987/0.8987, allocations: 177 MB / 205.2 MB, free: 5.445 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.233/0.233, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.162e-06/1.162e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.129e-05, allocations: 2.312 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02462/0.02463, allocations: 13.95 MB / 339.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04211/0.06674, allocations: 26.11 MB / 366 MB, free: 14.92 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.06687, allocations: 0 / 366 MB, free: 14.92 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.06714, allocations: 99.28 kB / 366.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03198/0.09911, allocations: 8.726 MB / 374.8 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.09969, allocations: 370.7 kB / 375.2 MB, free: 5.699 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002319/0.102, allocations: 2.058 MB / 377.3 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.102, allocations: 18.55 kB / 377.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.1024, allocations: 330.8 kB / 377.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003491/0.1059, allocations: 3.27 MB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1059, allocations: 8 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.1187, allocations: 10.36 MB / 391.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.1187, allocations: 55.69 kB / 391.3 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.1188, allocations: 103.8 kB / 391.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.1301, allocations: 7.986 MB / 399.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1301, allocations: 0 / 399.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1301, allocations: 0 / 399.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1301, allocations: 0 / 399.4 MB, free: 13.41 MB / 378.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.002711/0.1328, allocations: 1.523 MB / 400.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1328, allocations: 11.97 kB / 400.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/0.1338, allocations: 384 kB / 401.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.134, allocations: 201.3 kB / 401.5 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.134, allocations: 25.03 kB / 401.5 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.1341, allocations: 32.38 kB / 401.5 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1352, allocations: 0.8899 MB / 402.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1352, allocations: 3.938 kB / 402.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.1352, allocations: 12 kB / 402.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1352, allocations: 8 kB / 402.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.1362, allocations: 0.7275 MB / 403.2 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1376, allocations: 1.797 MB / 405 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.1383, allocations: 382.7 kB / 405.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.1384, allocations: 44.78 kB / 405.4 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4532/0.5916, allocations: 190.6 MB / 0.5821 GB, free: 5.203 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/0.5925, allocations: 494.2 kB / 0.5825 GB, free: 4.742 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.935e-06/0.5925, allocations: 0 / 0.5825 GB, free: 4.742 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001557/0.594, allocations: 0.7905 MB / 0.5833 GB, free: 4.066 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.5941, allocations: 372.2 kB / 0.5837 GB, free: 3.621 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.5943, allocations: 199.8 kB / 0.5838 GB, free: 3.445 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.5943, allocations: 37.48 kB / 0.5839 GB, free: 3.406 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.5944, allocations: 192.6 kB / 0.5841 GB, free: 3.227 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/0.5945, allocations: 111.6 kB / 0.5842 GB, free: 3.137 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5946, allocations: 116.8 kB / 0.5843 GB, free: 3.062 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.5946, allocations: 337.9 kB / 0.5846 GB, free: 2.734 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.5947, allocations: 74.55 kB / 0.5847 GB, free: 2.668 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.5949, allocations: 349.3 kB / 0.585 GB, free: 2.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.5952, allocations: 492.7 kB / 0.5855 GB, free: 1.691 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5953, allocations: 4 kB / 0.5855 GB, free: 1.688 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003805/0.5956, allocations: 392.6 kB / 0.5859 GB, free: 1.387 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.5957, allocations: 11.09 kB / 0.5859 GB, free: 1.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.5957, allocations: 12.09 kB / 0.5859 GB, free: 1.367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5957, allocations: 16 kB / 0.5859 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.5959, allocations: 126.8 kB / 0.586 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.5959, allocations: 15.38 kB / 0.586 GB, free: 1.238 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.5961, allocations: 47.11 kB / 0.5861 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.5961, allocations: 35.59 kB / 0.5861 GB, free: 1.172 MB / 458.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.0001231/0.5962, allocations: 154 kB / 0.5863 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.5963, allocations: 31.22 kB / 0.5863 GB, free: 1.008 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.5973, allocations: 1.426 MB / 0.5877 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.5974, allocations: 24.61 kB / 0.5877 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5974, allocations: 5.75 kB / 0.5877 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5974, allocations: 4 kB / 0.5877 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.5979, allocations: 0.5568 MB / 0.5883 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5979, allocations: 7.938 kB / 0.5883 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.598, allocations: 71.67 kB / 0.5883 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.598, allocations: 4 kB / 0.5883 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.598, allocations: 8 kB / 0.5883 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.598, allocations: 4 kB / 0.5883 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.598, allocations: 7.844 kB / 0.5884 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.5985, allocations: 0.4977 MB / 0.5888 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.5985, allocations: 55.45 kB / 0.5889 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.5986, allocations: 107 kB / 0.589 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.5987, allocations: 14.08 kB / 0.589 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.5988, allocations: 35.17 kB / 0.589 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.5988, allocations: 15.98 kB / 0.5891 GB, free: 14.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.599, allocations: 337.7 kB / 0.5894 GB, free: 14.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.599, allocations: 0 / 0.5894 GB, free: 14.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003556/0.6026, allocations: 1.536 MB / 0.5909 GB, free: 12.5 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.005089/0.6077, allocations: 2.078 MB / 0.5929 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.6081, allocations: 300.9 kB / 0.5932 GB, free: 10.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-05/0.6081, allocations: 12.75 kB / 0.5932 GB, free: 10.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.6083, allocations: 151.7 kB / 0.5934 GB, free: 10.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.6088, allocations: 201.5 kB / 0.5935 GB, free: 9.977 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.07/1.679, allocations: 0.5999 GB / 1.193 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.019e-05/1.679, allocations: 175.8 kB / 1.194 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004741/1.68, allocations: 0.5221 MB / 1.194 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/1.68, allocations: 155.3 kB / 1.194 GB, free: 114.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.094e-06/1.68, allocations: 0 / 1.194 GB, free: 114.3 MB / 474.7 MB Notification: Performance of Templates: time 0.05073/1.731, allocations: 65.03 MB / 1.258 GB, free: 49.56 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.321384948212653]