Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 81.97 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 162.9 kB / 25.6 MB, free: 8.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.911/0.911, allocations: 177.1 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1614/0.1614, allocations: 34.27 MB / 296.9 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.678e-05, allocations: 2.312 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01201/0.01204, allocations: 13.81 MB / 393.2 MB, free: 9.496 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.02932, allocations: 25.76 MB / 418.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.02944, allocations: 0 / 418.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.02976, allocations: 95.34 kB / 419 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0484/0.07816, allocations: 8.674 MB / 427.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007456/0.0789, allocations: 366.7 kB / 428 MB, free: 6.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01534/0.09424, allocations: 2.048 MB / 430.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.0943, allocations: 12.59 kB / 430.1 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000493/0.09479, allocations: 330.8 kB / 430.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006119/0.1009, allocations: 3.278 MB / 433.7 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1009, allocations: 12 kB / 433.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01417/0.1151, allocations: 10.35 MB / 444.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.1152, allocations: 55.73 kB / 444.1 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1153, allocations: 99.78 kB / 444.2 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00983/0.1251, allocations: 7.998 MB / 452.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1251, allocations: 0 / 452.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1251, allocations: 0 / 452.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1251, allocations: 0 / 452.2 MB, free: 14.18 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.002983/0.1281, allocations: 1.625 MB / 453.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.1281, allocations: 8.031 kB / 453.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.1292, allocations: 335.8 kB / 454.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1294, allocations: 224.2 kB / 454.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1294, allocations: 25.03 kB / 454.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.1294, allocations: 32.38 kB / 454.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.1307, allocations: 0.9173 MB / 455.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1307, allocations: 3.938 kB / 455.4 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.1308, allocations: 16 kB / 455.4 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1308, allocations: 8 kB / 455.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.132, allocations: 0.7598 MB / 456.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.1336, allocations: 2.434 MB / 458.6 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007524/0.1344, allocations: 401.3 kB / 459 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.1345, allocations: 59.64 kB / 459 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3873/0.5217, allocations: 141.2 MB / 0.5862 GB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008283/0.5226, allocations: 0.5128 MB / 0.5867 GB, free: 5.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.5226, allocations: 3.656 kB / 0.5867 GB, free: 5.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001567/0.5241, allocations: 0.8352 MB / 0.5875 GB, free: 4.457 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5242, allocations: 378.2 kB / 0.5879 GB, free: 4.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.5243, allocations: 267.3 kB / 0.5881 GB, free: 3.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.5243, allocations: 32.95 kB / 0.5882 GB, free: 3.734 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.5244, allocations: 243.2 kB / 0.5884 GB, free: 3.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.5244, allocations: 112.7 kB / 0.5885 GB, free: 3.414 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.5245, allocations: 134.8 kB / 0.5886 GB, free: 3.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.5246, allocations: 0.5021 MB / 0.5891 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.5247, allocations: 84.7 kB / 0.5892 GB, free: 2.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.5248, allocations: 467.7 kB / 0.5897 GB, free: 2.141 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.5252, allocations: 0.6019 MB / 0.5902 GB, free: 1.465 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5252, allocations: 8 kB / 0.5902 GB, free: 1.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005017/0.5257, allocations: 493.8 kB / 0.5907 GB, free: 1.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5257, allocations: 8 kB / 0.5907 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5257, allocations: 8.875 kB / 0.5907 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5257, allocations: 16.06 kB / 0.5907 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.5259, allocations: 147.4 kB / 0.5909 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5259, allocations: 15.47 kB / 0.5909 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.5261, allocations: 61 kB / 0.591 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.5261, allocations: 43.69 kB / 0.591 GB, free: 0.8438 MB / 410.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.0001138/0.5263, allocations: 194 kB / 0.5912 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.5263, allocations: 39.58 kB / 0.5912 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.5274, allocations: 1.439 MB / 0.5926 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.5275, allocations: 23.81 kB / 0.5927 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5275, allocations: 6.375 kB / 0.5927 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.5275, allocations: 3.938 kB / 0.5927 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.5281, allocations: 0.6257 MB / 0.5933 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5281, allocations: 4 kB / 0.5933 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.5283, allocations: 71.78 kB / 0.5933 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.5283, allocations: 4 kB / 0.5934 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.5283, allocations: 12.36 kB / 0.5934 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5283, allocations: 7.562 kB / 0.5934 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5283, allocations: 6.625 kB / 0.5934 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.5288, allocations: 0.5981 MB / 0.594 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.5289, allocations: 52.22 kB / 0.594 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.529, allocations: 103.2 kB / 0.5941 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.5291, allocations: 17.36 kB / 0.5941 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.5291, allocations: 35.52 kB / 0.5942 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.5292, allocations: 14.92 kB / 0.5942 GB, free: 13.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003177/0.5295, allocations: 0.4932 MB / 0.5947 GB, free: 13.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5295, allocations: 0 / 0.5947 GB, free: 13.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002937/0.5324, allocations: 1.532 MB / 0.5962 GB, free: 12.09 MB / 426.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.004171/0.5366, allocations: 2.002 MB / 0.5981 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.537, allocations: 325.9 kB / 0.5984 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.537, allocations: 4.75 kB / 0.5984 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.5371, allocations: 158.9 kB / 0.5986 GB, free: 9.902 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.5376, allocations: 233.5 kB / 0.5988 GB, free: 9.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.016/1.554, allocations: 0.6089 GB / 1.208 GB, free: 142.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/1.554, allocations: 171.1 kB / 1.208 GB, free: 142.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005388/1.554, allocations: 0.5258 MB / 1.208 GB, free: 142.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/1.555, allocations: 192.5 kB / 1.209 GB, free: 142.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.804e-06/1.555, allocations: 3.625 kB / 1.209 GB, free: 142.4 MB / 474.7 MB Notification: Performance of Templates: time 0.05373/1.608, allocations: 66.49 MB / 1.273 GB, free: 83.49 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 8.247183523140848]