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/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.001745/0.001745, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.00191/0.00191, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2191/0.2191, allocations: 44.93 MB / 359.6 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 180] 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 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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 67.91 kB / 0.4943 GB, free: 9.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3721, allocations: 65.47 MB / 0.5582 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01831/0.3904, allocations: 12.72 MB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03096/0.4214, allocations: 23.36 MB / 0.5935 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.4216, allocations: 4 kB / 0.5935 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.422, allocations: 91.41 kB / 0.5936 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02292/0.4449, allocations: 8.5 MB / 0.6019 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.4459, allocations: 342.5 kB / 0.6022 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00413/0.45, allocations: 2.01 MB / 0.6042 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.4501, allocations: 20.47 kB / 0.6042 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.4506, allocations: 270.9 kB / 0.6044 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006379/0.457, allocations: 3.27 MB / 0.6076 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.457, allocations: 8 kB / 0.6076 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02078/0.4778, allocations: 10.32 MB / 0.6177 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.4779, allocations: 55.75 kB / 0.6178 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.4782, allocations: 123.5 kB / 0.6179 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01507/0.4932, allocations: 6.329 MB / 0.6241 GB, free: 3.777 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4932, allocations: 0 / 0.6241 GB, free: 3.777 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4932, allocations: 0 / 0.6241 GB, free: 3.777 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.4933, allocations: 0 / 0.6241 GB, free: 3.777 MB / 462.1 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.004672/0.4979, allocations: 1.521 MB / 0.6256 GB, free: 2.219 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.498, allocations: 12.03 kB / 0.6256 GB, free: 2.207 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.4997, allocations: 228.5 kB / 0.6258 GB, free: 1.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.5002, allocations: 218.1 kB / 0.626 GB, free: 1.746 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.5002, allocations: 21.03 kB / 0.626 GB, free: 1.727 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.5003, allocations: 36.12 kB / 0.626 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.5027, allocations: 0.8753 MB / 0.6269 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5027, allocations: 3.984 kB / 0.6269 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.5028, allocations: 12 kB / 0.6269 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.5028, allocations: 12 kB / 0.6269 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.5054, allocations: 0.9312 MB / 0.6278 GB, free: 15.8 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003182/0.5085, allocations: 1.952 MB / 0.6297 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.51, allocations: 374.2 kB / 0.6301 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.5102, allocations: 72.81 kB / 0.6302 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8478/1.358, allocations: 161 MB / 0.7874 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/1.359, allocations: 472.2 kB / 0.7879 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/1.359, allocations: 4 kB / 0.7879 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002731/1.362, allocations: 0.7808 MB / 0.7886 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/1.362, allocations: 375.8 kB / 0.789 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/1.362, allocations: 192.9 kB / 0.7892 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/1.362, allocations: 33.7 kB / 0.7892 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/1.362, allocations: 189.8 kB / 0.7894 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/1.362, allocations: 116.8 kB / 0.7895 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/1.363, allocations: 122 kB / 0.7896 GB, free: 125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/1.363, allocations: 330.8 kB / 0.7899 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/1.363, allocations: 88.77 kB / 0.79 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/1.363, allocations: 344.1 kB / 0.7904 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/1.364, allocations: 490.2 kB / 0.7908 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.364, allocations: 4 kB / 0.7908 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007662/1.364, allocations: 461.7 kB / 0.7913 GB, free: 123 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.364, allocations: 12.03 kB / 0.7913 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.364, allocations: 12 kB / 0.7913 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.364, allocations: 15.94 kB / 0.7913 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/1.365, allocations: 139.8 kB / 0.7914 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/1.365, allocations: 23.05 kB / 0.7915 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/1.365, allocations: 55.2 kB / 0.7915 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/1.365, allocations: 43.97 kB / 0.7916 GB, free: 122.8 MB / 0.5606 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.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.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.0001324/1.365, allocations: 162.4 kB / 0.7917 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/1.365, allocations: 23.86 kB / 0.7917 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/1.367, allocations: 2.841 MB / 0.7945 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/1.367, allocations: 15.98 kB / 0.7945 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.367, allocations: 7.125 kB / 0.7945 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.367, allocations: 7.984 kB / 0.7945 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006885/1.368, allocations: 0.8426 MB / 0.7954 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.368, allocations: 4 kB / 0.7954 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/1.368, allocations: 79.8 kB / 0.7954 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.368, allocations: 7.938 kB / 0.7955 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/1.368, allocations: 12 kB / 0.7955 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.368, allocations: 8 kB / 0.7955 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.368, allocations: 4.031 kB / 0.7955 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/1.369, allocations: 0.7242 MB / 0.7962 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/1.369, allocations: 55.52 kB / 0.7962 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.369, allocations: 103 kB / 0.7963 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/1.37, allocations: 12 kB / 0.7963 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/1.37, allocations: 43.81 kB / 0.7964 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/1.37, allocations: 16 kB / 0.7964 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004649/1.37, allocations: 0.504 MB / 0.7969 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.37, allocations: 4 kB / 0.7969 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003705/1.374, allocations: 1.528 MB / 0.7984 GB, free: 115.8 MB / 0.5606 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 ($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.006063/1.38, allocations: 1.742 MB / 0.8001 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008395/1.381, allocations: 412.6 kB / 0.8005 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.381, allocations: 11.5 kB / 0.8005 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/1.381, allocations: 228.7 kB / 0.8007 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/1.382, allocations: 136.2 kB / 0.8008 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.312/2.693, allocations: 0.6027 GB / 1.403 GB, free: 41.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/2.694, allocations: 400.3 kB / 1.404 GB, free: 41.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/2.694, allocations: 59.41 kB / 1.404 GB, free: 40.99 MB / 0.6231 GB Notification: Performance of SimCode: time 1.433e-06/2.694, allocations: 0 / 1.404 GB, free: 40.99 MB / 0.6231 GB Notification: Performance of Templates: time 0.05448/2.748, allocations: 33.37 MB / 1.437 GB, free: 7.645 MB / 0.6231 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.574199818074703]