Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.001784/0.001784, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.002313/0.002313, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 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 1.403/1.403, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2213/0.2213, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_pT,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-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 75.88 kB / 0.4968 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3176, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0184/0.336, allocations: 14.05 MB / 0.575 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03349/0.3695, allocations: 26.76 MB / 0.6011 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.3698, allocations: 0 / 0.6011 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.3702, allocations: 99.38 kB / 0.6012 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02536/0.3956, allocations: 8.553 MB / 0.6095 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3966, allocations: 341.8 kB / 0.6099 GB, free: 3.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004658/0.4013, allocations: 1.998 MB / 0.6118 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.4013, allocations: 16.39 kB / 0.6118 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006348/0.402, allocations: 278.8 kB / 0.6121 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007081/0.4091, allocations: 3.275 MB / 0.6153 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.4091, allocations: 12 kB / 0.6153 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02557/0.4347, allocations: 11.64 MB / 0.6267 GB, free: 1.777 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.4349, allocations: 51.75 kB / 0.6267 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.4352, allocations: 135.4 kB / 0.6269 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.4543, allocations: 6.77 MB / 0.6335 GB, free: 10.81 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4543, allocations: 3.938 kB / 0.6335 GB, free: 10.8 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4543, allocations: 4 kB / 0.6335 GB, free: 10.8 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.4543, allocations: 0 / 0.6335 GB, free: 10.8 MB / 478.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.006136/0.4604, allocations: 1.666 MB / 0.6351 GB, free: 9.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4605, allocations: 12.03 kB / 0.6351 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.4622, allocations: 192.5 kB / 0.6353 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.4627, allocations: 267.9 kB / 0.6356 GB, free: 8.578 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.4628, allocations: 28.97 kB / 0.6356 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.4628, allocations: 32.12 kB / 0.6356 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.4653, allocations: 0.7525 MB / 0.6363 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4653, allocations: 3.938 kB / 0.6363 GB, free: 7.715 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.4654, allocations: 16 kB / 0.6364 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.4654, allocations: 12 kB / 0.6364 GB, free: 7.688 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.4677, allocations: 0.8215 MB / 0.6372 GB, free: 6.859 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.004181/0.4719, allocations: 2.699 MB / 0.6398 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.4732, allocations: 334.3 kB / 0.6401 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4734, allocations: 68.81 kB / 0.6402 GB, free: 3.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7422/1.216, allocations: 147.8 MB / 0.7846 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/1.217, allocations: 447.3 kB / 0.785 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/1.217, allocations: 0 / 0.785 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.00369/1.221, allocations: 1.139 MB / 0.7861 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/1.221, allocations: 384 kB / 0.7865 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/1.221, allocations: 182.6 kB / 0.7867 GB, free: 113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/1.221, allocations: 29.7 kB / 0.7867 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/1.221, allocations: 192.2 kB / 0.7869 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/1.221, allocations: 118.4 kB / 0.787 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/1.221, allocations: 126.2 kB / 0.7871 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.946e-05/1.221, allocations: 338.8 kB / 0.7874 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/1.221, allocations: 77.06 kB / 0.7875 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/1.222, allocations: 345.4 kB / 0.7878 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/1.222, allocations: 490.8 kB / 0.7883 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.222, allocations: 4 kB / 0.7883 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008294/1.223, allocations: 472.9 kB / 0.7887 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.223, allocations: 10.19 kB / 0.7888 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.223, allocations: 8 kB / 0.7888 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/1.223, allocations: 16 kB / 0.7888 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.224, allocations: 205.3 kB / 0.789 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004014/1.225, allocations: 1.2 MB / 0.7901 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/1.225, allocations: 22.25 kB / 0.7902 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/1.225, allocations: 39.98 kB / 0.7902 GB, free: 109.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001528/1.225, allocations: 172.6 kB / 0.7904 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/1.225, allocations: 23.86 kB / 0.7904 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/1.228, allocations: 2.823 MB / 0.7932 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/1.228, allocations: 19.97 kB / 0.7932 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/1.228, allocations: 4 kB / 0.7932 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.228, allocations: 4 kB / 0.7932 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/1.228, allocations: 0.9748 MB / 0.7941 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/1.228, allocations: 4 kB / 0.7941 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/1.229, allocations: 96.27 kB / 0.7942 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001647/1.229, allocations: 162.6 kB / 0.7944 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/1.229, allocations: 20.02 kB / 0.7944 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002732/1.229, allocations: 0.6382 MB / 0.795 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.229, allocations: 7.938 kB / 0.795 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009806/1.23, allocations: 0.9603 MB / 0.796 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/1.231, allocations: 140.3 kB / 0.7961 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/1.231, allocations: 101.5 kB / 0.7962 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/1.231, allocations: 15.97 kB / 0.7962 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/1.231, allocations: 31.91 kB / 0.7962 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/1.231, allocations: 20 kB / 0.7963 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004423/1.231, allocations: 471 kB / 0.7967 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.231, allocations: 0 / 0.7967 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004205/1.236, allocations: 1.635 MB / 0.7983 GB, free: 100.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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007258/1.243, allocations: 1.89 MB / 0.8002 GB, free: 99.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001545/1.244, allocations: 0.5298 MB / 0.8007 GB, free: 98.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.244, allocations: 0.75 kB / 0.8007 GB, free: 98.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/1.245, allocations: 293.5 kB / 0.801 GB, free: 98.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/1.246, allocations: 126.5 kB / 0.8011 GB, free: 98.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.736/1.982, allocations: 348.7 MB / 1.142 GB, free: 76.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/1.982, allocations: 0.9781 MB / 1.143 GB, free: 75.35 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006368/1.983, allocations: 0.5057 MB / 1.143 GB, free: 74.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.983, allocations: 59.41 kB / 1.143 GB, free: 74.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/1.983, allocations: 4 kB / 1.143 GB, free: 74.79 MB / 0.6387 GB Notification: Performance of Templates: time 0.06086/2.044, allocations: 58.97 MB / 1.201 GB, free: 15.85 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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: 11.775465314276516]